hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS Transfer of data to from any vps platform to openvz+solusvm
Reply

Forum Jump

VPS Transfer of data to from any vps platform to openvz+solusvm

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-01-2010, 01:13 PM
sven30 sven30 is offline
Junior Guru Wannabe
 
Join Date: Apr 2009
Posts: 87

VPS Transfer of data to from any vps platform to openvz+solusvm


I'm kind of new to vps' and sysadmin stuff... but I'm getting the knack of it pretty quickly. I just transferred a vps from solusvm to solusvm which wasn't too hard because i just rsynced the /vz/root/CTID folder over and imported the vps on new server for that client and just updated the conf file settings in /etc/vz/conf/CTID.conf and rebooted...voila!

this is why I like the way solusvm + openvz platform as it is very easy to manage and understand even on the main centos node in SSH. you can see each individual folder/files of the vps' OS in the /vz/root/CTID. I've installed other vps' on xen and it was weird, like the vps was a lvm partition (pvcreated) or it was a tgz file that I couldn't view it's files on main node at all.

which brings me to the question... what if you transfer a vps from a different platform that's using these lvm partitions or tgz to solusvm openvz. Is there a trick to rsyncing these types of vps' and then Does solusvm somehow import those partitions as well or is there something special you have to do with these kinds of vps data, like unpack before rsync or something? I'd like to know in case I come across a client that wants to transfer from a different vps platform. Also, maybe others might want to know too.



Sponsored Links
  #2  
Old 07-01-2010, 01:16 PM
Rus Foster Rus Foster is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: UK
Posts: 6,592
SolusVM users tar.gz templates which it then unpacks onto the LVM which are then booted as the root filesystem of the Xen VM

__________________
Rus Foster - Director of Cloud @ UK2 Group
VPS.net - True Cloud Hosting powered by OnApp and HP SANS
Tel: +447714137805 | Email: rghf@uk2group.com

  #3  
Old 07-01-2010, 01:23 PM
sven30 sven30 is offline
Junior Guru Wannabe
 
Join Date: Apr 2009
Posts: 87
a thought just occured to me as I posted this. it would probably be best just to rsync / (whole vps root) directly from the remote vps root using root login or key? like this:

rsync -avz --delete -e "ssh -i /root/.ssh/id_dsa -pxxxx" remotevpsIP:/ /vz/root/CTID/

and then import into solusvm tool and reboot.


Last edited by sven30; 07-01-2010 at 01:27 PM.
Sponsored Links
  #4  
Old 07-02-2010, 09:15 AM
ControlVM ControlVM is offline
We Love Xen® Hypervisor
 
Join Date: Aug 2009
Posts: 3,157
if you are on openvz, try this command to backup whole vps:



$sudo tar cvzpf /backup/Backup.tgz --same-owner --exclude=/backup/Backup.tgz --exclude=/backup/error.log --exclude=/proc/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* / 2>/backup/error.log


* and restore on new vps with:
$sudo tar xvzf /home/Backup.tgz -C /


make sure you change or update all the network file and ips before you log out.

__________________
ControlVM Technology
SSD KVM VPSForex VPSXen VPS Hosted PBX ● Hosted VoIP VPS
6 Data Centers: USA (Los Angeles - - Kansas City - - Phoenix) ● Germany Malaysia Singapore


  #5  
Old 07-02-2010, 07:23 PM
sven30 sven30 is offline
Junior Guru Wannabe
 
Join Date: Apr 2009
Posts: 87
Quote:
Originally Posted by CH Hosting View Post
if you are on openvz, try this command to backup whole vps:



$sudo tar cvzpf /backup/Backup.tgz --same-owner --exclude=/backup/Backup.tgz --exclude=/backup/error.log --exclude=/proc/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* / 2>/backup/error.log


* and restore on new vps with:
$sudo tar xvzf /home/Backup.tgz -C /


make sure you change or update all the network file and ips before you log out.
Thanks! yeah I see the exclusions, that must be the correct way to do it... this would be for backing up any centos system right? What if there is no room left on the vps you're backing up? Then I guess rsync with the same exclusions?

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
UK/US- Xen and OpenVZ VPS Servers, SolusVM, High Bandwidth, 50% Discount - From £2.49 ThomasC VPS Hosting Offers 4 03-09-2010 05:11 PM
VPS: solusvm - openvz hbhb Hosting Security and Technology 4 12-31-2009 10:24 AM
[US] VPS Plug - No Frills VPS Hosting, OpenVZ plus SolusVM - 50% Off VirtualSRV VPS Hosting Offers 2 11-05-2009 10:47 AM
[US/CA/UK] SuperBytes ~ OpenVZ VPS From $4.50 USD! SolusVM Matt - Kerplunc VPS Hosting Offers 0 10-18-2009 03:31 AM
[US/CA/UK] SuperBytes ~ VPS From $4.50 a month! OpenVZ+SolusVM CP! Matt - Kerplunc VPS Hosting Offers 0 10-03-2009 06:57 PM

Related posts from TheWhir.com
Title Type Date Posted
OnApp Buys IaaS Platform for Web Hosts, SolusVM Web Hosting News 2014-09-16 09:26:40
Cloud Providers Could Face Scrutiny as Europe’s Privacy Watchdog Calls for Stronger Data Protection Web Hosting News 2014-07-16 14:16:16
IBM Acquisition of Aspera Expected to Boost File Transfer Speeds in Hosted Applications Web Hosting News 2013-12-23 17:56:08
Savvis Releases Limited Availability of Cloud Storage Service Based on EMC Atmos Platform Web Hosting News 2012-12-03 15:17:24
cPanel Conference 2012: Virtualize All the Things with Nate Custer Web Hosting News 2012-11-12 13:54:36


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?