aaaaaaa
. ............. .
Here is a usefull & simple way to transfer all your accounts/websites, from one virtual private server to another. We will be using SSH to do this.
1. Login to the old server and make sure it has enough disk space for all accounts to be backed up. I recommand using Putty which can be downloaded here: http://www.putty.org/
2. mkdir /home/massbackup
3. for i in `ls -1 /var/cpanel/users`;do echo $i >> /home/massbackup/accts;/scripts/pkgacct $i;mv /home/cpmove-* /home/massbackup;done
4. cd /home;tar zcpf massbackup.tar.gz massbackup
5. scp /home/massbackup.tar.gz root@xx.xx.xx.xx:/home/ ”Replace xx.xx.xx.xx with your NEW server IP”
6. Enter root’s password of new VPS.
7. Now close your putty connection with the OLD VPS and login to the NEW VPS using Putty.
8. cd /home;tar zxpf massbackup.tar.gz;mv massbackup/* /home;for i in `cat /home/accts`;do echo restoring $i;/scripts/restorepkg $i;done
Your done! Hope you find this information usefull
1. Login to the old server and make sure it has enough disk space for all accounts to be backed up. I recommand using Putty which can be downloaded here: http://www.putty.org/
2. mkdir /home/massbackup
3. for i in `ls -1 /var/cpanel/users`;do echo $i >> /home/massbackup/accts;/scripts/pkgacct $i;mv /home/cpmove-* /home/massbackup;done
4. cd /home;tar zcpf massbackup.tar.gz massbackup
5. scp /home/massbackup.tar.gz root@xx.xx.xx.xx:/home/ ”Replace xx.xx.xx.xx with your NEW server IP”
6. Enter root’s password of new VPS.
7. Now close your putty connection with the OLD VPS and login to the NEW VPS using Putty.
8. cd /home;tar zxpf massbackup.tar.gz;mv massbackup/* /home;for i in `cat /home/accts`;do echo restoring $i;/scripts/restorepkg $i;done
Your done! Hope you find this information usefull
Subscribe to:
Post Comments (Atom)
Labels
Blog Archive
-
▼
2009
(11)
-
▼
August
(9)
- VPS Hosting vs Dedicated Hosting
- Shared Vs Managed Web Hosting - Which is the Best?
- How to Transfer websites from one VPS to another
- How to Choose a web host.
- cPanel Guide
- Web Hosting Guide
- How to Transfer a Website to a New Host
- Dedicated Servers and Dedicated IP's
- Shared Web Hosting Plan: Increase Your Traffic
-
▼
August
(9)
0 comments: