[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] The trouble with trib^H^H^H^HIncremental backups
- Subject: Re: [cobalt-developers] The trouble with trib^H^H^H^HIncremental backups
- From: Michael Stauber <devel@xxxxxxxxxxxxxx>
- Date: Mon Jan 27 06:34:01 2003
- Organization: SOLARSPEED.NET
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi Jeff,
> If you use rsync, it's even worse; you probably don't have unifected
> files.
Hardisks are cheap, so a couple of lines of shell script on the backup server
can make sure that you have several complete copies of the backup.
Here is what I do:
For backup of sites, users, MySQL an DNS I still use RaQbackup.sh, which ftp's
the data to the backup server on a daily basis.
Additionally I Rsync data on a daily basis from all my developement servers to
the backup server. On the backup server I daily run a script from a cronjob
which copies the entire backup directory to another partition on another
hardisk:
#!/bin/bash
rm -Rf /data/devel.bak2
mv /data/devel.bak /data/devel.bak2
mkdir /data/devel.bak
cp -R /backup/devel/ /data/devel.bak/
So in essence I then have three days worth of complete backups:
/backup/devel/ (complete backup from today)
/data/devel.bak/ (complete from yesterday)
/data/devel.bak2/ (complete from day before yesterday)
--
With best regards,
Michael Stauber