<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>I can give you my example:<br><br>I'm currently backing up my datastores (/var/lib/one/datastore) directories, the database and my One server.<br>- I issue a virsh suspend for all VMs running on my one hosts, then do a snapshot on my storage device (you can also do it with LVM), and then I copy the directory contents from the snapshot to tape.<br>- I also dump the One database with Mysql dump, and also copy to the same tape<br>- As my One server is virtualized I also copy it's VM to storage (don't suspend it tho)<br><br>In case of disaster:<br>- I restore the One server<br>- Then I restore the database<br>- Then, I restore the datastore directories<br>- And then I start the One daemons<br><br>In case I just want to retrieve a VM<br><br>Scenario 1: the vm is still running<br>- I shutdown the VM<br>- Restore the /var/lib/one/datastore/<system>/<vm id> directory<br>- Power on the VM again<br><br>Scenario 2: the vm was deleted, and I want it back to the One server<br>- Restore the /var/lib/one/datastore/<system>/<vm id> directory<br>- Create a new machine, from the same template, and power it off<br>- Copy the disk from the restored machine to the new machine<br>- Power the machine on<br><br>Scenario 3: the vm was deleted, and I just want my data<br>- Restore the /var/lib/one/datastore/<system>/<vm id> directory<br>- use libguestfs to get the contents from the virtual disk, if it is a qcow2; use a mount -o loop if it is raw<br><br>Regards,<br>Ricardo<br><br><div><hr id="stopSpelling">Date: Tue, 15 Oct 2013 17:29:21 +0800<br>From: hanshizhunjob@126.com<br>To: users@lists.opennebula.org<br>Subject: [one-users] can I bakup vm use opennebula<br><br><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial;">hi,man<div>can I bakup vm use opennebula?how? i does not find ,could you give me some advices?</div></div><br><br><span title="neteasefooter"><span id="ecxnetease_mail_footer"></span></span><br>_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</div>                                         </div></body>
</html>