Thursday, May 27, 2021

Remote Restoration

The content provided here aims to disseminate information about remote restoration. For this purpose you need to enable account backups as well as Retain Backups in the Default Backup Directory setting in the Backup Configuration interface in WHM.


WHM >> Home >> Backup >> Backup Configuration

If the Retain Backups in the Default Backup Directory setting has been disabled, a remote backup could be restored through the Restore a Full Backup cpmove File interface.

WHM >> Home >> Backup >> Restore a Full Backup/cpmove File

The Backup Configuration interface in WHM enables one to store backup files in those locations that have been configured with the Additional Destinations options. Some of the destinations that are included are mentioned below.

  • S3 Compatible
  • SFTP
  • FTP
  • WebDAV
  • Local directory
  • Custom locations

If you want to restore backups from these locations, then you need to transfer the backup file to their servers, prior to the backups being restored by them.

Transferring a Backup File

It is important to mention here that you need to manually transfer the backup files. These files need to be manually transferred from the remote location to one’s server. Once you have transferred the backup files to your server, the Backup Restoration feature of WHM carries out the restoration process.

The following steps need to be carried out for transferring a backup file to your server from a remote location.

  • You should use your preferred tool for accessing the additional destination that had been created
  •  by you with the aid of the Additional Destinations options in the Backup Configuration interface in WHM.

WHM >> Home >> Backup >> Backup Configuration

Let us share an example. An FTP client could be used for accessing an FTP destination.

  • You need to locate your desired backup files.
  • Transfer these files to your local computer.
  • The backup files need to be placed in your server’s appropriate backup directory.

It needs to be mentioned here that the backup directories, which are on your server, will resemble the BACKUPDIR/yyyy-mm-dd/accounts format. In it, the terms that have been mentioned stand for the following –

  • BACKUPDIR is the variable from the /var/cpanel/backups/config file.
  • yyyy is the four-digit year, mm is the month, and dd is the day of the month.

Let us explain it with the help of an example for a server that stores backups in the /home/backup directory. In this example, the weekly backup of the user on January 10, 2020 will exist in the /home/backup/weekly/2020-01-10/accounts/example.tar.gz file.

The backup files will be displayed under the appropriate account and date, by the Backup Restoration interface of WHM.

WHM >> Home >> Backup >> Backup Restoration

Now that you have all the required information, you can easily carry out remote restoration.

Source: https://www.htshosting.org/knowledge-base/technology/144/remote-restoration

No comments:

Post a Comment

Cloud Hosting Service from HTS Data Centre

  HTS Hosting is a globally renowned service provider of all types of web hosting services, including its highly specialized Cloud hosting ...