Snapshot deleted VM will not restart

Discussions related to using VirtualBox on Windows hosts.
Post Reply
robocop
Posts: 4
Joined: 6. Feb 2016, 03:43

Snapshot deleted VM will not restart

Post by robocop »

VirtualBox 5.0.14 Windows Host
Vm with dynamic disk I mistakenly deleted a snapshot and vm and 'locked and does not start there' way to recover and or rebuild the disk?
I was trying to delete a series of old snapshots to free disk space, there are several.

Suggestions?

Thank you
robocop
Posts: 4
Joined: 6. Feb 2016, 03:43

Update - Snapshot deleted VM will not restart

Post by robocop »

Update -
I was able to start an old snapshot, losing the data after the snapshot deleted as per attached picture.
Attached img error when I try to restart the last snapshot.
Thanks for your help.
Attachments
VBOX-errore.png
VBOX-errore.png (13.16 KiB) Viewed 1049 times
VBOX.png
VBOX.png (53.73 KiB) Viewed 1049 times
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: Snapshot deleted VM will not restart

Post by mpack »

A snapshot chain is a series of differences from the previous state. If you delete the state <N> file using the host OS then all states >N are lost, permanently. Unless you have a backup of course.
robocop
Posts: 4
Joined: 6. Feb 2016, 03:43

Re: Snapshot deleted VM will not restart

Post by robocop »

mpack thanks for the reply

I know I did a stupid thing

thanks for the reply
robocop
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: Snapshot deleted VM will not restart

Post by mpack »

For future reference (and other readers):
  1. Never use the host OS to delete snapshot files. Always use the VirtualBox VM manager window.
  2. Better yet, avoid snapshots altogether. Yes, they are quick to create than a full backup, but they do NOT save you disk space and they are NOT substitutes for backups, as the above episode shows.
Post Reply