[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-tar] Tar - incremental backups and dumpdir
From: |
Piotr Szlązak |
Subject: |
[Help-tar] Tar - incremental backups and dumpdir |
Date: |
Mon, 21 Jan 2008 23:19:54 +0100 |
Hi!
I've got problem with tar incremental backups.
I'm making full backup every week:
#tar -c -z --listed-incremental=archive.0.snar -f archive.0.tgz
crucial_data/*
And every day between full backups I'm making incremental backups.
Every incremental backup is based on full backup:
#cp archive.0.snar archive.1.snar
#tar -c -z --listed-incremental=archive.1.snar -f archive.1.tgz
crucial_data/*
Everything works great. In case on emergency I've to extract full
backup and the newest incremental backup.
But there is a little problem. I've read in tar manual that
incremental archive should contain information about deleted or
renamed files. Everything should be in Dumdir section:
http://www.gnu.org/software/tar/manual/html_section/tar_87.html
But when I extract my archive I'm getting all files, even those
deleted.
#tar -x -z --listed-incremental=/dev/null -f archive.0.tgz
#tar -x -z --listed-incremental=/dev/null -f archive.n.tgz
I cannot also list my archive as it is described in manual:
http://www.gnu.org/software/tar/manual/html_node/tar_88.html#DOCF12
That means a list with dumpdir information about every file in the
archive.
Does anybody knows what I'm doing wrong? Is there a problem in
archiving or in restoring?
I'm using tar in 1.19 version and gnu internal archive format.
--
petee
- [Help-tar] Tar - incremental backups and dumpdir,
Piotr Szlązak <=