Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Need help with backup/restore...

Discussion in 'Data Protection' started by PCZero, Aug 24, 2011.

  1. PCZero

    PCZero Well-Known Member

    Dec 13, 2003
    Likes Received:
    Trophy Points:
    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
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    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:

    /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:

    /scripts/restorepkg --force username
    Above username would be replaced by the cPanel username.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice