Deleting top-level and nested snapshots

This is for discussing general topics about how to use VirtualBox.
Post Reply
CodingButStillAlice
Posts: 2
Joined: 10. Feb 2014, 11:15

Deleting top-level and nested snapshots

Post by CodingButStillAlice »

Dear colleagues!


I need to delete some snapshots of my "Windows 7 virtual machine" in order to free diskspace. I run VirtualBox version 4.1.12_Ubuntu.

I have a nested hierarchy of snapshots, looking like the following:

Code: Select all

+ Initial
   + A
     + - B
         + - B1
     + -  C
           + - C1
                 + - C2
                      +- C3
            + Current state
      + -  D
My questions are:

1.) If I delete A (which is dervied from initial and father node of B, C, D and their subtrees), will the rest of the tree be kept?

2.) Is it generally safe to delete any snapshot from the tree?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Deleting top-level and nested snapshots

Post by socratis »

If you delete A the changes between A and B will propagate to B. I'm not sure about C and D, but I'm willing to bet that they will. Now, since we can't go on bets and hunches, I would definitely back up the whole tree before attempting to try it out.
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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Deleting top-level and nested snapshots

Post by mpack »

Actually, if A is the shared branching point for snapshots B,C and D then I don't believe it will let you delete A, because that would in effect create 3 VMs in one wrapper.

I believe your best best is to create full (not linked, and don't preserve snapshot structure) VM clones of the B, C and D states (rather: each of the child states you want to keep) - then after testing all of them you can delete the original VM.
CodingButStillAlice
Posts: 2
Joined: 10. Feb 2014, 11:15

Re: Deleting top-level and nested snapshots

Post by CodingButStillAlice »

Thanks a lot for your help!!!
Post Reply