Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

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

rchurchrchurch Barred
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.

  • MaouniqueMaounique Host Rep, Veteran

    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

  • jcalebjcaleb Member
    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).

  • @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, Host Rep

    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.

    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.