Need help with backup/restore...

PCZero

Well-Known Member
Dec 13, 2003
774
103
193
Earth
I use a remote FTP back up to store back ups off site from my server. (Settings below.) How do I go about restoring an account if I need to do so?

WHM 11.30.2 (build 1)
REDHAT Enterprise 4 i686 standard on xxxxxxxx

Backup Status Enabled
Disabled Daily
Backup Retention Daily - Weekly - Monthly
Days to Run Backup (All)

Remount/Unmount Backup Drive Disabled
Bail Out If Backup Drive Mount Fails Disabled
Incremental Backup Disabled
Backup Accounts Enabled
Compress Account Backups Enabled
Backup Configuration Files Disabled
Backup SQL Databases Per Account Only
Backup Access Logs Disabled
Use local DNS zone files Disabled
Backup Type Remote FTP (Accounts Only)
Use Hard Links Disabled
Enable optimized account backup tool Disabled

Remote FTP Host ###.###.###.###
FTP Backup User XXXXXXXX
FTP Backup Password XXXXXXXX
FTP Backup Directory
FTP Backup Passive Mode Enabled
Backup Destination /backup
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
If an account needs restored, you can copy the backup file from the FTP backup to the cPanel machine in /home and then use WHM > Backup > Restore a Full Backup/cpmove file area to perform the restore.

Otherwise, in root SSH you can perform the restore again with the backup on the cPanel machine in /home:

Code:
/scripts/restorepkg username
Of note, if the account still exists, you would need to terminate it prior to performing the restore or send the --force flag during restore using command line:

Code:
/scripts/restorepkg --force username
Above username would be replaced by the cPanel username.