VDI on remote server - script to copy back and forth?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
zero0ne
Posts: 1
Joined: 28. Oct 2009, 23:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP, ubuntu, RH

VDI on remote server - script to copy back and forth?

Post by zero0ne »

This is what Id like to Do:

VDI image: stored on remote fileserver

Script that copies the VDI image from the fileserver to my local machine.
When I am done with using it, I can turn it off, and then run a new script that updates the VDI on the fileserver with all changes.

This of course is "easy" to do, problem is a 8GB VDI image will take a bit to copy over. Is there any way to just copy over the changes?

If i put the single file in a GIT repository, do you think it would correctly update only the changes? what about using dd.exe to run a comparision and then a change?

Is this possible at all even!?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VDI on remote server - script to copy back and forth?

Post by Sasquatch »

If you want to least amount of data to be transferred each time you want to sync, use snapshots and compare the local files with the remote files and transfer the new snapshot and XML files. Hashes can be created to make sure the correct files are transferred and are transferred correctly. MD5 can be used as a file hash, but some think that's not enough and resort to SHA1 or stronger. Backup software can handle this too.

But, why the trouble of all this? Do you run the VM on other systems too or just this one Host? If only on one Host, why not periodically, like once a week, back up the files instead of after each run?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: VDI on remote server - script to copy back and forth?

Post by vbox4me2 »

zero0ne wrote:This of course is "easy" to do, problem is a 8GB VDI image will take a bit to copy over. Is there any way to just copy over the changes?
rsync is your word for today.
Post Reply