Most effective way to incrementally backup vmware player images with rsync

backuprsyncvmware-workstation

I have a vmware player on Ubuntu 9.04 which works well with an XP in a virtual machine.

Now I want to have a nightly backup of this vmware instance so I thought I just use rsync to keep them updated. It appears that rsync thinks almost all files have changed even if I try to use snapshots (workstation) to keep the changes to a minimum.

What is the appropriate way to do this, and what rsync argument works best?


EDIT: I know the vmware instance must be shut down.

Best Answer

Try the --modify-window option for rsync

Windows doesn't guarantee the accuracy of file modification times better than 2 seconds, so give rsync some leeway in its comparisons by using modify-window.

--modify-window=1

is usually sufficient.

Related Topic