]> git.sur5r.net Git - bacula/rescue/blob - rescue/README
Update
[bacula/rescue] / rescue / README
1
2 This is the Bacula CDROM rescue directory. It currently contains
3 the following subdirectories:
4
5   Directory          Contents
6   autoconf           Configuration files
7   freebsd            The FreeBSD rescue code (not much)
8   linux              The Linux rescue code -- working
9     cdrom              The Linux CDROM rescue code -- working
10   solaris            The Solaris rescue code (not much)
11                      Please read solaris/custom_boot_cd.txt 
12
13 Build instructions for Linux CDROM:       
14
15 First, you must configure with:
16
17   cd <rescue>
18   ./configure \
19      --with-dev=<CDROM-device, e.g. /dev/hdc> \
20      --with-bacula=<path-to-bacula-source> \
21      --with-bacula=bin=<path-to-installed-bacula-binaries> \
22      --with-bacula-scripts=<path-to-installed-scripts>
23
24   This will find the current Bacula version, and create
25   all the Makefiles from Makefile.in  
26
27   Do not edit the Makefiles or your changes will be lost. Always
28   edit Makefile.in
29
30   There is also a --with-iso=<iso-image> option on configure
31   that allows you to specify a location of an ISO image that
32   already exists, presumably built by your Linux vendor.
33   This option permits remastering of that image and including
34   the Bacula files.  However, this work is incomplete, and I am
35   a bit unsure what its state it.
36
37   You can get all the "with" options by doing:
38
39   ./configure --help
40
41 After doing the ./configure described above, to actually build
42 the CDROM (Linux only):
43    
44    cd <bacula-source>
45
46    (configure and make your Bacula distribution, if
47     you have not already done this.
48     !!!!!!! Important !!!!!!!!!!
49     You should not configure OpenSSL because there are     
50     no static libraries for some of the components. The
51     same may be true for Python  
52     !!!!!!!!!!!!!!!!!!!!!!!!!!!!)
53
54    cd rescue/linux/cdrom
55    (read the README in this directory)
56    (become root)
57    make
58    make burn
59    make clean 
60    (optionally, you might want to cd to your Bacula
61     source directory and do a "make clean" to remove
62     any files created by root)
63    (become normal user)
64
65  See the README in linux/cdrom for more detailed information
66  on possible modifications for your site or more of the
67  details of building the CDROM.
68
69  The documentation for actually using the CDROM can be found
70  in the Rescue chapter of the Bacula manual.
71
72
73 To create a distribution tar file:
74    cd <rescue>
75    ./configure --with-bacula=<bacula-source-directory>
76    make clean
77    make
78    make release
79
80    The output will be a .tar.gz file in the current directory
81    with the name bacula-rescue-<version>.tar.gz 
82    It will print the name.
83
84 Note, this version of the Bacula Rescue CDROM is built on top of the MkCDRec package,
85 which can be found at:
86
87   http://mkcdrec.ota.be/