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?) What version of Amanda is this? Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - natha...@ontko.com - 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