<b> scp://bacula@hostdir:/path/to/bsr </b>
Ou si le director fonctionne avec le connecteur http bweb
-<b> file://var/tmp</b>
-Et vous devez positionner bconsole sur
+vous devez laisser ce champs vide, et vous devez positionner bconsole sur
<b> http://user:pass@director/cgi-bin/bweb/bconsole.pl</b></property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="label" translatable="yes">To launch a restore job, bacula need a BSR file.
This file must be <b>local</b> to director, so
-if director is local, put something like :
+if the director is local, put something like :
<b> file://path/to/bacula/work/dir</b>
or if director is on other host
<b> scp://bacula@hostdir:/path/to/bsr </b>
-or if director works with the bweb http connector
-<b> file://var/tmp</b>
-and set bconsole to
-<b> http://user:pass@director/cgi-bin/bweb/brestore.pl</b></property>
+or if the director works with the bweb http connector
+keep it empty and set bconsole to
+<b> http://user:pass@director/cgi-bin/bweb/bconsole.pl</b></property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
my $ret = $self->{pref}->go_bweb("?action=dsp_cur_job;jobid=$jobid;client=$client", "view job status");
+ $self->on_cancel_resto_clicked();
+
if ($ret == -1) {
my $widget = Gtk2::MessageDialog->new(undef, 'modal', 'info', 'close',
"Your job have been submited to bacula.
$widget->run;
$widget->destroy();
}
-
- $self->on_cancel_resto_clicked();
}
sub on_cancel_resto_clicked
print "$src => $dst\n"
if ($debug);
+ if (!$dst) {
+ return $src;
+ }
+
my $ret=0 ;
my $err ;
my $dstfile;