Page 1 of 1
SAV files and moving a VM
Posted: 8. Feb 2018, 18:09
by ccw
(VBox 5.1.14) I am looking to use vboxmanage modifymedium to move a VM to another drive location. The VM has a couple of snapshots and 3 SAV files. The VM is in the "Saved" state because there are some app settings (not vbox related) that are reset when the VM is shut down.
How does modifymedium... --move affect the sav files? Does it matter?
Aside from medium registration and attachment considerations, would cloning accomplish the same thing as --move ?
Thank you,
ccw
Re: SAV files and moving a VM
Posted: 8. Feb 2018, 20:40
by mpack
A "sav" file is a memory dump, not a disk image, so modifymedium doesn't affect it in the slightest.
That said, the thought occurs: I'm not aware of a useful role for "modifymedium" in moving a VM. The recommended method of moving a VM can be found here:
FAQ: How to move a VM.
Re: SAV files and moving a VM
Posted: 8. Feb 2018, 20:49
by socratis
mpack wrote:I'm not aware of a useful role for "modifymedium" in moving a VM.
Not a VM, but a medium, be it in a VM or not:
8.23. VBoxManage modifymedium wrote:The "--move <path>" option can be used to relocate a medium to a different location <path> on the host file system. The path can be either relative to the current directory or absolute.
It does absolutely
bupkis for a VM, it only manages to fragment it, if you ask me...
Re: SAV files and moving a VM
Posted: 9. Feb 2018, 17:40
by ccw
Thanks, guys!! I used the simple procedure in the link given and it worked fine.
1. Windows Copy the whole VM folder. So will have duplicate UUIDs.
2. Remove the old VM using the VBox Manager GUI.
3. Remove (whether to delete is optional) the old virtual disk files using the Virtual Media Manager GUI.
4. Use Machine>>Add in the VBox Manager GUI to register the new (copied in #1 above) VM.
Simple.
~ccw
btw, the SAV files are copied with the other folder contents, and starting the new copy of the VM appears to resume the last saved state.