Backup automatizado do VirtualBox (Linux)

De Wiki Hackstore
VBoxManage list vms|cut -d" " -f1
VBoxManage list runningvms


VBoxManage controlvm w2k8-r2-64bits savestate



date +%d-%m-%Y


VBoxManage snapshot w2k8-r2-64bits take w2k8-r2-64bits-`date +%d-%m-%Y` --pause


  1. listar snapshots
VBoxManage snapshot w2k8-r2-64bits list


  1. apagar snapshot
VBoxManage snapshot w2k8-r2-64bits delete 4f11d2c7-a2f2-47ac-b9f0-8751e5e34d47