On Wednesday 12 December 2018 12:11:57 Stefan G. Weichinger wrote: > Am 12.12.18 um 17:32 schrieb Gene Heskett: > > On Wednesday 12 December 2018 10:08:43 Stefan G. Weichinger wrote: > >> I only recently reconfigure some older servers to use the > >> application amgtar instead of "GNUTAR" > >> > >> Now my old exclude lists aren't read anymore and the manpages > >> aren't as informative as I would need them ;-) > >> > >> How to configure an exclude-list for amgtar, per DLE? > >> > >> I tried: > >> > >> > >> define dumptype global { > >> > >> program "APPLICATION" > >> application "app_amgtar" > >> # yes, I also defined that application above > >> > >> [..] > >> > >> } > >> > >> #disklist > >> > >> main root / { > >> property "EXCLUDE-LIST-GLOB" "/etc/amanda/root-excludes" > >> > >> [..] > >> > >> } > >> > >> Maybe that glob has to be on the client? manpage only says: > >> > >> "EXCLUDE-LIST-GLOB > >> A filename containing exclude glob expression for the restore > >> command." > >> > >> whoa, "for restore" ... what about dump time? > > > > It has been specified in the dumptype, I think since before I > > started useing it it the late '90's. I tend to keep my named exclude > > lists in my /GenesAmandaHelper-0.61 directory. Clutters it some, but > > it seems handier to have a fixed location, but it is on a per client > > basis, so the excludes are unique to the client, achieved in the > > dumptype, which is unique to that client, sometimes 4 or more per > > client as os stuff is on the install cd if the disk should choke and > > die. > > example? > > still the "exclude list" parameter? IMO the manpage doesn't tell the > exact syntax here.
Perhaps the thing glossed over is that in the file the list points to, insufficient emphasis is placed on the format of a line, it needs an anchor point of ./ so that it only applies to that file, or dir and below it if the name is a directory. As for an example: define dumptype shop-tar-comp { global compress client best exclude list "/GenesAmandaHelper-0.61/excludes" } And that excludes list files content: ./*.iso ./.gvfs ./Ksocket-gene ./orbit-gene ./init ./lock ./run ./rpc_pipefs The filename itself is I think immaterial as long as its matched. "excludes" above could both be one of the Kardashians. ;-) Copyright 2018 by Maurice E. Heskett -- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>