[Users] rsync to cone VPS - Urgent for me.

Kir Kolyshkin kir at openvz.org
Mon May 15 16:14:35 EDT 2006


Stop most of the processes -- as much as you can, leaving just init and 
sshd -- and do rsync.

Something like this should work (from your own server):

# mkdir /vz/private/200
# rsync -aH --progress root at x.x.x.x:/ /vz/private/200/

Then create a VPS config:
vzctl set 200 --applyconfig vps.basic --save

Then try to start your new VPS:
vzctl start 200

Next step is to resolve the issues that might arise. As an example: a 
VPS may be failed to start because it tries to set up system time (which 
is usually forbidden in a VPS). So what you need to do in this very case 
is to disable or comment out the code which sets the system clock. Since 
this is usually shell code it should not create any problem.

Regards,
  Kir.

abhishek jain wrote:

> Dear Friends,
> Thanks all i need to clone a VPS , one VPS is a running VPS over whom 
> i have root access only and is hosted ona server of which i do not 
> have root access.
> Now i want to clone this VPS on to a new VPS (the server of which i 
> have root access), I mean i want the VPS to be moved to mine Server.
> How to do so,
> I think rsync can be used , but i do not know how to use that ,pl . 
> guide me towards that.
> Thanks,
> Jain
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openvz.org
>https://openvz.org/mailman/listinfo/users
>  
>



More information about the Users mailing list