OpenVZ Forum


Home » General » Support » migration?
Re: migration? [message #1494 is a reply to message #1491] Fri, 10 February 2006 02:35 Go to previous messageGo to previous message
alticon-brian is currently offline  alticon-brian
Messages: 27
Registered: February 2006
Location: Washington, DC
Junior Member
I may be completely wrong, but i'll give it a shot. It should be non-destructive so what the hey.

Try tar-ing up the VPS like so:

tar zcvf ~/newvps.tgz /vz/private/<vpsid> /etc/sysconfig/vz-scripts/<vpsid>.conf

this will create a tar and gzipped copy in your home directory with a copy of the vps config file. move the tgz to a new server, extract it and the move the directory into /vz/private.

Since there is some things that will need to be done with /proc as well you *may* need to create the vps with vzcreate and then move the files into place.

Just a couple of ideas to try until someone with a bit more experience comes along to give you the right answer.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 022stab064.1 source patch seems to cause "check_stack_overflow" in irq.c
Next Topic: Debian OS Template
Goto Forum:
  


Current Time: Sun Jul 21 16:13:55 GMT 2024

Total time taken to generate the page: 0.02348 seconds