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] Migration by copying files/folder

To: howard chen <howachen@xxxxxxxxx>
Subject: Re: [Xen-users] Migration by copying files/folder
From: Fabian Zimmermann <xen-users@xxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 19:34:24 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Jun 2009 10:34:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b66ddc900906231015v606e0ffcn63f75826933adef8@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b66ddc900906231015v606e0ffcn63f75826933adef8@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
Hi howard chen,
If I rsync the following folders from one guest to another guest for
complete system migration, is it safe?
...
p.s. I cannot use live migration or other tools since I don't have
control to the host. I can only control the guest.
worst option - online:
It's possible, but you will not get consistent data.

better option - lvm:
Install LVM on both guests, create a snapshot of src-guest and copy the data to dst-guest.
Pro: + consistent data (ok, maybe you should shutdown dbs..)
Con: - you will loose every change between snapshot-creation and transfer-finished.

best option - offline:
I would shutdown both guests and start the sync (may you can boot a rescue-system?)

Maybe it helps,

Fabian


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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