Amanda-Users

RE: Pre/Post-dump scripts?

2004-01-06 17:41:44
Subject: RE: Pre/Post-dump scripts?
From: "David Olbersen" <DOlbersen AT stbernard DOT com>
To: "Ken D'Ambrosio" <kend AT xanoptix DOT com>
Date: Tue, 6 Jan 2004 14:39:45 -0800
Ken D'Ambrosio wrote:

> David Olbersen wrote:
> 
> > 
> > Why not have your database program dump to a backup directory before amanda
> > comes in? If you've got the disk space this makes the most sense. 
> > 
> > One thing to do though: if you're going to keep history, don't name your
> > backups dbdump.1,  dbdump.2, dbdump.3, etc. When you rotate them out the
> > timestamp on ALL of them change, so amanda has to tape all of them again.
> > Using a slightly smarter system do produce dbdump.20040101,
> > dbdump.20040102, dbdump.20040103, etc. makes things better.    
> >
> 
> I do mysql-mon, mysql-tues, ..., mysql-sun, and leave timestamping for
> uniqueness to the backup.  That way, I don't have to go and find my old
> dumps to delete them; they just get overwritten weekly.

Which is of course fine if you have a nice schedule like "weekly" :)

In our case we have 3 days worth of backups on the individual database servers, 
1 week of backups on a central backup server, and also what's on tape.

-- 
David Olbersen
iGuard Engineer
St. Bernard Software
15015 Avenue of Sciences
San Diego, CA 92127
x2152


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