How to move OpenVZ based VPS's from one server to another.

Discussion in 'Site & Server Administration' started by jaguar34, Dec 31, 2009.

  1. #1
    I have a Cent OS 5.4 64 bit server and now I want to move all the VPS's from this server to another Cent OS 5.4 64 bit server. The VPS's are based on OpenVZ. How do I move the VPS's, guide me in this regard?
     
    jaguar34, Dec 31, 2009 IP
  2. ishan

    ishan Prominent Member

    Messages:
    2,212
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    325
    #2
    I would suggest creating the vpses on the new server first. Then delete everything inside the newly created vps.
    Create a tarball of each vps on old server, and then untar them on the newly created vpses.

    Ishan
     
    ishan, Dec 31, 2009 IP
  3. ServerMax-R

    ServerMax-R Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do you have a Vps control panel? If so, all of them have a built in transfer function.
     
    ServerMax-R, Dec 31, 2009 IP
  4. zro

    zro Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    need to generate ssh public keys on servers and use the tool vzmigrate

    vzmigrate --online <host> VEID
    Code (markup):
     
    zro, Jan 4, 2010 IP