WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Backup solution

To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Backup solution
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4688C54D.2050305@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4688B9D1.8000606@xxxxxxxxxxxxx> <4688BCA3.4070200@xxxxxxxxxxxxx> <4688C54D.2050305@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (X11/20070604)
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....
>

Correct.
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.

Regards,

Fajar

> 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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>