]> git.sur5r.net Git - bacula/rescue/blob - rescue/linux/usb/README.save
Add new usb rescue key code
[bacula/rescue] / rescue / linux / usb / README.save
1
2 Copyright (C) 2009-2010 Bacula Systems SA
3
4 Please see the file LICENSE concerning the terms of the license,
5 copying and such.
6
7 This readme assumes that you have already created your USB key.
8 if not, please see README.usb.
9
10
11 This is the first release of the bacula bare metal recovery key,
12 Please test it before you really use it.
13
14 It's been tested so far on ubuntu 9.04
15
16 --WARNING-- 
17
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
21
22
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
25
26    -- THE FILE DAEMON DOESN'T SUPPORT SSL (NO ENCRYPTION)
27
28
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
31
32    -- THE SCRIPT WILL SCAN FOR SOFT RAID VOLUMES, NOT HARDWARE RAIDS
33
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
37  
38 --YOU HAVE BEEN WARNED, SO LET'S CONTINUE---
39
40
41 --- How to use this key
42
43 First you want to boot on your system and mount all drives that
44 you want to be able to restore
45
46 be sure to have DIALOG OR XDIALOG installed on your system
47
48 BE CAREFUL, as of now, this key will pick up all drives, but will
49 create empty scripts if drives are not mounted
50
51 the supported filesystems are
52
53 --ext2
54 --ext3
55 --fat
56 --ntfs (needs some testing)
57 --jfs
58 --xfs
59 --reiserfs
60
61
62 ---------------------SAVING YOUR COMPUTER'S HARDWARE CONFIG-----------------       
63
64 -Mount all your drives, plug in the usb stick, navigate to the
65  bs-rescue partition (normally mounted on /media/bs-rescue or
66  /mnt/bs-rescue)
67
68 -navigate to the bacula-rescue directory
69
70 -With root permission, execute the start_rescue script
71
72 -choose backup
73
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)
76
77
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
81
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
85
86
87 -- et voilĂ .....  you have backed up the structure of your
88    machine (not the data, bacula is used for that)
89
90
91 ---------------------------RESTORING A BROKEN MACHINE--------------------------------
92
93 PLEASE SEE THE README.restore file