[wellylug] backup Tar howto
Ewen McNeill
wellylug at ewen.mcneill.gen.nz
Mon Sep 15 10:03:14 NZST 2003
In message <20030914215215.02ABB9E258 at smtp-2.paradise.net.nz>, Edouard Chalaron
writes:
>I need to tar a complete box. ....well almost all in fact.
>Is there a way I can do
>
>Tar -tvf archive.tar / /but_these_directory
First, you realise that "-t" doesn't do a backup, it does a file
listing of things already in the archive.tar? (You want "-c" to create
a tar file.)
Secondly I suspect that --exclude in GNU tar is probably the option
you're looking for. It definitely works for create, and it may also
work for file list/extract/etc (never had a reason to try).
Ewen
More information about the wellylug
mailing list