Forum Discussion

djembe65's avatar
djembe65
Level 3
15 years ago

Netbackup Linux Bare Metal Restore using Open Source "Relax and Recover" (ReaR)

Just wanted to update NetBackup users about a open source tool that I have been using to successfully do bare metal Linux restores using our Netbackup.  We use netbackup 6.5 to backup our Linux and AIX servers. On our AIX servers we use a NIM server and we do network sysback backups on a weekly basis to provide the "Bare Metal" backup functionality.  Unfortunately we had not Bare Metal restore functionality for Netbackup.  I found a Open Source tool called "Relax and Recover" that provided a way to restore the OS using the full backups of the Linux systems on NetBackup.  The tool as an option where it will create a bootable rescue iso file that contains all the Netbackup client executables and configuration to allow you to boot up your Linux server using the iso file then issue a simple command that will mount your OS disks separately and do a bprestore of all needed files to your actual OS disks.  At the end of the restore the system re-create the GRUB information on the boot disk.  The "mkerscue" is process can be ran any time with the Linux system is up and I just store that iso file on a separate server.   The Netbackup code on the "Relax and Recover" was lacking some functionality that I wanted.  Working with the developers they have accepted  enhancements I made to the Netbackup (NBU) code.   I added the functionality of excluding files and/or volume groups in the restore.  I wanted this because I want to mainly use this to restore the OS only.  I also added the functionality to restore from a point in time.  They accepted the changes in SVN trunk 250.   It will probably be in the next release of the product which should come out in one month's time.   The web site for the product is: http://rear.sourceforge.net.   They have a very useful program that has a very active supportive user base.  The developers were very responsive and helpful to me to get the enhancements to the Netbackup interface in place.  The program itself is just a big collection of bash shell scripts.  This made adding the enhancements "doable' for a UNIX administrator such as myself.  It is nice to be able to do a bare metal restore to our Netbackup backed up Linux servers without the need to do some type of clonzilla, "ghost" type backup which requires a system downtime..

17 Replies