Re: KVM online backup images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have DRBD to another machine, that means that the LVM is replicated over the network, you can stop the replication process of the LVM and do the snapshot on the Secondary Host Machine (No VM poweroff on the Primary Host), then restart DRBD sync.

Live snapshot is something I am planing to do in the next few days.

You can do it either way, but if Live snapshot is feasible, then just a cron job of snashot and backup will sufice, although I do recomend to use also corosync and pacemaker for fail-over and the backup job to be more of a service that you can shutdown if something goes wrong.

This is an ongoing project so I am still learning a lot in the process with the little time I have.

Sorry for not having all the testing done and information at the moment.



On 11/27/2012 10:50 AM, Andry Michaelidou wrote:
Dear Rudi Servo,

So you actually have to power off VM guest to take the LVM snapshot and then synchronize the disk with DRDB.
Do you automated this procedure using a cronjob or anything similar? Did you restore an image with success?

Thank you all,

--
Andry Michaelidou Papa
| IT Systems Administrator |Department of Computer Science | University of Cyprus
Tel: +357.22.892734 | Fax: +357.22.8927231 | http://www.cs.ucy.ac.cy

On 27/11/2012 13:39, Philip Durbin wrote:
I don't believe that Centoss yet capable of such feature, live backup is recent and FAIK its available on Fedora 17/18.
To workaround this issue I use DRBD and LVM snapshot.

This feature is a must have since it's capable to snapshot disk-only (ie. qcow2), making easier to rsync and copy a entire disk without having the hole storage allocated or having big lvm's back and forth.

Hope I helped

On 11/27/2012 07:45 AM, Andry Michaelidou wrote:
Hello to you all!

We are implementing here at the University KVM virtualization for our servers and services and i was wondering if anyone try to automatically backup images.
I am actually using logical volumes for the VM guests. All virtual clients are installed in their LVM logical volume. We are already use IBM TSM for backup as we used to when we had physical machines, ie install client in OS and manage files and data backup.
I want to have an image backup additional to files backup, but i want to take the image online, without pause or suspend the VM guests.
Did anyone try to create image backups online? What about http://wiki.qemu.org/Features/Livebackup?
Can you please advise?

--
Andry Michaelidou Papa
| IT Systems Administrator |Department of Computer Science | University of Cyprus
Tel: +357.22.892734 | Fax: +357.22.8927231 | http://www.cs.ucy.ac.cy



_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt


_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt



_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux