|
|||
|
You could accomplish this either by making cpanel backups of all the sites on the server, and re-installing them on the new server. Or you could use rsync to move everything over to the new server (my preferred method).
__________________
Free cPanel hosting - Using cPanel in the most extreme conditions! 8 Years cPanel/WHM administration exp. |
|
|||
|
I would suggest you to take backup through Cpanel.By following the below steps you can easily generate the backup:-
1) To access the Backup Menu,WHM > Backup > Configure Backup 2) Click on Generate/Download a Full Backup 3) Now select the path of a folder on which you want to save the backup from the drop box next to Backup Destination: 4) Enter your email address in the field next to Email Address:. An email will be sent to this address when the backup is completed. 5) If you are backing up to a remote server, place the server's name, your username, and your password on that server in the appropriate fields. 6) Click on Generate Backup to start the backup process. |
|
||||
|
Mine is not like that
Under whm>backup>configurebackup, I do not have generate / download backup. Instead I have this
Configure Backup Backup Status Enabled Disabled Restore Only Backup Interval (Note: Selecting Daily backup will give you Monthly and Weekly as well unless you choose not to retain them below. Selecting Weekly backup will give you Monthly as well unless you choose not to retain them below.) Daily Weekly Monthly Backup Retention Daily Weekly Monthly Days to Run Backup Sunday Monday Tuesday Wednesday Thursday Friday Saturday Remount/Unmount Backup Drive (requires a separate drive/coda/nfs mount) Enabled Disabled Bail Out If Backup Drive Mount Fails (Recommended if Remount/Mount set) Enabled Disabled Incremental Backup (only backup what has changed. (**No Compression**, not compatible w/FTP backups) Enabled Disabled Backup Accounts Enabled Disabled Backup Configuration Files (not needed for account restoration) Enabled Disabled Backup SQL Databases (at least "Per Account" is needed to use the restore feature) Per Account Only Entire MySQL Directory Per Account and Entire MySQL Directory Backup Access Logs Enabled Disabled Backup Type Standard Remote FTP (Accounts Only) Remote FTP Host (Remote FTP Backup Only) FTP Backup User (Remote FTP Backup Only) FTP Backup Password (Remote FTP Backup Only) FTP Backup Directory (optional, a directory called cpbackup in the FTP account's directory root will be used if none specified) examples: /home/fred/cpbackup, /backup/cpbackup, /files/cpbackup) (Remote FTP Backup Only) FTP Backup Passive Mode (required if you are behind a firewall or FTP backups fail) Enabled Disabled Backup Destination (this should be a directory/NFS/Coda mount with at least twice the space of all your /home* partitions. Setting this to /home is a very bad idea.) Select Specific Users I have used this to do a full backup to the directory specified which is a directory on the local machine. I then wrote a shell script for rsync to sync the dir to my workstation for backup. This does accomplish my goal of backing up the machine. I was wondering if restoreing from these backup files would 100% duplicate my original machine, or if there were other files or configs that I might be missing afterward... |
|
|||
|
hi,
you should consider searching forum for server migration. there have been many expert threads which can walk you through the entire process. The generate backup option "Sean.barron" was refering to should be in user cpanel and not root WHM. Whm will let you specify what type of back up you wish to run for the server, however if you wish you can use the copy account from another server option from your new server, which will actually login to your accounts/server on old server, will package the account and move it to your new box.
__________________
Learn atleast A word Daily ![]() 6+1 Dedicated Boxes with cPanel...
|
|
|||
|
To take backups for cPanel server, you can do this in many ways
1. Account wise transfer # /scripts/pkgacct username this Is the best option as it takes care of emails / databases / .... On destination just restore it using # /scripts/restorepkg username 2. To transfer all the Accounts, On destination server GO to WHM >> Transfers >> Copy multiple accounts/packages from another server * provide the Information Like the Server type, IP , SSH port & Select the option "Do not compress transfers" In the Authentication, Select the Login type as "Root" Authentication method as "Password" & type the root password. Click on the "Fetch Account List" , now select all those Accounts that need to transfered ..... Click on "Copy" and Its done 3. For Server Migration - "rysnc" is the best # rsync -vrplogDtH -e "ssh -p ssh_port_no" /usr/local/apache/conf root@destination_server_IP:/usr/local/apache Similarly, rsync these /var/named /home/ /usr/share/ssl /usr/local/cpanel/3rdparty/mailman /var/log/bandwidth /var/spool/cron /usr/local/cpanel/bin/leechprotect * Once done, Fire these # /scripts/upcp # /scripts/updatenow # /scripts/sysup # /scripts/fixeverything # /scripts/eximup # /scripts/easyapache -- These are best ones for migration
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|