On Jan 21, 2008 11:19 PM, Piotr Szlązak <[EMAIL PROTECTED]> wrote:
> Does anybody knows what I'm doing wrong? Is there a problem in
> archiving or in restoring?

Thanks to Sergey Poznyakoff I know where was my mistake.

Tar incremental backup works for directories. My command:

#tar -c -z --listed-incremental=archive.0.snar \
 -f archive.0.tgz crucial_data/*

was interpreted by shell as archiving of the files from crucial_data
directory (it was my test directory without subdirectories). That's
why informations about changes in this directory weren't stored in the
archive file.

If you want to use tar incremental backups you have to archive
directories. In my case:

#tar -c -z --listed-incremental=archive.0.snar \
 -f archive.0.tgz crucial_data

-- 
petee
_______________________________________________
help-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-tar

Reply via email to