Recovering Server Data using JetBackup Disaster Recovery Option

Recovering Server Data using JetBackup Disaster Recovery Option

If you lose server data for any reason, then you can recover it using tools like JetBackup. It’s a great tool that allows restoring a complete server from remote backup servers. You’d be using JetBackup Disaster Recovery option in the following cases:
  • You’re running on a JetBackup server and have the backups saved on a different server
  • The source server is now corrupted and you’ve lost all data
  • There’s a working backup saved on destination server
To start recovering data with JetBackup, here are the steps to follow:
  • Create a new server that resembles the old one
  • Install cPanel
  • Complete security hardening
  • Transfer the JetPack license to the main IP address of the new server
  • Install the JetPack on your new server
  • Configure it using disaster recovery option
How to Enable Disaster Recovery Mode in JetBackup?

Here are the steps involved in enabling the disaster recovery mode:

First, you need to disable the option to delete orphaned backups. This will prevent the orphaned backups from getting deleted automatically so you can later restore them. Navigate into WHM >> JetBackup >> Settings >> General Settings. Then look for the ‘Days to keep orphan backups’ to 0.

Add a new destination for backups. This should be similar or same as the old one since JetBackup has to read and index backups on remote server. For this, navigate into WHM >> Jetbackup >> Backup Manager >> Backup Destinations. Here, you’d have to set all the options under ‘Choose Indexing Type’ menu to enable.

Now, you have to create a new backup job (index only). Once created, point it to the new backup destination. Make sure that backup folder location is configured correctly. For backup folder path, you have to look for the path on the backup server. Let’s say the previous backup job was configured to save files to this path on the remote server - ‘home/user1/jetbackup/daily’. You need to put ‘daily’ as the value for ‘Remote folder on destination*’ option for the current backup job

Reindex all backups and clear the indexing cache using this command -
jetcli backup -vfR clearcache
Once the indexing is completed go to disaster recovery at Restore Manager >> Jetbackup >> Disaster Recovery

Here, you’ll see the list of orphaned backups. Restore the accounts by clicking on the ‘Add to restore queue’ option

After the restoration process is done, you set the orphaned backup deletion option back to the number that was previously set. The orphaned backups will get deleted at the set time.
First release
Last update
0.00 star(s) 0 ratings

More resources from kumkumsharma