VirtualBox

Opened 17 years ago

Closed 14 years ago

#46 closed enhancement (fixed)

Feature request: Branching snapshots

Reported by: tfim Owned by:
Component: VM control Version: VirtualBox 2.0.2
Keywords: snapshots Cc:
Guest type: other Host type: other

Description

It would be great if snapshots could "branch" - that is, a snapshot could spawn more then one child, leading to a tree structure of snapshots. For example, it would be possible to mark a clean installation at some point, and then just create and remove snapshot-branches when trying out applications and such.

I have tried to emulate that behvior by using VBoxManage clonediv to clone a disk image ("branching"), however, snapshot data was not cloned. If the above is too complex to implement soon, it would be good if at least snapshot data could be cloned.

Change History (43)

comment:1 by Technologov, 17 years ago

Well, you could do something like this on Guest VM, by using UnionFS - possible under Linux guest.

Anyway, currently it's a Linux feature not a VirtualBox one. Maybe Vbox will have it too...

-Alexey

comment:2 by Achim Hasenmueller, 17 years ago

This feature is planned. The current snapshot architecture is already prepared for this but some bits are still missing.

comment:3 by cromo, 17 years ago

Are there any chances we could see something like this in next release? It'd be a really handy feature, I miss it a lot currently.

comment:4 by Esben Haabendal, 16 years ago

I second that. I miss it a lot as well.

comment:5 by Frank Mehnert, 16 years ago

Component: otherVM control

comment:6 by mihi, 16 years ago

I miss it as well.

For example, when installing some software with lots of installation options, to find the best configuration. The software should run on the VM afterwards. So I created a snapshot and tried to install it. After the install it worked but I thought I could work around a problem by changing an option in the install process. So I reverted to the snapshot (and I would have kept the latest state if I could). After installing with the other option I noticed that this option worked even worse than the first one. So I had to revert again and reinstall again in the first way.

If I had snapshot trees I would have saved the work of re-installing it the third time (if the second install was better, i'd have deleted the first snapshot, else I'd have reverted to it).

Or, as an alternative, it would suffice for me to "revert" to a snapshot while still keeping the snapshots in between (i. e. creating a new snapshot and modifying it in a way that it looks like a previous snapshot). This might need a bit more disk space, but in situations like that disk space is not my main concern especially since the differences between all my snapshots are marginal.

comment:7 by Terry Ellison, 16 years ago

Frank, There has been quite a lot of chatter on the forum looking to this feature. It's a pity that we don't have some form of user voting system on Trac so that you can assess user demand.

in reply to:  description comment:8 by Bluesky, 16 years ago

+1

comment:9 by darkprokoba, 16 years ago

I've been using VMWare for QA purposes for quite a while now. Recently I've been evaluating VirtualBox and I find it quite impressive. I find it perfect for my home needs. However switching to VirtualBox for my QA work is out of the question due to the lack of arbitrary snapshot branching. I remember the days when VMWare didn't have this feature too (somewhere back in the pre 3.x days iirc) and I used to have a bunch of separate VMs. I'm not going back to that!

comment:10 by Matteo Bertini, 16 years ago

If not branching at least a way to clone a snapshot, even flattening it.

comment:11 by Frank Mehnert, 16 years ago

For your info: The snapshot system will be completely reworked. But no ETA yet, this will still take some time (probably months).

in reply to:  11 comment:12 by hanno, 16 years ago

+1, i would absolutely love that. imho this is the last important feature missing in virtualbox. actually it is the only feature where i think about switching to vmware.

comment:13 by de_ramon, 16 years ago

+10 (for me and my collegues)

For me it's the last important featuere, too. Maybe it's the last important one overall...

comment:14 by rhdieser, 16 years ago

I just found VirtualBox today - awesome product! I soon discovered it would be a great value-add to have the tree structure of snapshots that has been talked about. I am also testing applications and it would great to have the following:

  • Base OS installed / Snapshot


Having the ability to boot any snapshot would be a huge time saver that anyone could appreciate. The above feature would allow me to get rid of VMware Server all together.

comment:15 by rhdieser, 16 years ago

My last update didn't look right when it was posted.

  • Base OS installed / Snapshot
  • Base OS and Application A Snapshot
  • Base OS and Application B Snapshot

comment:16 by rhdieser, 16 years ago

. . any votes to have the priority increased from "Minor"?

comment:17 by Sander van Leeuwen, 16 years ago

priority: minormajor
Version: VirtualBox 1.3.4VirtualBox 2.0.2

It's work in progress.

comment:18 by Martin, 15 years ago

I see we have had a new bug fix release. I am hoping that the branching snapshots will be in the next drop. Like many others this is a really important one for me.

comment:19 by Juggalo, 15 years ago

+1 Happy to hear this is being implemented \o/

This would be an extremely useful addition!

comment:20 by David Fraser, 15 years ago

