incremental tar on vboxsf mount

Discussions about using Linux guests in VirtualBox.
Post Reply
byronhawkins
Posts: 7
Joined: 10. May 2011, 07:22
Primary OS: Ubuntu 12.04
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Kubuntu

incremental tar on vboxsf mount

Post by byronhawkins »

Hi all,

I am using tar with --listed-incremental to backup changes in my debian VM's shared folders throughout the day. This solution works very well, I really don't want to change the general concept (I do not want to backup the .vdi instead, or anything else like that). But every time I mount the shared folders, tar thinks all the files have changed. I am already using the --no-check-device flag, but it doesn't help. Here is my command:

Code: Select all

tar --exclude-tag-all=nobackup --no-check-device -cf /mnt/backup/data/data.2011-06-13.1508.incremental.tar --listed-incremental=backup.snar --level=1 "/mnt/urba/data" "/mnt/urba/workspace" "/mnt/downtown/Users/b/AppData/Roaming/Sibelius Software/Sibelius 6" "/mnt/downtown/Users/b/.VirtualBox" "/mnt/downtown/Users/b/.android"
The major/minor device ids for the shared folders actually don't change when I umount and then mount. This is the command I use to verify (where "downtown" is the name of a mounted share):

Code: Select all

udevadm info --device-id-of-file=downtown
Could there be some other reason for tar to think the files have changed? At this point I really have no idea why it sees the files as changed. Thanks in advance for your help.


Byron
Post Reply