How to create full/complete VirtualBox snapshots instead of "differential"?

This is for discussing general topics about how to use VirtualBox.
Post Reply
gianluigi.zanettini
Posts: 19
Joined: 27. Oct 2012, 23:27

How to create full/complete VirtualBox snapshots instead of "differential"?

Post by gianluigi.zanettini »

I usually need to create many snapshots at different points in time. This makes a mess, because every snapshot is a child of the one before, and deleting any of them take HOURS. I'd rather create full/complete snapshots without any hierarchy tree ! Is it possible?
Last edited by gianluigi.zanettini on 28. Oct 2017, 15:51, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How to create full/complete VirtualBox snapshot instead of "differential"?

Post by mpack »

There is no such thing as a "full snapshot". Differential images are inherent to what snapshots do.

The feature you probably want is called: making a backup copy, in which case you simply copy the current VM folder to secondary storage, then carry on as normal.

The temptation is to tell you about cloning, but you do NOT want to a make a clone VM. That would create a new VM for every instance, replacing your confusing snapshot hierarchy with a confusing VM hierarchy.
gianluigi.zanettini
Posts: 19
Joined: 27. Oct 2012, 23:27

Re: How to create full/complete VirtualBox snapshot instead of "differential"?

Post by gianluigi.zanettini »

Thanks mpack,
I was a NetApp Sales Specialist, so I know a thing or two about differential snapshots :P It's probably true that VirtualBox snapshots are differential only, but this is actually limited to VirtualBox. I would really like to see the ability to capture full snapshots in the future.

Yes, I could manually backup VMs, but this is clearly not ideal.

Thanks again for clarifying that, right now, snapshots are always differential.

I created a ticket for the feature.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to create full/complete VirtualBox snapshots instead of "differential"?

Post by Perryg »

I would really like to see the ability to capture full snapshots in the future.
A full snapshot is the exact same thing as a backup or clone and as such each will be huge. Not to mention that the DEVs probably will not see any sense in this since you can achieve the exact same thing as it stands. But who knows, I for one would really hate this feature being added. I would not use it and the support would be a nightmare. Where did all of my disk space go??? will be the new rash of uninformed questions. Anyway just my 2 cents.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: How to create full/complete VirtualBox snapshots instead of "differential"?

Post by ChipMcK »

gianluigi.zanettini wrote:but this is actually limited to VirtualBox
and in VMWare. Suspect same in Parallels.

Across all three products, SnapShots are differential. that is the definition of a SnapShot
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How to create full/complete VirtualBox snapshot instead of "differential"?

Post by mpack »

gianluigi.zanettini wrote:It's probably true that VirtualBox snapshots are differential only, but this is actually limited to VirtualBox.
Um... Please name a competing VM platform which implements snapshots which are not differential?

Non-differential snapshots are redundant - if they don't share data then its basically just a list of separate VMs. And, as Perry points out, each new VM would occupy at least as much space as the previous stage in the timeline, with a great deal of waste and duplication.

The alternative to differential snapshots is not non-differential snapshots, it is ordinary backups to secondary media. That way the duplication is actually a plus (in fact it's the whole point of a backup), and they don't hog space on the main drive.

p.s. You really should not have bothered the devs with that ticket until you had finished the discussion here.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to create full/complete VirtualBox snapshots instead of "differential"?

Post by socratis »

mpack wrote:The temptation is to tell you about cloning, but you do NOT want to a make a clone VM. That would create a new VM for every instance, replacing your confusing snapshot hierarchy with a confusing VM hierarchy.
Sure he wants to make a clone, why not? That's the easiest idea so far. Now, if he has activation problems or booting from Grub problems, that's another story. As for the hierarchy, let him have a go at it. It's a confused situation in any event. Either way, he's going to be confused.

If he wants to make a true copy, he wants essentially VirtualBox to replace his Explorer/Finder/Nautilus/command line/whatever... The thing that's missing from the understanding of how this works, it that he can't switch back and forth, because snapshots have different UUIDs, clones have different UUIDs, but copies don't. So he has to unregister a copy and register another one if that's going to happen. Too much work and potential trouble, for far too little a reward...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply