2 Copyright (C) 2009-2010 Bacula Systems SA
4 Please see the file LICENSE concerning the terms of the license,
7 This readme assumes that you have already created your USB key.
8 if not, please see README.usb.
11 This is the first release of the bacula bare metal recovery key,
12 Please test it before you really use it.
14 It's been tested so far on ubuntu 9.04
18 -- BY ITSELF THIS SCRIPT WILL DO YOU NO GOOD, YOU MUST HAVE BACULA
19 INSTALLED ON THE MACHINES YOU WANT TO BACK UP,
20 AND BE SURE THAT YOUR BACKUP JOBS INCLUDE ALL MOUNTED DISKS
23 -- IN THIS CURRENT VERSION, THE FILE DAEMON IS A 3.0.3, IT SHOULD BE
24 COMPATIBLE WITH ALL DIRECTORS (FROM 2.0.4 ON) BUT FURTHER TESTING IS NEEDED
26 -- THE FILE DAEMON DOESN'T SUPPORT SSL (NO ENCRYPTION)
29 -- THE SCRIPT HAS BEEN TESTED WITH LVM WITH ONLY ONE LVM VOLUME
30 IF YOU HAVE MORE THAN ONE LVM VOLUME, YOU MIGHT FIND A BUG
32 -- THE SCRIPT WILL SCAN FOR SOFT RAID VOLUMES, NOT HARDWARE RAIDS
34 -- THE ADDRESS OF THE FILE DAEMON AND STORAGE DAEMON MUST BE
35 THE IP ADDRESS AND NOT THE HOSTNAME IN THE BACULA-DIR.CONF
36 OF THE MACHINE CONTAINING THE DIRECTOR
38 --YOU HAVE BEEN WARNED, SO LET'S CONTINUE---
41 --- How to use this key
43 First you want to boot on your system and mount all drives that
44 you want to be able to restore
46 be sure to have DIALOG OR XDIALOG installed on your system
48 BE CAREFUL, as of now, this key will pick up all drives, but will
49 create empty scripts if drives are not mounted
51 the supported filesystems are
56 --ntfs (needs some testing)
62 ---------------------SAVING YOUR COMPUTER'S HARDWARE CONFIG-----------------
64 -Mount all your drives, plug in the usb stick, navigate to the
65 bs-rescue partition (normally mounted on /media/bs-rescue or
68 -navigate to the bacula-rescue directory
70 -With root permission, execute the start_rescue script
74 -by default the script will save your data in clients/$hostname
75 (it will prompt you to enter a different name if you wish)
78 -You must have a bacula-fd.conf file somewhere, the script will
79 look for it in /etc/bacula and will prompt you to enter the path
80 if it is not found there
82 -The script will prompt you for a bconsole.conf file, it is not
83 necessary , but if you don't provide it, you will have to
84 operate bacula from a different machine at the time of restore
87 -- et voilĂ ..... you have backed up the structure of your
88 machine (not the data, bacula is used for that)
91 ---------------------------RESTORING A BROKEN MACHINE--------------------------------
93 PLEASE SEE THE README.restore file