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!?
VDI on remote server - script to copy back and forth?
-
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?
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?
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.
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.
Re: VDI on remote server - script to copy back and forth?
rsync is your word for today.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?
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-