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

Re: [Xen-users] Backup solution

  • To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
  • Date: Mon, 02 Jul 2007 16:52:16 +0700
  • Delivery-date: Mon, 02 Jul 2007 02:50:25 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Xin Chen wrote:
> but LVM snapshot still has risk, must be survived from a  power failture.
> correct me if i am wrong...
> what I do now is shutdown, copy, start....

However, for production system, you'd generally design a system that
MUST be able to survive a power failure/hard reboot anyway. This means
activating archive log (for Oracle), using Innodb (MySQL), using
journaling filesystem, etc. So this shouldn't be an issue.

Reading Jordi's post I assume his priority was how to keep the VM during
backups, so LVM snapshot should be a feasible solution.



> Fajar A. Nugraha wrote:
>> Jordi Espasa Clofent wrote:
>>> Hi all,
>>> We are planning to use XEN VPS in production environment. Before it we
>>> need to design a realiable backup policy for obvious reasons. I view
>>> two approaches:
>>> a) Use a "snapshot" system for backup ALL VM file (image).
>>> b) Use a traditional backup system (rsync, tar, cpio) for backup
>>> SELECTED data into VM.
>>> I prefer A option but I've read in this list it is not possible unless
>>> you stop de VM during a few time (the time required for backup
>>> operation itself).
>> If your vm image are files, and use LVM snapshot, you don't need to STOP
>> the VM for backup.
>> This thread might help you :
>> http://lists.xensource.com/archives/html/xen-users/2007-06/msg00688.html
>> Regards,
>> Fajar

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.