Bacula4 has developed a new Linux BMR tool. This is more tightly integrated with our GUI and is based on the ReaR *nix server imaging technology.
To activate Bare Metal Restore (ReaR) simply enable it on the backup wizard:
Emergency server recovery
On the server list simply click the rear icon to start the recovery:
Step one: select rescue point
Step two: download rescue image and boot server in rescue mode
Next, the system will check access to the storage location for the
selected job and check if a ssh key is installed. If there is no ssh key
present, it will prompt for ssh credentials. Afterwards, the system
will give a link to download the rescue image:
Use the first option to restore to the same hardware. If you need to
move (clone/migrate) to different hardware, select the second option and
define your new network data.
See
migration chapter for more info.
You need burn the provided image to CD, DVD or USB stick and boot the
server from it. Please note that by default it will still try to boot
from its local data drive so you need manually select "automatic
recovery"
!!! Important !!! The system will automatically reformat your disk
and destroy all data (if there was any) according to the disk layout in
the selected backup job.
Wait for while you'll see prompt to back to bacula4 GUI:
Step three: checking server status
System checks access to server and ensures that it's booted from the recovery disk. Once you see green status, click next:
Step four: Restore data
The system will proceed with restoring your files and display a restore
log. File size errors can generally be safely ignored. When the restore
is done it will ask you to finish:
Within a few minutes it will install a boot loader and on server console ask you to reboot the server or check the logs:
Just type "3" and press enter.
Step five: Restore MySQL
If you enabled MySQL or Percona Tools backups, you'll be prompted for
5th step for the restore of MySQL. If you did not receive errors prior
on the mysql data file restores, you may be able to skip this step,
however, it is generally required.
Example of dump recovery:
Example of Percona recovery:
Warning: Percona recovery works only for default mysql data
folder location: /var/lib/mysql. For other installation paths, you will
need to restore mysql manually via regular recovery procedure.