Ana, Heitor and Martin, thanks for your support. The problem was the fileset.

Best regards!

Fábio

On 01-12-2014 15:47, Ana Emília M. Arruda wrote:
Hello Fabio,

As Martin said, you have problems with your filset in the job. Your PostegreSQL dump should be /var/db/bacula/Catalogo.sql. The path for the .sql dump is your $wd = "/var/db/bacula".

Best regards,
Ana

On Mon, Dec 1, 2014 at 2:31 PM, Martin Simmons <mar...@lispworks.com <mailto:mar...@lispworks.com>> wrote:

    >>>>> On Mon, 01 Dec 2014 13:55:31 -0200, "Fábio R. Medeiros"  said:
    >
    > On 01-12-2014 09:42, Heitor Faria wrote:
    > >> 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
    > > 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.
    > Hi Mr. Heitor,
    >
    > Yes, I checked the path, it's all correct. I'm looking for possible
    > errors in the script itself as suggested by Ana.

    Did you post the full output or did you edit it (if so, never do
    that).

    I think the "Could not stat" message comes from bacula, not from
    make_catalog_backup.pl <http://make_catalog_backup.pl>. Check your
    fileset definition in case it says
    something like File="".

    __Martin

    
------------------------------------------------------------------------------
    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=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to