Hi,
I have a Linux VM runnig which acts as file server in my home network.
Now I want to export (backup) this VM via the 'Appliance export' feature.
But now VBox also exports my file data harddisk (Second harddisk with ~500GB) which I don't want to be backed up (at least not this way ;o) ).
I only want to export the first (system) harddisk.
So, my Question is: Is there a possibility to simple exclude some harddisk from the 'Appliance export'?
Kind regards
Appliance export -> Possible to exclude Harddisk?
-
Leak
- Posts: 242
- Joined: 31. Mar 2009, 13:00
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Debian Testing, Windows XP, Windows Server 2003/2008 R2
Re: Appliance export -> Possible to exclude Harddisk?
I think the only way to accomplish this currently is to detach the harddisk before exporting and re-attaching it afterwards.mibo wrote:So, my Question is: Is there a possibility to simple exclude some harddisk from the 'Appliance export'?
-
mibo
- Posts: 2
- Joined: 20. Jul 2011, 12:22
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, WinXP
Re: Appliance export -> Possible to exclude Harddisk?
This was also my 'simple solution'.Leak wrote:I think the only way to accomplish this currently is to detach the harddisk before exporting and re-attaching it afterwards.
But unfortunately I want to handle my 'backup' with a simple script/cron job and for me this solution includes a lot of xml parsing (to get correct uuid for harddisk to detach) and ugly detach/attach.
Perhaps I do after all only backup my primary harddisk with clonehd and copy the VM xml.
And if I have to restore the backup I configure the VM manually.
-
Leak
- Posts: 242
- Joined: 31. Mar 2009, 13:00
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Debian Testing, Windows XP, Windows Server 2003/2008 R2
Re: Appliance export -> Possible to exclude Harddisk?
As long as you backup the machine folder for your VM and the boot harddisks VDI file you can just restore it back (and register the VM's .vbox file via "Machine > Add...") and while it'll complain that it can't find the data harddisks VDI file you can just detach it then or replace it with a new one.mibo wrote:Perhaps I do after all only backup my primary harddisk with clonehd and copy the VM xml.
And if I have to restore the backup I configure the VM manually.
I don't think exporting as an appliance is meant to be for making a backup first and foremost (it doesn't do snapshots, for one) - rather it's for interoperability with other VM software or to transfer and/or share VMs.