################ INSTALL NOTES FOR BRESTORE ####################
-# you can put glade file on /usr/share/brestore or /usr/local/share/brestore
+# you can install the user interface glade file in
+# /usr/share/brestore or /usr/local/share/brestore
+
mkdir -p /usr/share/brestore
install -m 644 -o root -g root brestore.glade /usr/share/brestore
install -m 755 -o root -g root brestore.pl /usr/bin
-# if you doesn't use bweb and bconsole.pl
+# if you don't use bweb and bconsole.pl
# you must get Bconsole.pm from bweb modules (bweb/lib/Bconsole.pm)
+# and install it. If bweb is installed, Bconsole.pm is already
+# installed.
install -m 644 -o root -g root Bconsole.pm /usr/share/perl5
-# copy bsr file directly to your director, use must use scp (or nfs stuff)
-# if you doesn't want to use this, you can dump the bsr file with "Gen BSR" button.
+# To copy the bsr file where the director can access it, we use scp (or nfs stuff)
+# if you don't want to use this, you can dump the bsr file with "Gen BSR" button.
# so you must have an ssh-key exchange. (you can also hack brestore.pl to use
# something like '$err = `xterm -e scp $src $1 2>&1`'
apt-get install libexpect-perl
apt-get install libwww-perl
-The Red Hat way
+The Red Hat (RPM) way:
perl, perl-DBI, perl-DBD-mysql, perl-DBD-Pg, perl-Expect, perl-libwww-perl
-perl-Gtk2-GladeXML
+perl-Gtk2-GladeXML perl-Gtk2
+
+The following will probably also be needed by rpms (at least on SuSE):
+perl-Cairo, perl-ExtUtils-Depends, perl-ExtUtils-PkgConfig, perl-Glib
The generic Way, if those modules aren't packaged by your distro
perl -MCPAN -e shell
################ BCONSOLE WITHOUT CONIO ########################
-If you doesn't use Bweb, you must use bconsole without conio support. For that, use
+If you don't use Bweb, you must use bconsole without conio support. For that, use
bconsole -n option.
WARNING : You must be able to execute bconsole and able to read bconsole.conf !
################ CONFIGURATION #################################
-You can make configuration from brestore himself (if brestore can't find
+You can modify the configuration from brestore itself (if brestore can't find
his glade file).
Example :
'username' => 'bacula',
'connection_string' => 'DBI:Pg:database=bacula;host=95.1.8.205',
'password' => 'xxxx',
- 'bsr_dest' => 'file://var/tmp',
+ 'bsr_dest' => '',
'see_all_versions' => '',
'debug' => 1,
'use_ok_bkp_only' => '',
'default_restore_job' => 'Restore'
};
-