To activate Bare Metal Restore (ReaR) simple check it on backup wizard:
Initiate a BMR
On server list simply click rear icon to start BMR Process:
Browse and select rescue desired dates and restore point
Download rescue image and boot server in rescue mode
System checks access to storage device where the data from the selected restore point was stored. If ssh key is installed, it proceeds, If no SSH key was installed, it requests ssh credentials. Download link for rescue image is then provided:
Burn the recovery image to CD/DVD or USB stick and boot server from it. Please note: Often times by default servers will try to boot from hdd - in which case, manually select "automatic recovery":
Important !!! The system will automatically reformat your disk and destroy all data (if there was any data present) in accordance with disk layout as it existed in the restore point you are restoring from.
Please wait for until you are prompted to return to the Bacula4 GUI:
System checks connectivity and access to server and makes sure that it successfully booted from recovery media. Once you see green status, click next:
Restore data
The system restores your servers files and data and displays the Bacula restore log. File size errors are safe to ignore and are automatically compensated for. When restore completes, you will be prompted to "finish":
Within 15-30 seconds, boot loader is installed and server console prompts you to reboot server or check logs. Simply type "3" and press enter to boot the server.
Restore MySQL
If MySQL Backups are enabled on the server (MySQL Dump or Percona MySQL backups) you'll be prompted to restore MySQL. This step is optional and may not be required if you did not receive any errors in mysql data folder, its likely safe to skip this step (but can still be completed to absolutely ensure mysql data integrity)
Example of MySQL Recovery from MySQL Dump Backup Method:
Example of MySQL Recovery from Percona MySQL Tools Backup Method:
PLEASE NOT: Percona recovery only works with the default mysql data folder location as defined in /var/lib/mysql for other desired scenarios, you will need to restore mysql manually via regular recovery procedures.