Amanda-Users

Re: Exclude list and disklist

2005-04-21 14:38:53
Subject: Re: Exclude list and disklist
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Kuas <ku4s AT users.sourceforge DOT net>
Date: Thu, 21 Apr 2005 14:29:22 -0400 (EDT)
On Thu, 21 Apr 2005 at 12:39pm, Kuas wrote

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

Exclude paths are relative.  So, if your DLE is "/var/spool/mail", you'd 
have to exclude "./A" and "./B".

> 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

If you change the disklist, amanda treats those as new entries.  The old 
entries won't be backed up anymore, but will still be recoverable until 
the tapes are overwritten.

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

Amanda leaves no processes running between dumps.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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