From: Liam Helmer (linuxlists_at_thevenue.org)
Date: Fri 23 Jul 2004 - 01:02:01 BST
>From the list archives: 1 vserver copied to another thread...
This looks pretty complete, and it's designed for copying 1 live server
to a new server.
Cheers,
Liam
-----Forwarded Message-----
> From: Joel Vandal <jvandal_at_infoteck.qc.ca>
> To: vserver_at_list.linux-vserver.org
> Subject: Re: [Vserver] rsyncing vservers from one machine to another
> Date: Tue, 01 Jun 2004 08:10:30 -0400
>
> > > rsync -vazPxle ssh --numeric-ids --delete --exclude=*/log
> > > --exclude=*/*/log --exclude=*/*/*/log --exclude=*/*/*/*/log
> > > --exclude=*/*/*/*/*/log --exclude=*/*/*/*/*/*/log
> > > --exclude=*/*/*/*/*/*/*/log --exclude=*/proc --exclude=*/dev
> > > --exclude=*/*/nslog --exclude=*/*/*/nslog --exclude=*/*/*/*/nslog
> > > --exclude=*/*/*/*/*/nslog --exclude=*/*/*/*/*/*/nslog
> > > --exclude=*/*/*/*/*/*/*/nslog --bwlimit=100 --hard-links
> > > someserver.acornhosting.net:/vservers/ /server/rs1
>
> You can also replace all */*/*/*/log. by a simple */log
>
> rsync -vazPxle ssh --numeric-ids --delete \
> --exclude=*/log \
> --exclude=*/proc \
> --exclude=*/dev \
> --exclude=*/nslog \
> --bwlimit=100 --hard-links ${SOURCE} ${DEST}
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver