A. PERFORMING A FULL BACKUP ON AN INDIVIDUAL ACCOUNT VIA CPANEL
Objective: Create a compressed/zipped file of your entire site.
Step 1. Login to Cpanel
Step 2. Go to Download/Backup File
Step 3. Perform a FULL Backup/Generate FULL Backup
If you do not have an FTP server go ahead and save it to your home directory. It will actually save the
tar file in your /home/username directory.
This will create a tar file of the following format: backup-00.00.00_11-11-11_username.tar.gz tar
NOTE: You should move this file via SSH to a directory other than /home/username.
e.g. /my_backups/
B. RESTORING THE FILE
assume the backup file is named as follows:
/home/backup-00.00.00_11-11-11_username.tar.gz tar
it will probably best be located in a backup directory in root, e.g. /my_backups
/my_backups/backup-00.00.00_11-11-11_username.tar.gz tar
Regardless of where it is located:
Step 1. In SSH go to where the file is located:
root# cd /my_backups/backup-00.00.00_11-11-11_username.tar.gz tar
Step 2. Untar/Unzip the file
This will expand into a directory with the same name as the file (without the .tar.gz. on the end)
root# zxf backup-00.00.00_11-11-11_username.tar.gz
Step 3. Send a copy of the directory to the home directory (renamed as cpmove-username)
root# mv backup-00.00.00_11-11-11_username /home/cpmove-username
Step 4. Execute the backup script
root# /scripts/restorepkg username
Step 5. Check/change permissions
For whatever reason my chmod settings for /home/username/public_html were 750 and I changed it to 755 (751 might also work)
In SSH
root# cd /home/username/
root# chmod 755 public_html
Step 6. Reinstall any SSL Certs via WHM