+1 with the hope that commenting will make this bug Cc me on any progress...

comment:21 by scyclops, 15 years ago

+1

comment:22 by John Tracy, 15 years ago

The lack of this capability greatly hinders my use of the product. True, I can use underlying technologies in the OS to compensate--but this is a messy way to do it. It's obvious from the other features that Virtualbox is getting some nice cleanup from a user interface perspective. Please make this one of the higher priorities for increasing the usability of the product.

comment:23 by jondo, 15 years ago

+1. Can someone add me to Cc, please?

comment:24 by Vincent, 15 years ago

+1, really a necessity. I'm new to virtualization, and for my purposes I don't see the point of any of it if one can't non-destructively examine previous states, or base multiple "branches" on a single snapshot.

If nothing else, showing the snapshot view as a "tree" is a clear bug if it's not actually a tree structure. How was this not a "top priority" before making it to 1.0?

comment:25 by Martin, 15 years ago

Could we have an update on this one please.

Thanks

comment:26 by sean, 15 years ago

+1 for this feature.

Is there any update, as to how this new feature is going? In implementation? Planned for what version? This would make VirtualBox a real competitor, and be shoulder to shoulder with VMware.

comment:27 by Florian, 15 years ago

+3 from me and my collegues, too

As developers we would love to use VirtualBox for testing, where a snapshot tree and the "start an old state --> new differential branch" feature is heavily needed.

comment:28 by Pavel Sutyrin, 15 years ago

+1.

It is very needed feature.

comment:29 by Jordan Tucker, 15 years ago

+2, my wife and I.

This is the only feature keeping me on VMWare. If VirtualBox supports this, I will switch over immediately.

comment:30 by nicorac, 15 years ago

+5 for me and my co-workers

This target could be reached in three steps:

  • "clone last state" feature, with a sort of merge of previous snapshots
  • shirinking shapshots, which seem to be bigger than the changes they hold
  • snapshot branching system

comment:31 by S. Ali Tokmen, 15 years ago

Another +1 :)


Hello

I've switched from VMWare Workstation to VirtualBox a few months ago. VirtualBox is an impressive product, be it for performance, seamless mode and many other nice features.

On the other hand, the absence of branching snapshots is a huge hole for me. I hope it will become available soon.

Thanks

  1. Ali Tokmen

http://ali.tokmen.com/

comment:32 by Tomas Basus, 15 years ago

+1

comment:33 by fixedd, 15 years ago

Throw another "me too" on the list.

comment:34 by VirtualBlackFox, 15 years ago

Add another +1 for me, it is really the only feature i miss from VMWare.

comment:35 by Roman Kennke, 15 years ago

I found that the requested feature is already there, it's just not obvious how to do it. I've written a small how to:

http://kennke.org/blog/2009/07/08/branching-snapshots-virtual-disks-in-virtualbox/

Still, I think this stuff is quite unintuitive and needs to be improved usability wise, and it should be documented.

in reply to:  35 comment:36 by VirtualBlackFox, 15 years ago

Replying to rkennke:

I found that the requested feature is already there, it's just not obvious how to do it. I've written a small how to:

Nice tutorial, but even with this it still miss the merging of multiple snapshoots to save space and continuing to work from any snapshoot like VMWare

comment:37 by umoeller, 15 years ago

No need for additional votes, we are working on branching snapshots. :-) Much of the back-end code is already there, but the APIs and GUI need work.

comment:38 by Graham, 15 years ago

Do we have an update? Is there a target release version? Thanks. Graham.

comment:39 by hansjeg, 15 years ago

I just started to work with VirtualBox a few days ago as Virtual PC does not support 64-bit guests. I immediately loved the snapshot idea which goes beyond the 'undo' feature of VPC where you basically have only one snapshot. From the GUI I was under the impression that you could branch snapshots, but unfortunately you can't. I ran into this request and noticed that back in february 2007 somebody stated that "this feature is planned". Now, back in July somebody says "no need for additional votes, we are working on branching snapshot". So, I cannot add a vote here, but like the previous poster, I would like to know when we can expect this very nice feature! Thanks, Hans.

comment:40 by umoeller, 15 years ago

We're really working on it. :-)

in reply to:  40 comment:41 by Martin, 15 years ago

Replying to umoeller:

We're really working on it. :-)

Any chance of an indicative date then? This one is really important to us.

In particular I hope that the implementation will allow the various files that make up a snapshot to be copied in a simple way so that they can be moved from one machine to another. The current architecture is very hard to deal with, and I think the balance had swung too far in the direction of ensuring consistency of all the parts vs usability.

comment:42 by Technologov, 14 years ago

Aha ! It works in VBox 3.1.0-BETA1 !

VBox developers: I recommend closing this wish.

At Last ! Opened almost 3 (!!!) years ago, and now completed ! Excellent Work !

-Technologov

comment:43 by Sander van Leeuwen, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use