Overview
Important:
To use this feature, you must enable account backups and the Retain Backups in the Default Backup Directory setting in WHM's Backup Configuration interface (WHM >> Home >> Backup >> Backup Configuration).
WHM's Backup Configuration interface (Home >> Backup >> Backup Configuration) allows you and your users to store backup files in locations that you configured with the Additional Destinations option. This includes the following destinations:
- Amazon S3™
- FTP
- Google Drive™
- S3 Compatible
- SFTP
- WebDAV
- A local directory
- Custom locations
To restore backups from these locations, users must transfer the backup file to their servers before they can restore the backups.
How to transfer the backup file
Important
You must manually transfer the backup files from the remote location to your server. However, after you transfer the backup files to the server, WHM's Backup Restoration feature (WHM >> Home >> Backup >> Backup Restoration) handles the actual restoration.
To transfer a backup file from a remote location to your server, perform the following steps:
- Use your preferred tool to access the additional destination that you created with the Additional Destinations option in WHM's Backup Configuration interface (WHM >> Home >> Backup >> Backup Configuration). For example, you can use an FTP client to access an FTP destination.
- Locate your desired backup files and transfer them to your local computer.
Place the backup files in the appropriate backup directory on your server.
Note:
The backup directories on your server will resemble the
BACKUPDIR/date/accounts
format, where:BACKUPDIR
is the variable from the/var/cpanel/backups/config
file.date
uses ayyyy-mm-dd
format, whereyyyy
is the four-digit year,mm
is the month, anddd
is the day of the month.
For example, on a server that stores backups in the
/home/backup
directory, the weekly backup on December 16, 2018 for the userexample
will exist in the/home/backup/weekly/2018-12-16/accounts/example.tar.gz
file.
WHM's Backup Restoration interface (WHM >> Home >> Backup >> Backup Restoration) will now display the backup files under the appropriate account and date.
Additional documentation