Skip to content

Snapshotting VirtualBox

rzhang0720 edited this page Oct 6, 2017 · 12 revisions
  • Vagrant built in snapshotting (estimated time: <10 minute)

    • use vagrant snapshot save RDFS_VM <snapshot-name> to take a shapshot
      • replace <snapshot-name> with whatever you want.
      • If you get a message saying The machine with the name 'RDFS_VM' was not found configured for this Vagrant environment., then run vagrant status to get a list of your running machines. Replace RDFS_VM with the name of the machine you are trying to snapshot, and try it again.
    • vagrant snapshot restore RDFS_VM <snapshot-name> to restore the most recent snapshot
    • more commands
  • Rebuilding the local disk (estimated time: 1 minute)

    • Shut down the VM by using vagrant halt
    • In the VirtualBox GUI, click on File->Virtual Media Manager
    • Click on raw_storage.vdi, then hit the Release button followed by the Remove button
    • Run vagrant up to restart the virtual machine, which will automatically rebuild the raw storage from scratch.

Clone this wiki locally