Hello,
Before asking i'll say that I've tried searching an answer for this in: "HOWTO", FAQ, this Forum and the User manual - and could not find an answer.
I've been using the VBox for quite some time now, and every time there's a new version release I need to go through the same routine of re-adding the machines list that I had in the old version, to the new version - 1 by 1.
Is there no existing way to export the list before upgrading to the new version, and after installing - it to import the list and have it just the way it was?
And maybe at the same time, have another kind of "import" for the settings I've defined for the default folders or so?
Exporting machines list
-
IT.NeverEnds
- Posts: 26
- Joined: 3. Aug 2008, 19:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: 98, 2000, XP, Vista, 7, Server 2003, server 2008, server 2008 core
- Location: Israel
Re: Exporting machines list
Hi,
If i understand you correctly you are uninstalling the current version you have prior to each upgrade?
I think that if you try to upgrade over the current version with the new one?
Have you tried that?
If i understand you correctly you are uninstalling the current version you have prior to each upgrade?
I think that if you try to upgrade over the current version with the new one?
Have you tried that?
IT really never ends...
-
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: Exporting machines list
You say that the VMs become unregistered? That's odd, it should never do that. Where do you store your VMs? It should be in your profile folder by default, and the installer does not touch that. Those files aren't generated until you run VB and create a VM. Something you can do before an upgrade is make a backup of the VirtualBox.xml file, upgrade and restore it if you're having problems.
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.
-
sy84
- Posts: 2
- Joined: 7. Nov 2009, 12:21
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: MS Windows XP
Re: Exporting machines list
Yes, I'm doing uninstall first to avoid future problems with the software or with the remove of it. Should've mentioned that.
When I upgraded in the past it wouldn't matter anyways.
About the VirtualBox.xml file that was mentioned, I searched and saw that the default folder for this file is:
\Documents and Settings\%username%\.VirtualBox
The directory also includes the folders: HardDisks, Machines.
The HardDisks folder is empty because I choosed a different location for them.
The Machines folder has sub-folders with the machines I've made. (inside them are some log files)
So, after installing a new version should I copy just the xml file or is the "Machines" folder needed aswell?
When I upgraded in the past it wouldn't matter anyways.
About the VirtualBox.xml file that was mentioned, I searched and saw that the default folder for this file is:
\Documents and Settings\%username%\.VirtualBox
The directory also includes the folders: HardDisks, Machines.
The HardDisks folder is empty because I choosed a different location for them.
The Machines folder has sub-folders with the machines I've made. (inside them are some log files)
So, after installing a new version should I copy just the xml file or is the "Machines" folder needed aswell?
-
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: Exporting machines list
You might want to backup the whole .VirtualBox folder, just to be safe. Uninstall or upgrade should NOT remove or otherwise compromise your profile folder.
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.
-
IT.NeverEnds
- Posts: 26
- Joined: 3. Aug 2008, 19:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: 98, 2000, XP, Vista, 7, Server 2003, server 2008, server 2008 core
- Location: Israel
Re: Exporting machines list
Hey Sasquatch,
I think he meant the VMs simply won't list after "fresh" install even if they're placed in the correct folder.
and as for his clarification:
regarding your need to have all your VMs after upgrading, i understand that, we all want it, i remembrt There was an upgrade from 1.x version to 2.x that didn't kept the virtual machines from the previous version, but that doesn't happen anymore (or at least it didn't for a while now),
My suggestion to you is to simply upgrade and only if there is a major upgrade which doesn't import the VMs, only then will you need to re-register the VMs because like Sasquatch said they aren't deleted,
to mitigate a situation like you could make yourself a batch which utilizes the commands:
Vboxmanage registervm <filename.xml>
and vboxmanage openmedium or vboxmanage registerimage disk <filname.vdi>
FWIW i hope that your next upgrades will be safer (no reason why it shouldn't be like i wrote)
Good luck,
I think he meant the VMs simply won't list after "fresh" install even if they're placed in the correct folder.
and as for his clarification:
Let's sort things out,sy84 wrote:Yes, I'm doing uninstall first to avoid future problems with the software or with the remove of it. Should've mentioned that.
When I upgraded in the past it wouldn't matter anyways.
About the VirtualBox.xml file that was mentioned, I searched and saw that the default folder for this file is:
\Documents and Settings\%username%\.VirtualBox
The directory also includes the folders: HardDisks, Machines.
The HardDisks folder is empty because I choosed a different location for them.
The Machines folder has sub-folders with the machines I've made. (inside them are some log files)
So, after installing a new version should I copy just the xml file or is the "Machines" folder needed aswell?
regarding your need to have all your VMs after upgrading, i understand that, we all want it, i remembrt There was an upgrade from 1.x version to 2.x that didn't kept the virtual machines from the previous version, but that doesn't happen anymore (or at least it didn't for a while now),
My suggestion to you is to simply upgrade and only if there is a major upgrade which doesn't import the VMs, only then will you need to re-register the VMs because like Sasquatch said they aren't deleted,
to mitigate a situation like you could make yourself a batch which utilizes the commands:
Vboxmanage registervm <filename.xml>
and vboxmanage openmedium or vboxmanage registerimage disk <filname.vdi>
FWIW i hope that your next upgrades will be safer (no reason why it shouldn't be like i wrote)
Good luck,
IT really never ends...
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Exporting machines list
@sy84,
From reading this I have to ask how are you removing the current version before you try to install the new version?
Usually this does not remove your "home directory" or settings files, just the program files.
You are not deleting the .VirtualBox directory or anything like that manually are you?
This directory and sub folders should never be removed unless you do not want the VBox program any longer.
From reading this I have to ask how are you removing the current version before you try to install the new version?
Usually this does not remove your "home directory" or settings files, just the program files.
You are not deleting the .VirtualBox directory or anything like that manually are you?
This directory and sub folders should never be removed unless you do not want the VBox program any longer.