Server to server Migration

How to backup / download or restore a client site from old host to new host via cpanel to cpanel ?

Login to clients old cpanel via IP and username password

http://00.00.00.00:2082 or http://00.00.00.00/cpanel
username - clients username
password- clients password

Go to Backups --> click on "Download or Generate a Full Backup"

under Generate a Full Backup --> Backup Destination: select Home Directory

Enter Email Address: test@test.com
Click on generate backup.

Once the backup is completed you will get an alert on the email address, however you can view the backup tar.gz file under "Download or Generate a Full Backup" as backup-5.17.2008_09-21-35_username.tar.gz

Then go to file manager -->Home Directory--> /home/username you will find "backup-5.17.2008_09-21-35_username.tar.gz"

Select the backup file and move the backup file to public_html

Then click on public_html. You will find the backup under it.

Select the backup file and click on change permission. change the permission to 644.

Once this has been done. Logon to our server and go to the path where the backup needs to be downloaded.

and wget the backup file on the server

wget http://00.00.00.00/~username/backup-5.17.2008_09-47-54_username.tar.gz

Then untar the following backup folder.

From shell to shell

SCP - secure copy (remote file copy program)

Syntax from source server:

scp [sourcepath] serverIP:/Destination Path


Exa: scp testscp 198.168.1.1:/home

Syntax from destination server:

scp [sourceserverip:/path of the files or folders] [destination path]

scp testscp 198.168.1.1:/home /home/test

How to download data from another server through "wget +ftp" ?

Fire this command from destination:

wget ftp://username:password@domainname.com * -r

Username - Domain ftp username
Password - ftp password
domainname.com - Domain name

    0 comments: