X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fbrestore%2FINSTALL;h=fe7c45fdad1ed2f5ab61ccc683d3da2625ab55d9;hb=10ec768248e58b4ebcfdf4795dbf6e998ea2429e;hp=b1fa6dbe09827d1621f5c9a26e76d1a0fa859710;hpb=2270ca5de17734a7c18bab7c8c2551ca457ed6dd;p=bacula%2Fbacula diff --git a/gui/brestore/INSTALL b/gui/brestore/INSTALL index b1fa6dbe09..fe7c45fdad 100644 --- a/gui/brestore/INSTALL +++ b/gui/brestore/INSTALL @@ -1,17 +1,21 @@ ################ 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`' @@ -35,9 +39,12 @@ apt-get install libdbd-pg-perl 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 @@ -52,14 +59,14 @@ install DBD::Pg ################ 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 : @@ -87,10 +94,9 @@ $parameters = { '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' }; -