> 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
> 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 Catalogo"
> 26-Nov 03:00 bacula-fd JobId 43790: Could not stat "": ERR=No such file
> or directory
Hey Mr. Fábio: are you sure that your Bacula Database dump script is in
/usr/local/share/bacula/?
Usually this script is located at bacula scripts folder, witch can be changed
at compilation.
> However, if the catalog name is changed to any other, the error changes to:
>
> Can't find your catalog (Catalog) in director configuration
This is normal. If you changer your Catalog resource name you gotta change it
as the script variable - $1 ( e. g.:
"/usr/local/share/bacula/make_catalog_backup.pl new_Catalogo").
So they really need to match.
Regards
==============================================================================
Heitor Medrado de Faria - LPIC-III | ITIL-F
12 a 23 de janeiro de 2015 - Treinamento Telepresencial Bacula:
http://www.bacula.com.br/?p=2174
61 2021-8260 | 8268-4220
Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfaria AT gmail
DOT com
===============================================================================
----- Mensagem original -----
> De: "Fábio R. Medeiros" <fabior AT unicamp DOT br>
> Para: bacula-users AT lists.sourceforge DOT net
> Enviadas: Segunda-feira, 1 de dezembro de 2014 9:08:05
> Assunto: [Bacula-users] Issue on catalog off-site backup
>
> 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
> 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 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|