Amanda-Users

Re: different backup for sub directory

2003-05-30 08:24:28
Subject: Re: different backup for sub directory
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Leonid Mamchenkov <leonid AT francoudi DOT com>
Date: Fri, 30 May 2003 08:21:35 -0400 (EDT)
On Fri, 30 May 2003 at 12:15pm, Leonid Mamchenkov wrote

> Dear All,
> 
> I have been thinking about it for a while and don't seem to find an
> elegant solution.
> 
> I have two dump definitions (for example:  full and inceremental).  I
> would like to backup directory /usr using "full" and directory
> /usr/local/ using "incremental".  What is the best way to do it?
> 
> Until now, the best thing which came into my mind was doing something
> like:
> 
> /usr/bin/    full
> /usr/etc/    full
> /usr/lib/    full
> /usr/local/  incremental
> /usr/sbin/   full
> 
> I don't like it much since, it might cause me to miss something
> important (say /usr/opt/ has been added by another admin).  Of course I
> could write a perl script to make proper listings, but there might be a
> better way.  Is there?

Just add:

exclude "./local"

to your dumptype for /usr.  See the example disklist and/or amanda.conf 
for examples.

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


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