Joshua Baker-LePain wrote:
>
> On 15 Feb 2002 at 6:52am, [EMAIL PROTECTED] wrote
>
> > I am a new amanda user and have been very pleased with the first few
> > days of using amanda. I wonder however if it is normal procedure to
> > keep a copy of the config, index, log files etc on another machine in
> > addition to the tape server in case the tape server disk crashes. In my
> > installation, they seem to be somewhat scattered in /etc,
> > /usr/local/etc/amanda, /var/lib/amanda, possibly other directories...
> >
> > Is there a procedure for doing this?
> >
> I can't speak for everybody, but I certainly keep copies of that stuff.
> What I do is have cron run a script rather than just amdump. After the
> amdumps have run (I run two configs a night), I run these commands:
>
> tar czf ~/confs.tar.gz /etc/amanda* /usr/local/etc/amanda \
> /usr/local/adm/amanda /usr/local/var/amanda 2> /dev/null
> cp confs.tar.gz /data/amanda
>
> The first creates a tarball of all the amanda config and state
> information, and puts this in the amanda user's home directory, which is
> backed up. The second copies it to our NFS-served RAID (which is also
> backed up).
>
> You could also use password-less scp to move the tarball about.
>
My dumps typically finish well before 6AM, so I have the amanda stuff
hold off dumping till then:
dds /usr/local/etc/amanda {
hwcomp
program "GNUTAR"
record no
index no
dumpcycle 0
starttime 0600
}
My archived tapes automatically have the index info available.
--
toby