bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] listed-incremental and LVM snapshots


From: Xen
Subject: [Bug-tar] listed-incremental and LVM snapshots
Date: Sun, 06 Sep 2015 00:34:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

I am trying to do LVM snapshot backups.

Whatever option I use, thus far, Tar will "complain" that all directories have changed from one backup to the next.

Two identical commands except for the output file:

tar -cvvf /backup/local-first.tar -g /backup/local-first.lst --atime-preserve=system -C /snap . &> /backup/local-1.log

tar -cvvf /backup/local-second.tar -g /backup/local-first.lst --atime-preserve=system -C /snap2 . &> /backup/local-2.log

Done off of two different snaphots.

Output of the second log file:

tar: .: Directory has been renamed
tar: ./bin: Directory has been renamed
tar: ./games: Directory has been renamed
tar: ./include: Directory has been renamed
tar: ./lib: Directory has been renamed
tar: ./lib64: Directory has been renamed
tar: ./lost+found: Directory has been renamed
tar: ./man: Directory has been renamed
tar: ./sbin: Directory has been renamed
tar: ./share: Directory has been renamed
tar: ./src: Directory has been renamed

And so on.

It will simply recreate all those "changed" directories in the new archive, effectively storing all the same files.

Is there a solution to this?

tar (GNU tar) 1.28

Oh, never mind. I think I found the --no-check-device option. I had remembered reading about it but I forgot.

Damn this has been hard again....

Regards.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]