1 ################ INSTALL NOTES FOR BRESTORE ####################
3 # you can put glade file on /usr/share/brestore or /usr/local/share/brestore
4 mkdir -p /usr/share/brestore
5 install -m 644 -o root -g root brestore.glade /usr/share/brestore
6 install -m 755 -o root -g root brestore.pl /usr/bin
8 # if you doesn't use bweb and bconsole.pl
9 # you must get Bconsole.pm from bweb modules (bweb/lib/Bconsole.pm)
11 install -m 644 -o root -g root Bconsole.pm /usr/share/perl5
13 # copy bsr file directly to your director, use must use scp (or nfs stuff)
14 # if you doesn't want to use this, you can dump the bsr file with "Gen BSR" button.
15 # so you must have an ssh-key exchange. (you can also hack brestore.pl to use
16 # something like '$err = `xterm -e scp $src $1 2>&1`'
18 your_login@yourws:~$ ssh-copy-id -i .ssh/your_pub_key login@bacula-dir
20 # you have to configure brestore preferences.
22 ################ WINDOWS INSTALL ###############################
24 Brestore works on win32 with ActivePerl. To get all libraries, you
25 can install GCSTAR. You have also to copy libglade-2.0.dll
27 ################ INSTALL MODULES ###############################
32 apt-get install libgtk2-gladexml-perl
33 apt-get install libdbd-mysql-perl
34 apt-get install libdbd-pg-perl
35 apt-get install libexpect-perl
36 apt-get install libwww-perl
39 perl, perl-DBI, perl-DBD-mysql, perl-DBD-Pg, perl-Expect, perl-libwww-perl
42 The generic Way, if those modules aren't packaged by your distro
46 install Gtk2::GladeXML
53 ################ BCONSOLE WITHOUT CONIO ########################
55 If you doesn't use Bweb, you must use bconsole without conio support. For that, use
58 WARNING : You must be able to execute bconsole and able to read bconsole.conf !
60 ################ CONFIGURATION #################################
62 You can make configuration from brestore himself (if brestore can't find
68 'mozilla' => 'mozilla',
69 'bconsole' => '/usr/local/bin/bconsole -n -c /etc/bacula/bconsole.conf',
70 'bweb' => 'http://localhost/cgi-bin/bweb/bweb.pl',
71 'connection_string' => 'DBI:mysql:database=bacula;host=127.0.0.1;port=3306',
72 'username' => 'bacula',
74 'bsr_dest' => 'file://var/tmp',
76 'use_ok_bkp_only' => 1,
77 'default_restore_job' => 'restore'
80 or if you are using bweb http connector
83 'glade_file' => '/home/eric/brestore/brestore-fr.glade',
84 'mozilla' => 'firefox',
85 'bconsole' => 'http://bacula-dir/cgi-bin/bweb/bconsole.pl',
86 'bweb' => 'http://bacula-dir/cgi-bin/bweb/bweb.pl',
87 'username' => 'bacula',
88 'connection_string' => 'DBI:Pg:database=bacula;host=95.1.8.205',
90 'bsr_dest' => 'file://var/tmp',
91 'see_all_versions' => '',
93 'use_ok_bkp_only' => '',
94 'default_restore_job' => 'Restore'