Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

How easy is it to transfer a backup of a Xen PV/ OpenVZ server to another?

How easy is it to transfer a backup of a Xen PV/ OpenVZ server to another?

rchurchrchurch Member
edited October 2012 in Help

How easy is it to transfer a backup of OpenVZ or a Xen PV server to another?

Do somethings have to be the same on both servers, host node architecture, host node kernel, vm kernel?

How many providers will attempt it as part of their service? No extra charges.

Comments

  • jhjh Member

    It's not hard and doesn't have a lot of special requirements really. It does take up some time so I wouldn't be surprised if an unmanaged/cheap host charged you for it.

  • It is not hard but it takes some time. Some might charge a lot, others might do it for free, there are many nice ppl here among providers. It depends how you put up the issue, tho. M

    If privacy is outlawed, only outlaws will have privacy.

  • jcalebjcaleb Moderator
    edited October 2012

    Not sure if this is a dumb question. But can I tar gzip the entire / directory and restore on another vps by just extracting on command line? assuming same distribution (e.g. debian 6).

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • @jcaleb really depends:

    for openvz, tgz usually works, make sure you adjust the container's config file if needed, though.

    The Solus Wiki has some good info on Xen VMs: http://wiki.solusvm.com/index.php/Xen_Migrations If you are using LVM, and if you leave out the Solus specifics (vm-migrate script for example), this can be a very helpful guideline.

    Here is a tar version: http://saamyvkl.blogspot.co.at/2012/03/xen-pv-migration.html

    Hope it helps a bit! Make sure that you try this on a test VM until you are sure the VM works on the new node :-)

    cheers - oz.

    Thanked by 2jcaleb HalfEatenPie
  • AnthonySmithAnthonySmith Member, Provider

    Not hard at all for Xen PV, I assume even easier for OpenVZ, I have always offered a copy of your .img file to download on request, to date I have only done one transfer in from another host like that though, no great hardship as long as you dont expect immediate results.

    LittleHappyCloud NL KVM with 1TB BW for €3.00 p/½Year | LowEndSpirit 12 Locations - OpenVZ for €3.00 p/Year | Inception Hosting Xen PV+HVM Services UK/NL/USA

    Thanked by 1TheHackBox
  • For OpenVZ @rchurch: http://wiki.frantech.ca/index.php/migrate_openvz

    tar cvpPSf - --numeric-owner -X /dev/shm/exclude.txt / | ssh root@ "tar xpPSf - --numeric-owner -C /"
    

    -

    Thanked by 1rchurch
Sign In or Register to comment.