Actions

Backup VMs

From Whonix


Isolated-316392640.jpg

Overview - Ways to Backup Whonix ™ VMs[edit]

There is not a great and simple way to make backups yet. Best you can do is either:

  • File Transfer
  • and/or use the export feature of VirtualBox, that will create standalone .ova files which you should be able to easily import on any other machine and/or
  • Create a copy of your VM files. There is some important knowledge you have to be aware of, this is documented below.

General Important Recommendation[edit]

Creating backups is only the first step. You should do a test run if you are actually to restore your backup. Otherwise you may experience a nasty surprise that some files are missing for successful restore.

Important Knowledge[edit]

VirtualBox[edit]

~/VirtualBox VMs Folder[edit]

If you want to copy your VirtualBox's to another harddrive, only creating a backup of your ~/VirtualBox VMs folder won't suffice. You have to remember to have a backup of your VirtualBox settings folder (~/.VirtualBox) as well, because manually re-creating that folder is difficult and undocumented by VirtualBox's documentation.

Using VirtualBox's VM Cloning Feature for Backups is not Simple[edit]

The clone feature of VirtualBox is not very user friendly for backups for the same reason as above. It works, for cloning VMs, but it is not very useful for easy backups, because general VM settings are still stored in your home folder (~/.VirtualBox) and these are difficult to restore as mentioned above. So if you use the clone feature and backup your VMs on a different harddrive, you have to remember to have a backup of your VirtualBox settings folder (~/.VirtualBox) as well.

Backup VirtualBox Settings Files[edit]

Turn off VirtualBox before attempting to backup the VirtualBox's settings folder (~/.VirtualBox).

When you change VM settings, add/remove VMs, add/remove virtual hdds, add/remove snapshots you should create a new backup.

Advanced Users[edit]

VirtualBox[edit]

Adding your VirtualBox settings folder to a revision control system [archive] such as git [archive] is a good addition to backups of VirtualBox's settings folder. Should VirtualBox damage your settings file and its backup file (happens sometimes), you can try a recent backup from an earlier git revision.

See Also[edit]



Fosshost is sponsors Kicksecure ™ stage server 100px
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: Discourse logo.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contribute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png link=mailto:?subject=Backup VMs&body=./Backup_VMs link=https://reddit.com/submit?url=./Backup_VMs&title=Backup VMs link=https://news.ycombinator.com/submitlink?u=./Backup_VMs&t=Backup VMs link=https://mastodon.technology/share?message=Backup VMs%20./Backup_VMs&t=Backup VMs

Twitter-share-button.png Facebook-share-button.png Telegram-share.png link=mailto:?subject=Backup VMs&body=./Backup_VMs link=https://reddit.com/submit?url=./Backup_VMs&title=Backup VMs link=https://news.ycombinator.com/submitlink?u=./Backup_VMs&t=Backup VMs link=https://mastodon.technology/share?message=Backup VMs%20./Backup_VMs&t=Backup VMs

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.