• Home
  • About
  • My Family
  • My OS
  • Photos

SendDerek’s Blog

Family, Friends, and Computers

Feeds:
Posts
Comments

How To: Properly Backup a VirtualBox Machine (.VDI)

November 18, 2007 by sendderek

Most people don’t realize that making a backup of a VirtualBox Machine (.vdi) is more complex than just copy/paste. If you do that, you’ll soon realize (when it’s too late) that it doesn’t work! This is the proper way to backup your VirtualBox Machine:

MOVED!
You have arrived here using an outdated link or bookmark. If you would like to view the most recent content or comment on this post, please use the following link to be directed to the proper address.


How To: Properly Backup a VirtualBox Machine (.VDI)
on DerekHildreth.com/Blog

Thank You.


Possibly related posts: (automatically generated)

  • How To: Install VirtualBox on Fedora 8 (Werewolf)
  • 12/8/08 Jo and Gayle
  • Howto: Transform a qemu image to a VirtualBox image [2. Update]
  • Be paranoid, be really paranoid

Posted in Computers/Technology, Fedora Linux, Linux, Ubuntu Linux | Tagged .vdi, backup, Linux, tutorial, virtualbox | 14 Comments

14 Responses

  1. on November 18, 2007 at 3:36 pm How To: Install VirtualBox on Fedora 8 (Werewolf) « SendDerek’s Blog

    [...] How To: Properly Backup a VirtualBox Machine (.VDI)  [...]


  2. on December 18, 2007 at 12:12 pm maumac

    It seems that the actual command is “VBoxManage” (without the final R).


  3. on December 21, 2007 at 12:32 pm Gareth

    Excellent, can you clone whilst a disk is in use?


  4. on December 21, 2007 at 11:45 pm sendderek

    @Gareth:
    Good question. It’s too bad I don’t have a good answer for you. I could make something up, but that probably wouldn’t help out all that much.

    Give it a try and see what happens.


  5. on January 1, 2008 at 7:46 am Neil

    Thanks for posting this – it was very helpful.


  6. on January 24, 2008 at 3:53 am Anthony A.

    I just tried to clone a .vdi while it was in use, VBoxManage gives this error:

    [!] FAILED calling virtualBox->OpenVirtualDiskImage(Bstr(argv[0]), vdi.asOutParam()) at line 2415!
    [!] Primary RC = 0×80004005
    [!] Full error info present: true , basic error info present: true
    [!] Result Code = 0×80004005
    [!] Text = Could not access hard disk image ‘/home/anthony/.VirtualBox/VDI/Windows_XP_20GB.vdi’ (VERR_FILE_LOCK_VIOLATION)
    [!] Component = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
    [!] Callee = IVirtualBox, {76b25f3c-15d4-4785-a9d3-adc6a462beec}

    It worked just fine as soon as I powered down the virtual machine.


  7. on February 14, 2008 at 6:34 pm Media Addicted

    Hi there,

    I simply want to duplicate a VBox machine. Searching the net I’ve found out about the standard solution

    VBoxManage clonevdi Master.vdi Clone.vdi

    and the (undocumented) function

    cp Master.vdi Clone.vdi
    VBoxManage internalcommands setvdiuuid Clone.vdi

    which actually staffs the clone with a new SID in one step.

    My problem is much less complex: how the hell do I get to the command line of VBox in Windows XP? Is it the Windows command line or do I have to run VBox in a special mode first?!

    Thx for advice!


  8. on February 19, 2008 at 10:49 am sendderek

    I guess I’m not really sure what your question is…

    Do you have an XP host or guest?


  9. on February 19, 2008 at 1:31 pm Media Addicted

    Hi derek,

    it’s a WXP host and a WXP guest. And I want to clone the guest-VM.

    Thx in advance…


  10. on February 22, 2008 at 1:00 am BigFunkyChief

    In WinXP, you just need to open a command prompt, cd to the c:\program files\innotek directory and launch the VBoxManage command from there. You could also add the innotek prog files directory to your path if you wanted to run the VBoxManage from any directory.


  11. on February 22, 2008 at 10:07 am sendderek

    Thanks Chief. I had no idea…


  12. on February 27, 2008 at 2:06 pm Avi

    Thanks alot for the heads up!
    makes the process of sysprepping a VM with this wonderfull application a breeze!


  13. on March 12, 2008 at 11:43 pm Alligator

    Nice! … I have my VM properly backed up now.
    This might be a dumb question; but in case tragedy strikes, how do I restore the VM?

    Thanks in advance


  14. on March 18, 2008 at 7:17 pm Charles Tryon

    Is there no way to clone a machine (or create a backup) through the GUI? Of course, being an old time UNIX user, I’d rather do it through a command line, but it still seems curious that there is no GUI button to do it.

    I’m actually hoping that I can run the two machines side by side to test some client/server software I’m working on. I just didn’t want to go through the hassle of doing a full Fedora install on the second box. Of course, I’ll have to change stuff like the host name and whatnot, but that I can deal with. I’m in the middle of the copy right now… so we will see how it works. ;-)



Comments are closed.

  • I’ve Moved!

    Please follow this link to the proper address. I will not be following up on comments on this blog. Please post them at the new address. Why?
  •  

    November 2007
    M T W T F S S
    « Oct   Dec »
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  
  • c

  • Archives

  • Comments Made...

    forum on Tutorial: Setup a Totally Free…
    Tutorial: Setup a To… on Tutorial: Setup Your Own (Self…
    How To Fix The No So… on Guides to Help with Fedora 8…
    SAMI on How To Fix The No Sound Issue …
    SAMI on How To Fix The No Sound Issue …
  • Made on Ubuntu Made on Fedora Get Firefox Browse Happy Stop IE Powered by Wordpress
    Get OpenOffice.org Open Source Licensed Made in USA
    ZwahlenDesign
  • Blog Stats

    • 155,761 hits
  • My Stats

    free webpage hit counter
    View My Stats
  • Recent Posts

    • This Blog Has Moved!
    • Qeirstyn’s Ascending a Vertical Face!
    • Qeirstyn’s Leaving the Frontlines!
    • DerekHildreth.com is Here!
    • Qeirstyn Giving “More” Sign
  • Top Posts

    • How To Fix The No Sound Issue in Firefox Flash
    • How To: Properly Backup a VirtualBox Machine (.VDI)
    • How To: Install VirtualBox on Fedora 8 (Werewolf)
    • Guides to Help with Fedora 8 Install
    • How To Make Great Photo Mosaics with Metapixel
    • Alternative to Belarc Advisor for Linux...
    • Next-Gen Game Graphics: DirectX 10 vs OpenGL2.1
    • Tutorial: Setup a Totally Free, Self-Hosted phpBB Forum
    • Tutorial: Setup Your Own (Self-Hosted) Simple Web Server for Free
    • Playing Around with SAGE on Linux
  • Popular Tags

    .vdi 4GHz apache Baby First Christmas blog CPU DirectX DirectX 10 electromigration features fedora fedora 8 free hildreth home video how to http install Intel Linux metapixel mosaic OpenGL OpenGL 2.1 photomosaic photo mosaic photos picasa web Qeirstyn quantum computing sandy Sandy UT save files screenshot subthreshold voltage tartup time tips trick tutorial ubuntu virtualbox wasatch webserver wordpress.org
  • Popular Categories

    Blogroll Computers/Technology Fedora Linux Linux My Life My Photography Ubuntu Linux

Blog at WordPress.com.

Theme: Mistylook by Sadish.