Project

General

Profile

Support #439

Updated by Daniel Curtis over 10 years ago

While managing a small NodeJS instance, I decided to upgrade to the newest development branch of the software I am using. Since I am using VirtualBox, I chose take advantage of the snapshot capability; by taking a preliminary snapshot and then upgrading, I can then revert to that snapshot if the upgrade fails. It's the perfect server undo button.  

 * If you are going for VirtualBox you can take the snapshot from the graphical user interface or from the command line: 
 <pre> 
 VBoxManage snapshot "examplevm" take "prebackup" --live 
 </pre> 
 NOTE: The above command will take a live snapshot of the virtual machine, without interrupting any functions the VM is providing. The --pause command can be used to pause the VM while snapshotting. 

 * After the snapshot creation is completed, you can power off the machine and restore it: 
 <pre> 
 VBoxManage snapshot "examplevm" restorecurrent 
 </pre> 

 h2. Resources 

 * https://www.virtualbox.org/manual/ch08.html

Back