Merging Snapshots via Vboxmanage
Posted: 14. Jul 2011, 08:13
Good morning,
i'm gettin a major headache. The last hours i've been working non-stop on solving my little VirtualBox problem.
It all started with a full dynamic vdi. In the process of enlarging it i messed up big time.
Thank goodness i made a backup of ..\Harddisks and ..\Machines.
I want to achieve the following.
Merge all snapshots by starting with the newest one. After merging and writing all the differencing information i'm planning to merge it in a final step with the vdi file in ..\Harddisks.
In ..\Machines i checked the xml file for all the snapshots uuids.
The setup:
Snapshot 1
- Snapshot 2
- Snapshot 3
- Snapshot 4
- Snapshot 5
Now i want to delete Snapshot 5 to trigger integrating of differencing information into Snapshot 4.
But it seems i can't get the command right.
I've created a batch file for more convenience usage.
Contents of .bat:
@ECHO OFF
"c:\program files\oracle\virtualbox\vboxmanage.exe" snapshot "j:\_virtualbox\_Backup\Machines\winxp\snapshots\{2a8c0a36-f146-4ad6-ab63-ebb03ee3dea9}.vdi" delete
Pause
That command appears to be wrong. Says vboxmanage could not find a registered machine named 'j:....vdi'
I hope some1 can pinpoint me in the right direction.
Thanks in advance.
Greetings
i'm gettin a major headache. The last hours i've been working non-stop on solving my little VirtualBox problem.
It all started with a full dynamic vdi. In the process of enlarging it i messed up big time.
Thank goodness i made a backup of ..\Harddisks and ..\Machines.
I want to achieve the following.
Merge all snapshots by starting with the newest one. After merging and writing all the differencing information i'm planning to merge it in a final step with the vdi file in ..\Harddisks.
In ..\Machines i checked the xml file for all the snapshots uuids.
The setup:
Snapshot 1
- Snapshot 2
- Snapshot 3
- Snapshot 4
- Snapshot 5
Now i want to delete Snapshot 5 to trigger integrating of differencing information into Snapshot 4.
But it seems i can't get the command right.
I've created a batch file for more convenience usage.
Contents of .bat:
@ECHO OFF
"c:\program files\oracle\virtualbox\vboxmanage.exe" snapshot "j:\_virtualbox\_Backup\Machines\winxp\snapshots\{2a8c0a36-f146-4ad6-ab63-ebb03ee3dea9}.vdi" delete
Pause
That command appears to be wrong. Says vboxmanage could not find a registered machine named 'j:....vdi'
I hope some1 can pinpoint me in the right direction.
Thanks in advance.
Greetings