VirtualBox v. 3.12 & 4 Beta: how to change Snapshot default location?

Kari

An Angry Old Man
Guru
VIP
SF Team
Local time
5:30 PM
Messages
17,473
Location
A Finnish ex-pat in Leipzig, Germany
VirtualBox v. 3.12 & 4 Beta: how to change Snapshot default location?

All my computers are set up so that C: has only the Program Files, Program Files (x86) and Windows folders, plus a folder called Virtual Machines with subfolders for Virtual PC, VirtualBox and VMware machines. D: has the ProgramData and Users folders, latter with all respective subfolders for each user. Additional drives for media.

When I create a VBox virtual machine, it's easy to set vhd up in C:\Virtual Machines. But I use a lot of snapshots, and by default these are saved in %userprofile%\.VirtualBox (VBox v.3.12) and in %userprofile%\VirtualBox VMs (VBox 4 Beta 2).

For reasons not belonging here, I need these snapshots saved in C:\Virtual Machines\VirtualBox\Snapshots, if possible.

How to change the default save location of snapshots? Or is it at all possible?

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Kari:

I know this will not be very helpful; I don't have VBox installed right now.
But! I do know that there is a setting in the Options somewhere that will allow you to set default directories.
Hunt around and I'm sure you'll find it...
 

My Computer My Computer

At a glance

Windows 7 Home Premium x64AMD Phenom II X6 1600T16GB PC3-10700 (1342MHz)ATI Radeon 5770 HD (x2) CrossFire
Computer Manufacturer/Model Number
OEM - Me
OS
Windows 7 Home Premium x64
CPU
AMD Phenom II X6 1600T
Motherboard
GigaByte GZ-990FXA-UD3
Memory
16GB PC3-10700 (1342MHz)
Graphics Card(s)
ATI Radeon 5770 HD (x2) CrossFire
Sound Card
On-board RealTek chipset
Monitor(s) Displays
3x Hanns-G 1920x1080 Monitors
Screen Resolution
3x Hanns-G 1920x1080 Monitors
Hard Drives
Intel 25-V SSD 40GB: 218 MB/s AT: 0.1ms
Intel X-25M SSD 80GB: 230MB/s AT: 0.1ms
Seagate 750GB: 133 MB/s AT: 13ms (perpendicular storage)
Buffalo HD-PCTU3 1TB External drive
PSU
OCZ Stealth X Stream 750W
Case
Cheap (unknown)
Cooling
Stock
Keyboard
HP USB
Mouse
LogiTech USB
Internet Speed
1.5 Mbps - Slow - At the tail-end of a rural network
Other Info
Printer: Epson Stylus C-84
Scanner: HP 3500C Flatbed
DVD-RW: Plextor
DVD-ROM: Unknown
WEI: 7.4
I would use a snipping tool at the host. Then you can store them in said folder - just tried it out.
 

My Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Guys, seems I explained my issue not well enough. Here's a bit more background.

A VirtualBox Snapshot is a complete system image. Creating a virtual machine snapshot in VirtualBox is the same than creating an image on a real, physical computer. You can easily, with a click of a button, switch between these images. For testing purposes this is a really nice feature. You just take a snapshot i.e. create an image before you start goofing around. Taking a snapshot only takes seconds, restoring it even less.

My D: drive, where user profiles are located, has simply not enough space to store these snapshot images; for instance a 30 gig virtual machine creates a 30 gig snapshot, when I choose to make one.

There's no option in settings or anywhere else I can find that I could change.

Kari

VBox_snapshot_1.png

VBox_snapshot_2.png
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
I'm not sure about the version, but i did it yesterday this way-
Open virtualbox>Select the virtualbox>Click settings>In the third/second tab of the very first settings menu (on left), there'll be an option to change default location. Just choose 'other' from the drop-down menu.
 

My Computer My Computer

At a glance

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTSCore 2 Duo e7400 @ 2.90GHz3GB DDR2Asus Nvidia GTX 560Ti 1GB
Computer Manufacturer/Model Number
HCL
OS
Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
CPU
Core 2 Duo e7400 @ 2.90GHz
Motherboard
Gigabyte G31M-ES2L
Memory
3GB DDR2
Graphics Card(s)
Asus Nvidia GTX 560Ti 1GB
Sound Card
On-board
Monitor(s) Displays
HCL eZeeBee 18.5" LCD
Screen Resolution
1366x768 @ 60Hz
Hard Drives
Western Digital 320GB
PSU
Corsair CX500 V2 500W
Cooling
Stock
Keyboard
Stock
Mouse
Stock
Internet Speed
15-25kBps D/L | 10kBps U/L | Hey Don't laugh
EzioAuditore, you are my idol! My Guru! I worship you! ;) :)

I'm quite experienced VirtualBox user but I have never noticed that option! It simply was too close, too obvious, for me to see.

It's just where you said it is. Screenshot from VBox 4 Beta 2, but I checked v. 3.12 running on another rig of mine and it's exactly the same:

VBox_snapshot_3.png

Rep given!

Kari

EDIT: Would be nice to have a global setting to change. Now you have to do this manually for every virtual machine.
 
Last edited:

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Glad I could help. And thanks for your lovely compliments... (Need not to worship me as i'm just a regular guy as you :p ;) )
And yeah, as of now, We've to change it manually for every machine. A global setting would really be nice. (Someone needs to post at their forum though. :p)
 

My Computer My Computer

At a glance

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTSCore 2 Duo e7400 @ 2.90GHz3GB DDR2Asus Nvidia GTX 560Ti 1GB
Computer Manufacturer/Model Number
HCL
OS
Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
CPU
Core 2 Duo e7400 @ 2.90GHz
Motherboard
Gigabyte G31M-ES2L
Memory
3GB DDR2
Graphics Card(s)
Asus Nvidia GTX 560Ti 1GB
Sound Card
On-board
Monitor(s) Displays
HCL eZeeBee 18.5" LCD
Screen Resolution
1366x768 @ 60Hz
Hard Drives
Western Digital 320GB
PSU
Corsair CX500 V2 500W
Cooling
Stock
Keyboard
Stock
Mouse
Stock
Internet Speed
15-25kBps D/L | 10kBps U/L | Hey Don't laugh
Sorry Kari - I misunderstood the whole thing. But now I learned something too thanks to Ezio.
 

My Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Back
Top