Results 1 to 5 of 5
-
07-01-2010, 01:13 PM #1Junior Guru Wannabe
- Join Date
- Apr 2009
- Posts
- 88
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.
-
07-01-2010, 01:16 PM #2Web Hosting Master
- Join Date
- Jun 2003
- Location
- UK
- Posts
- 6,616
SolusVM users tar.gz templates which it then unpacks onto the LVM which are then booted as the root filesystem of the Xen VM
Russ Foster - Industry Curmudgeon
Freelance Sysadmin for Hire - email vaserv@gmail.com
-
07-01-2010, 01:23 PM #3Junior Guru Wannabe
- Join Date
- Apr 2009
- Posts
- 88
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.
-
07-02-2010, 09:15 AM #4Web Hosting Master
- Join Date
- Aug 2009
- Posts
- 3,207
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.com :: Elastic Cloud Hosting Alternatives to VPS ● Reliable Cloud Server
█ Enterprise Hosting @ Malaysia ● Germany ● USA ● Singapore
We Accept: Paypal ● Alipay ● GrabPay ● Credit/Debit Card ● FPX Bank Transfer ● Bank TT
-
07-02-2010, 07:23 PM #5Junior Guru Wannabe
- Join Date
- Apr 2009
- Posts
- 88
Similar Threads
-
UK/US- Xen and OpenVZ VPS Servers, SolusVM, High Bandwidth, 50% Discount - From £2.49
By ThomasC in forum VPS Hosting OffersReplies: 4Last Post: 03-09-2010, 05:11 PM -
VPS: solusvm - openvz
By hbhb in forum Hosting Security and TechnologyReplies: 4Last Post: 12-31-2009, 10:24 AM -
[US] VPS Plug - No Frills VPS Hosting, OpenVZ plus SolusVM - 50% Off
By VirtualSRV in forum VPS Hosting OffersReplies: 2Last Post: 11-05-2009, 10:47 AM -
[US/CA/UK] SuperBytes ~ OpenVZ VPS From $4.50 USD! SolusVM
By Matt - Kerplunc in forum VPS Hosting OffersReplies: 0Last Post: 10-18-2009, 03:31 AM -
[US/CA/UK] SuperBytes ~ VPS From $4.50 a month! OpenVZ+SolusVM CP!
By Matt - Kerplunc in forum VPS Hosting OffersReplies: 0Last Post: 10-03-2009, 06:57 PM