On Tuesday 11 June 2019 10:28:50 am C. Scheeder wrote: > Errm > sorry to interup this all, > but isn't the option > "exclude list <filename>" > or > "exclude file <filename>" > man amand.conf dosn't know the option "exclude" without being folowed > by the word "file" or "list". > > Christoph > This is true, but again this is in reference to a dumptype. That file/list however uses the ./ convention, anchoring to the point where the ./name is found. Now if a user creates a directory with spaces in the name, you have two problems because if she/he creates a birthday list, iirc he will get (if he/she has permission enough to do that) a subdir named birthday and another named list.
I'd have a tendency to want to put such a windows user in a sandbox he can't get out of, but inside they can make all the mess they want. Fortunately I'm not faced with that situation here as I am the only real user. There are other users registered of course but only so I can sandbox a local compile. > Am 11.06.19 um 15:54 schrieb Nuno Dias: > > On Tue, 2019-06-11 at 07:04 -0400, Nathan Stratton Treadway wrote: > >> On Fri, Jun 07, 2019 at 11:04:48 +0100, Nuno Dias wrote: > >>> I'm trying to use amanda to backup only one dir from a list of > >>> dirs > >>> that are in disklist file > >>> > >>> I run amdump like this > >>> > >>> $ /usr/sbin/amdump XXXX -o reserve=0 --no-taper MACHINE > >>> ^/dir/subdir/name/2019$ > >>> > >>> and with ps I can see the amdump running > >>> > >>> /usr/bin/perl /usr/sbin/amdump XXXX -o reserve=0 --no-taper > >>> MACHINE ^/dir/subdir/name/2019$ > >>> > >>> The problem is instead of only one dir I have two dirs in the > >>> backup > >>> > >>> MACHINE:/dir/subdir/name/2019 20190606153859 0 486g > >>> dumping > >>> (18g done (3.74%)) (15:39:26) > >>> > >>> MACHINE:/dir/subdir/name/2019/another 20190606153859 > >>> 1 244g > >>> wait for dumping > >> > >> Am I correct you have many DLEs in your disklist file, and if you > >> don't > >> put the "MACHINE ^/dir/subdir/name/2019$" on the amdump line they > >> all get dumped? (That is, the "match" is mostly is working to > >> restrict the > >> DLEs dumped, only the trailing "$" is not working?) > > > > Yes, to all the questions. > > > >> What version of Amanda is this? > > > > amanda-3.5.1-16.fc29.x86_64 > > > >> Nathan > >> > >> ------------------------------------------------------------------- > >> --------- > >> Nathan Stratton Treadway - [email protected] - Mid-Atlantic > >> region > >> Ray Ontko & Co. - Software consulting services - > >> http://www.ontko.com/ > >> GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: > >> 1023D/ECFB6239 > >> Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB > >> 6239 Copyright 2019 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>
