Snapshot guest without memory

This is for discussing general topics about how to use VirtualBox.

Snapshot guest without memory

Postby UncleBen » 20. Feb 2012, 18:47

Hi All

Is it possible to take a snapshot without saving the memory?

I realise that this would cause a snapshot to be in a 'crash consistent' state, but I would like to beef up the time it takes to snapshot a machine.

i.e perhaps a command line option?

Cheers
Mic
UncleBen
 
Posts: 15
Joined: 11. Feb 2012, 14:29

Re: Snapshot guest without memory

Postby michaln » 20. Feb 2012, 19:22

You shut down the VM and then you take the snapshot.

If you really want to take a snapshot of a running VM without saving its memory state, you must really hate your data.
michaln
Oracle Corporation
 
Posts: 1246
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: Snapshot guest without memory

Postby UncleBen » 22. Feb 2012, 08:59

Come on, how is snapshotting without memory any different from pulling the power.

And when was the last time a server didn't recover from power loss?

ESXi offers it as an option.

Are you the local authority on data security?

Think outside the box mate.

If VirtualBox is able to call upon the guest to flush it's buffers, then a snapshot without memory is pretty bloody good in my book.
UncleBen
 
Posts: 15
Joined: 11. Feb 2012, 14:29

Re: Snapshot guest without memory

Postby michaln » 22. Feb 2012, 12:14

UncleBen wrote:Come on, how is snapshotting without memory any different from pulling the power.

Exactly. How is that desirable? Users would inevitably trash their data and then come back to us and complain.
michaln
Oracle Corporation
 
Posts: 1246
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: Snapshot guest without memory

Postby UncleBen » 22. Feb 2012, 13:27

I appreciate that. But if vbox is able to trigger a buffer flush, then the method I describe is still a hell of a lot more secure than a power failure.

Keep in mind that when a 'Shadow Copy' of an NTFS volume or an LVM or whatever, the results are pretty much the same. What you get is a copy of the filesystem/disk, in a crash-consitent state.

Im suggesting that perhaps it is a hidden, or command line only option? I didn't come here for a lecture about data security. For all you know, the machine is serving mp3 files and really has no care if the most recently added mp3 file makes it into the backup or not.

Regarding the hand holding of your users, the last time I snapshoted without specifying '--pause', it trashed my (testing) VM. Gone

(See this post, which looks like it was caused also by forgetting '--pause': https://forums.virtualbox.org/viewtopic.php?f=7&t=44906)

So no, VirtualBox is not idiot proof, nor should it be.

If us power users and/or engineers wanted idiot proof, we would still be using a system akin to an apple 2e.

But thanks for hijacking my thread, speaking of which, is the option there or not?
UncleBen
 
Posts: 15
Joined: 11. Feb 2012, 14:29

Re: Snapshot guest without memory

Postby Kartweel » 11. Jun 2012, 04:08

Hey did you end up getting answer or just decide that it wasn't an option?

I agree it would be good to have the option, and I have also trashed many VMs by forgetting --pause
Kartweel
 
Posts: 17
Joined: 23. Feb 2012, 16:59


Return to Using VirtualBox

Who is online

Users browsing this forum: Jurgen1 and 19 guests