On 09/07/12 01:18, Greg Freemyer wrote:
lynn <lynn@steve-ss.com> wrote:
12.1 with vb 4.1.18
Hi everyone
Backing up a 16GB vdi to USB via rsync takes over 30 minutes, even though I have changed only one file within the VM.
I realise the VM is one file, but is there a way of syncing it without doing the whole vdi each time?
Lynn,
I think the problem is that rsync was really designed for a situation where you have fast disks on each end and a slow pipe between. A usb drive doesn't qualify for that.
The result is you are 'reading' the whole vdi from the usb drive to look for the deltas, then when you find one you have to write it back out.
In that scenario a simple copy is probably faster than rsync.
If you are concerned with speed I will investigate usb-3. Current generation external drives are usb-3 and you can get a pci express card for $20 I think.
Greg
Hi Greg Both are ext4 file systems with user_xattr and complex samba translated acls. We have to go with rsync as cp does not seem to honour acls. We'd like to cron the rsync at say 5 minute intervals out to a cheapo USB. I wonder if there is a way to get inside the vdi to tell it to sync just the files that have been changed. Maybe the speed of USB-3 can do that without us having to go inside the vdi? L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org