How to copy a built Virtual Machine from 1 PC to other one?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
GammX1
Posts: 2
Joined: 26. Nov 2008, 11:04

How to copy a built Virtual Machine from 1 PC to other one?

Post by GammX1 »

I have craated a VirtualBox Machine with WinXP Home inside in my home PC and I need to copy it to my office one... To be able to work whit it, there, independently.
- Other important point is to keep 1 copy of it as a backup... And being able to restore it if a crash should happens on any of both PC's.
Thanks in advance for your help...
Rgrds,
GammX1
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

Post by Sasquatch »

Just copy the VDI file to any external media that has the proper File System to support the file size. You can then transfer the VDI back and forth between the two machines. You can even set VB to use the VDI directly from the external storage, given that it gets the same drive letter each time.
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.
GammX1
Posts: 2
Joined: 26. Nov 2008, 11:04

Post by GammX1 »

First of all, thanks for your help!!

I can see your recomendations will work if a USB portable HD should be available... (if no other way, I will get one for that job!)

I simulated the possibility to copy the created VB machine from the Home PC to the office one but I am receiving errors messages about UUID !? and with a .xml file

How I should be able to restore a buckup copy of a VB Machine if I should have a crash problem?

Your help again.. will very welcome,
Thanks in advance,
Rgrds
GammX1
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Post by vbox4me2 »

Sasquatch wrote:Just copy the VDI file to any external media that has the proper File System to support the file size. You can then transfer the VDI back and forth between the two machines.
And this works like a charm, a side question, there used to be a program that copies changes by copying blocks(md5 check), do you have any idea what this was called? I now have 20gB of VDI's and backing them up to a server takes a little while....(ahum)
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

Post by Sasquatch »

GammX1 wrote:First of all, thanks for your help!!

I can see your recomendations will work if a USB portable HD should be available... (if no other way, I will get one for that job!)

I simulated the possibility to copy the created VB machine from the Home PC to the office one but I am receiving errors messages about UUID !? and with a .xml file

How I should be able to restore a buckup copy of a VB Machine if I should have a crash problem?

Your help again.. will very welcome,
Thanks in advance,
Rgrds
GammX1
UUID errors should only occur if you register a VDI that has the same UUID which is already registered. You have to either copy the VDI over the old one, or unregister the conflicting one. You can also generate a new UUID by issueing an undocumented command from a command prompt. I'm not 100% sure about it, but it used to be something like vboxmanage internalcommand setuuid <filename>. Check the search or Tutorial: All about VDIs for the proper command.
And this works like a charm, a side question, there used to be a program that copies changes by copying blocks(md5 check), do you have any idea what this was called? I now have 20gB of VDI's and backing them up to a server takes a little while....(ahum)
That method is not recommended, because, even though the chances are small, it can generate the wrong data to match the MD5 hash.
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.
Post Reply