1 ################ INSTALL NOTES FOR BRESTORE ####################
3 # you can install the user interfact glade file on
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 # copy bsr file directly to your director, use must use scp (or nfs stuff)
18 # if you doesn'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
43 perl, perl-DBI, perl-DBD-mysql, perl-DBD-Pg, perl-Expect, perl-libwww-perl
46 The generic Way, if those modules aren't packaged by your distro
50 install Gtk2::GladeXML
57 ################ BCONSOLE WITHOUT CONIO ########################
59 If you don't use Bweb, you must use bconsole without conio support. For that, use
62 WARNING : You must be able to execute bconsole and able to read bconsole.conf !
64 ################ CONFIGURATION #################################
66 You can modify the configuration from brestore itself (if brestore can't find
72 'mozilla' => 'mozilla',
73 'bconsole' => '/usr/local/bin/bconsole -n -c /etc/bacula/bconsole.conf',
74 'bweb' => 'http://localhost/cgi-bin/bweb/bweb.pl',
75 'connection_string' => 'DBI:mysql:database=bacula;host=127.0.0.1;port=3306',
76 'username' => 'bacula',
78 'bsr_dest' => 'file://var/tmp',
80 'use_ok_bkp_only' => 1,
81 'default_restore_job' => 'restore'
84 or if you are using bweb http connector
87 'glade_file' => '/home/eric/brestore/brestore-fr.glade',
88 'mozilla' => 'firefox',
89 'bconsole' => 'http://bacula-dir/cgi-bin/bweb/bconsole.pl',
90 'bweb' => 'http://bacula-dir/cgi-bin/bweb/bweb.pl',
91 'username' => 'bacula',
92 'connection_string' => 'DBI:Pg:database=bacula;host=95.1.8.205',
94 'bsr_dest' => 'file://var/tmp',
95 'see_all_versions' => '',
97 'use_ok_bkp_only' => '',
98 'default_restore_job' => 'Restore'