1 ################ INSTALL NOTES FOR BRESTORE ####################
3 # you can install the user interface glade file in
4 # /usr/share/brestore or /usr/local/share/brestore
6 mkdir -p /usr/share/brestore
7 install -m 644 -o root -g root brestore.glade /usr/share/brestore
8 install -m 755 -o root -g root brestore.pl /usr/bin
10 # if you don't use bweb and bconsole.pl
11 # you must get Bconsole.pm from bweb modules (bweb/lib/Bconsole.pm)
12 # and install it. If bweb is installed, Bconsole.pm is already
15 install -m 644 -o root -g root Bconsole.pm /usr/share/perl5
17 # To copy the bsr file where the director can access it, we use scp (or nfs stuff)
18 # if you don't want to use this, you can dump the bsr file with "Gen BSR" button.
19 # so you must have an ssh-key exchange. (you can also hack brestore.pl to use
20 # something like '$err = `xterm -e scp $src $1 2>&1`'
22 your_login@yourws:~$ ssh-copy-id -i .ssh/your_pub_key login@bacula-dir
24 # you have to configure brestore preferences.
26 ################ WINDOWS INSTALL ###############################
28 Brestore works on win32 with ActivePerl. To get all libraries, you
29 can install GCSTAR. You have also to copy libglade-2.0.dll
31 ################ INSTALL MODULES ###############################
36 apt-get install libgtk2-gladexml-perl
37 apt-get install libdbd-mysql-perl
38 apt-get install libdbd-pg-perl
39 apt-get install libexpect-perl
40 apt-get install libwww-perl
42 The Red Hat (RPM) way:
43 perl, perl-DBI, perl-DBD-mysql, perl-DBD-Pg, perl-Expect, perl-libwww-perl
44 perl-Gtk2-GladeXML perl-Gtk2
46 The following will probably also be needed by rpms (at least on SuSE):
47 perl-Cairo, perl-ExtUtils-Depends, perl-ExtUtils-PkgConfig, perl-Glib
49 The generic Way, if those modules aren't packaged by your distro
53 install Gtk2::GladeXML
60 ################ BCONSOLE WITHOUT CONIO ########################
62 If you don't use Bweb, you must use bconsole without conio support. For that, use
65 WARNING : You must be able to execute bconsole and able to read bconsole.conf !
67 ################ CONFIGURATION #################################
69 You can modify the configuration from brestore itself (if brestore can't find
75 'mozilla' => 'mozilla',
76 'bconsole' => '/usr/local/bin/bconsole -n -c /etc/bacula/bconsole.conf',
77 'bweb' => 'http://localhost/cgi-bin/bweb/bweb.pl',
78 'connection_string' => 'DBI:mysql:database=bacula;host=127.0.0.1;port=3306',
79 'username' => 'bacula',
81 'bsr_dest' => 'file://var/tmp',
83 'use_ok_bkp_only' => 1,
84 'default_restore_job' => 'restore'
87 or if you are using bweb http connector
90 'glade_file' => '/home/eric/brestore/brestore-fr.glade',
91 'mozilla' => 'firefox',
92 'bconsole' => 'http://bacula-dir/cgi-bin/bweb/bconsole.pl',
93 'bweb' => 'http://bacula-dir/cgi-bin/bweb/bweb.pl',
94 'username' => 'bacula',
95 'connection_string' => 'DBI:Pg:database=bacula;host=95.1.8.205',
98 'see_all_versions' => '',
100 'use_ok_bkp_only' => '',
101 'default_restore_job' => 'Restore'