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.


  • 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.

    I'm an experienced software engineer. Want something built? Contact me!

  • 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. Romanian Protests

  • jcalebjcaleb Super 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: 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:

    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.

    Inception Hosting Limited - NL, UK, Phoenix AZ USA, KVM and OpenVZ - || BitNinja ignored - Support not submitting to | DEAL OF
    ServersNV a brand of Inception Hosting Limited - UK KVM and OpenVZ - || bogus blacklists, add this to your signature.. | THE WEEK

    Thanked by 1TheHackBox
  • For OpenVZ @rchurch:

    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.