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] Convert CentOS system to Xen image?

On Wed, Apr 2, 2008 at 9:52 AM, Igor Chubin <igor@xxxxxxx> wrote:
>  If I understand you right,
>  you say that
>
>
>  hostA# dump / | ssh hostB restore
>
>  is more effective than:
>
>  hostA# rsync -a / hostB:/

i like to use rsync to replicate running servers.  of course, for
one-shot copy it's no faster than other dump-transfer-restore schemas;
but it's quite easy to use to quickly converge almost to a 'snapshot'
capability:

1: do a full rsync, might take tooo long, lots of stuff wouldn't be
really consistent
2: repeat rsync, should be far faster, copying only the differences.
3: keep repeating until the whole copy is comfortably short. usually
the third iteration is less than a couple minutes
4: quick: shut down services, one last rsync, start services.
5: done!


-- 
Javier

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

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