Thanks, but I'm already doing that (the exclude) This is what I have in disklist
MACHINE /dir/subdir/name/2019 { tar exclude "./subdir/*" } MACHINE /dir/subdir/name/2019/subdir tar Because this are very big directories, I want to dump only one every time, anyone know how I can do this? Thanks Nuno On Fri, 2019-06-07 at 16:37 -0400, Jon LaBadie wrote: > On Fri, Jun 07, 2019 at 11:04:48AM +0100, Nuno Dias wrote: > > Hi, > > > > 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 > > > > > > From the amanda-match man page > > > > /usr$ > > Will match the disks /usr but not /usr/local. > > > > So, this is a bug or I'm doing something wrong? > > > Not wrong, just a misconception. > The directory you give is a "starting" directory. amdump will > backup everything under that directory unless it could cross > a mount point (file system) or if something is excluded. > > So, assuming you have a DLE for ".../2019" and that your "another" > directory is the only problem, add a directive to the DLE to > exclude another. If you don't have a DLE for 2019, PERHAPS > the -o option to amdump can be used to add an exclude directive. > I don't know if it can or cannot. > > Jon > > I'm using amanda-3.5.1-16.fc29.x86_64 > > > > thanks, > > Nuno > > -- > > Nuno Dias <nd...@lip.pt> > > LIP > > > > End of included message <<< -- Nuno Dias <nd...@lip.pt> LIP
smime.p7s
Description: S/MIME cryptographic signature