Solved To Zip a .vdi file of VirtualBox

KianWilliam

New member
Greetings:
I have virtualbox with a few VMs. (Naturally host win7 ultimate)
I want to back them up in my flash, could I just zip vdi files and simply copy and paste the vdi file in my flash?
e.g ubuntu 14.5 GB turns into 4.7GB as zip file.
Thanks a head
KianWilliam
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Dell Inc. 08CNC9
Memory
2.00 GB
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
(1) WDC WD2500BEVT-75A23T0 ATA Device (2) General USB Flash Disk USB Device (3) Generic- Multi-Card USB Device
Antivirus
Panda
Browser
Chrome, FireFox, IE, Opera
There should be no problem it may be worth doing a test by zipping then unzip and make sure it works
 

My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
You definitely can copy and backup the vdi file, but it's not the best way. The reason is that it only contains the hard disk image, but not the rest of the settings of the VM, which you should recreate from scratch.

Instead use the import/export appliance option of VirtualBox. This creates a new file (a .ova or .ovf format) that contains not only the hard disk images, but all the configuration and settings (like processor, memory, virtualized hardware and so on) that conforms the VM. This file can latter be reimported when restoring the VM, even if using another hypervisor, not just VirtualBox (it's a standard format).

Just export the VM, backup the resulting file, then delete the VM. You can restore from the .ova/.ovf file alone.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Thank you for the response.
Which format is best for an .ovf file? While creating it do I have to check write manifest file?
Also Could I zip an .ovf file?
My host is win7 ultimate, planning to change os to win10 in 7 or 9 months, that is why little by little I am collecting my files
in flash so that I shall import them in the new operating system.
regards
KianWilliam
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Dell Inc. 08CNC9
Memory
2.00 GB
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
(1) WDC WD2500BEVT-75A23T0 ATA Device (2) General USB Flash Disk USB Device (3) Generic- Multi-Card USB Device
Antivirus
Panda
Browser
Chrome, FireFox, IE, Opera
I generally use the latest supported format, unless you're planning to use another hypervisor without support for those. Also, use .ova for keeping it all in a single file. I would generally also include the manifest file, although I'm not entirely sure of what it actually does, it seems to be necessary for some kinds of imports or as a checksum, but unclear to me, and Google as contradicting results.
Of course you can zip a .ovf file, just like any other file. I would expect similar compression rates as with the plain .vdi zip, as the disk image is the bulk of its content.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
ok, thank you very much.
KianWilliam
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Dell Inc. 08CNC9
Memory
2.00 GB
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
(1) WDC WD2500BEVT-75A23T0 ATA Device (2) General USB Flash Disk USB Device (3) Generic- Multi-Card USB Device
Antivirus
Panda
Browser
Chrome, FireFox, IE, Opera
Back
Top