Hello Ana,
I checked all paths of script, they are correct.
my $dir_conf='/usr/local/sbin/dbcheck -B -c
/usr/local/etc/bacula/bacula-dir.con
f';
my $wd = "/var/db/bacula";
The $wd variable has the same value of Working Dir on bacula-dir.conf.
Is this all right?
Everything works fine, the fail only occurs on off-site backup and in
some weird way. If the catalog name is correct, the server doesn't find
the path to script. In the other hand, if the catalog name is set wrong,
the server finds and run the script, but obviously, it doesn't find the
catalog.
I'm using PostgreSQL, are there any extra configs for off-site backups?
I also try run pg_dump, but without success.
Regards
Fábio
On 01-12-2014 09:50, Ana Emília M. Arruda wrote:
Hello Fabio,
The first lines in make_catalog_backup.pl
<http://make_catalog_backup.pl> inform your bacula-dir.conf and
working directories. Are they correctly set after upgrade? The script
lines are something like bellow:
my $dir_conf='/etc/bacula/bin/dbcheck -B -c /etc/bacula/bacula-dir.conf';
my $wd = "/etc/bacula/working";
Best regards,
Ana
On Mon, Dec 1, 2014 at 8:08 AM, "Fábio R. Medeiros" <fab...@unicamp.br
<mailto:fab...@unicamp.br>> wrote:
Hello!!
I've got a bacula server, updated to 7.0.5, running on a FreeBSD 10. I
also have an off-site backup of bacula server, witch is the client of
off-site bacula server.
All jobs are running pretty well, but I've got issues on catalog
backup.
This has occurred after the upgrade of my local server to version
7.0.5.
The off-site bacula server also runs version 7.
There are some strange behaviors, i.e., my catalog name is "Catalogo",
if the job is set to:
ClientRunBeforeJob =
"/usr/local/share/bacula/make_catalog_backup.pl
<http://make_catalog_backup.pl>
Catalogo"
then I got the error:
26-Nov 03:00 bacula-fd JobId 43790: shell command: run
ClientRunBeforeJob "/usr/local/share/bacula/make_catalog_backup.pl
<http://make_catalog_backup.pl> Catalogo"
26-Nov 03:00 bacula-fd JobId 43790: Could not stat "": ERR=No
such file or directory
However, if the catalog name is changed to any other, the error
changes to:
Can't find your catalog (Catalog) in director configuration
Thus, bacula aren't find the script when the catalog name is correct.
But if the catalog name is wrong, bacula find the script but,
obviously,
don't find the catalog.
Locally, that is, on my local bacula server the catalog job runs
without
any errors.
Do anyone know what's happening?
Fábio
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and
Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration
& more
Get technology previously reserved for billion-dollar
corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users