file information ".vbox" ".vbox-prev"

This is for discussing general topics about how to use VirtualBox.
Post Reply
VirtualChecker
Posts: 6
Joined: 13. Apr 2013, 03:51

file information ".vbox" ".vbox-prev"

Post by VirtualChecker »

Hello

I apologize in advance for my bad English...


Looking for detailed documentation of exactly how they work and what is the difference in files ".vbox" ".vbox-prev"

Thanks for the answer
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: file information ".vbox" ".vbox-prev"

Post by mpack »

"vbox-prev" is a backup of the file contents prior to the most recent save. If the file is saved again then the "vbox-prev" file will be deleted, the existing "vbox" will be renamed to "vbox-prev", and a new "vbox" will be written.

You may also see a "vbox-tmp" - this is what will become the new "vbox", provided the shuffle described in the previous paragraph proceeds without a hitch.
VirtualChecker
Posts: 6
Joined: 13. Apr 2013, 03:51

Re: file information ".vbox" ".vbox-prev"

Post by VirtualChecker »

Thank you for the information

And under what circumstances, save settings (".vbox" > ".vbox-prev")

When something changes or every time I turn off the virtual session?
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: file information ".vbox" ".vbox-prev"

Post by mpack »

Surprisingly (as the question may seem obvious), I don't know. I believe the vbox file is updated every time the VM is run (e.g. recording last window size), and presumably also when settings changes are made. However I've never had a reason to check these assumptions.
Post Reply