Main
When disaster strikes, you must have a plan, and you must have prepared in advance otherwise the work of recovering your system and your files will be considerably greater. For example, if you have not previously saved the partitioning information for your hard disk, how can you properly rebuild it if the disk must be replaced? Unfortunately, many of the steps one must take before and immediately after a disaster are very operating system dependent.
Bacula Systems provides special LinuxBMR and WinBMRpackages that largely automate and simplify recovery even with a very large number of machines. The documentation and details of these products are contained in separate white papers. If you need them, please ask your Bacula Systems sales representative.
Below are a few additional points that may or may not help.
Here are a few important considerations concerning disaster recovery that you should take into account before a disaster strikes.
The same basic techniques described above also apply to FreeBSD. Although we don't yet have a fully automated procedure, Alex Torres Molina has provided us with the following instructions with a few additions from Jesse Guardiani and Dan Langille:
mkdir /mnt/disk
this is the root of the new disk
mount /mnt2/dev/ad0s1a /mnt/disk mount /mnt2/dev/ad0s1c /mnt/disk/var mount /mnt2/dev/ad0s1d /mnt/disk/usr .....The same hard drive issues as above apply here too. Note, under OS version 5 or higher, your disk devices may be in /dev not /mnt2/dev.
ifconfig xl0 ip/mask + route add default ip-gateway
mkdir /mnt/disk/tmp
cd /mnt/disk/tmp
ln -s /mnt2/usr/bin /usr/bin
chmod u+x bacula-fd
mkdir -p /mnt/disk/var/db/bacula
chroot /mnt/disk /tmp/bacula-fd -c /tmp/bacula-fd.confto start bacula-fd
The same basic techniques described above apply to Solaris:
However, during the recovery phase, the boot and disk preparation procedures are different:
Once the disk is partitioned, formatted and mounted, you can continue with bringing up the network and reloading Bacula.
As mentioned above, before a disaster strikes, you should prepare the information needed in the case of problems. To do so, in the rescue/solaris subdirectory enter:
su ./getdiskinfo ./make_rescue_disk
The getdiskinfo script will, as in the case of Linux described above, create a subdirectory diskinfo containing the output from several system utilities. In addition, it will contain the output from the SysAudit program as described in Curtis Preston's book. This file diskinfo/sysaudit.bsi will contain the disk partitioning information that will allow you to manually follow the procedures in the “Unix Backup & Recovery” book to repartition and format your hard disk. In addition, the getdiskinfo script will create a start_network script.
Once you have your disks repartitioned and formatted, do the following: