On Tuesday 16 April 2002 11:46, Brendan Halpin wrote:
> Nick Murtagh <murtaghn at tcd.ie> writes:
> > On Tuesday 16 April 2002 11:11, Brendan Halpin wrote:
> > > It's not that bad:
> > >
> > > Step 1: Full initial backup
> > rm -f /backup/home-full.snar
>> > > 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 ...
>> rm -f /backup/home-daily.snar
>> That is, make the initial snar file, do differentials using (and
> modifying) a copy of it, throw away the modified copy.
If you don't kill /backup/home-full.snar, your next "full" back up
will be an incremental one against the previous full backup.
There's no need to rm -f /backup/home-daily.snar, surely the cp
takes care of that!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!