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

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  -  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

Reply via email to