On Thu, Dec 20, 2007 at 10:06:57AM -0700, Glenn English wrote:
> (Debian binary Amanda install, tar, Linux)
>
> One of the things I back up is the DMZ logging server's /var/log
> directory. The backup fails fairly pretty regularly because that's a
> very busy place, even in the middle of the night. This must be a very
> common problem. How can I get around it?
An excludes file. For /var I have one called excludes.var on the
target machine:
# cat /etc/amanda/DailySet1/excludes.var
./ftp/pub/*.updates*
./cache/yum/*
./cache/apt/*
./named/chroot/proc/*
./spool/squid/*
./www/html/jdk.docs/*
Then in the tape server's amanda.conf, set up a dump type like so:
define dumptype comp-root-tar-var {
comp-root-tar
comment "Root partitions with compression, special for /var"
exclude list "/etc/amanda/DailySet1/excludes.var"
}
Then in your disk list, use it:
dragon.localdomain /var comp-root-tar-var
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
signature.asc
Description: Digital signature
|