Re: different backup for sub directory
2003-05-30 08:24:28
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
|
|
|