Amanda-Users

Exclude list and disklist

2005-04-21 12:49:13
Subject: Exclude list and disklist
From: Kuas <ku4s AT users.sourceforge DOT net>
To: amanda-users AT amanda DOT org
Date: Thu, 21 Apr 2005 12:39:57 -0400
I setup the back-up so that all excluded list are in
/var/lib/amanda/exclude.txt on each machine, so that I can use a general
dump-type. But I haven't been able to get it work. For example, I backed
up all the /var/spool/mail for every user (the emails are in 1 file),
except: A and B. I put in the exclude.txt on that machine:
/var/spool/mail/A and /var/spool/mail/B. This doesn't work, I wonder if
they're absolute path. In the dumptype, I put:

define dumptype dlgrp-remote-user {
    user-tar
    comp-high
    comment ""
    compress client best
    index yes
    dumpcycle 5
    exclude list "/var/lib/amanda/exclude.txt"
}

The second question is about disklist. If I have to change the directory
layout of a system. And change the disklist, I can see that in the next
backup, the new list is used. But, all the old list are still in the
index (I can see it in amrecover). I think it's good if it keep the old
structure (disklist) until all the tapes that contain that data are
reused. Is this the case, if not, how do I delete the entries?  The same
as exclude list, if some users update me that some directories in their
home are not supposed to be backup, but it was backup before. Does the
next amdump run redo the dump not to include that directory or only only
when it detects more changes in that directory? Would it exclude the
list, or I should restart some of the amanda processes?

Thanks in advance.
Kuas

<Prev in Thread] Current Thread [Next in Thread>