From: Brendan Halpin (brendan.halpin at domain ul.ie)
Date: Tue 16 Apr 2002 - 11:11:53 IST
Nick Murtagh <murtaghn at domain tcd.ie> writes:
> On Monday 15 April 2002 21:24, Conor Daly wrote:
> > You mean like
> >
> > cp /backup/home.snar.full /backup/home.snar
> > tar --create \
> > --gzip \
> > --file=/backup/incr/home_`date "+%Y%m%d%H%M%S"`.tar.gz \
> > --label="`hostname` /home `date +%Y-%m-%d`" \
> > --listed-incremental=/backup/home.snar \
> > --exclude="/home/brendan/ftp_temp/*" \
> > /home/;
> >
> > or does that defeat the "only use tar" idea?
>
> It's not the right kind of backup. Brendan was looking for
> differential backups: make a full backup, and then do regular backups
> of all the changes since the last full backup. Which means that
> restoring involves dealing with a maximum of two backups.
It's not that bad:
Step 1: Full initial backup
tar ... --listed-incremental=/backup/home-full.snar ...
Step 2: daily differential
cp /backup/home-full.snar /backup/home-daily.snar
tar ... --listed-incremental=/backup/home-daily.snar ...
Brendan
-- Brendan Halpin, Dept of Government and Society, Limerick University, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-385276; Room F2-025 x 3147 <mailto:brendan.halpin at domain ul.ie> <http://wivenhoe.staff8.ul.ie/~brendan>
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:16:08 GMT