This content has been marked as final. Show 4 replies
yes, that is one common way to perform backups. Unfortunately, you'll have to script those things yourself. Some people also use the xm command to pause the VM for just the time it takes to create the reflinks (especially if there is more than one virtual disk in the machine and you want to make sure they are consistent).
You can read a bit more about it here:
VM Manager and VM Server - backup and recovery options
great article (in german but you can understand the scripts) about this http://www.trivadis.com/fileadmin/user_upload/PDFs/Trivadis_in_der_Presse/120601_DOAG-News_Snapshot_einer_VM_mit_Oracle_VM_3.pdf
and I have blogged about an alternative way where you clone a running machine and then backup that cloned (and stopped) machine
We back up our guests weekly by shutting down the the VMs by script using the OVM CLI and then copying the .img files to our media server where it's then backed up by tape. The script also turns them on again. I realize you can do clones then back the clones up, however I've already had some issues with that approach.
With Oracle VM Manager CLI 3.2.1 or later you can have all the featers like the GUI, so you can use a script to automate the bachup with the command.
clone Vm .... to create a snapshot and the commande clone VirtualDisk .... to exporte the disk image to an other repository (NFS repository for example).
or you can access to Oracle VM Server and use the commande reflink to create a snapshot and use the commande scp to create a backup and then remove the snapshot.
I hipe this can help you :)