Bacula-users

Re: [Bacula-users] Bacula fail backup Catalog.

2012-07-11 06:37:18
Subject: Re: [Bacula-users] Bacula fail backup Catalog.
From: "W. van den Akker" <listsrv AT wilsoft DOT nl>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 11 Jul 2012 12:10:55 +0200
Had the same issue.
Can Bacula read the script? Changing permission in script dir to
root:barcula made it work for me.

gr,
WIllem

On Wed, 2012-07-11 at 10:44 +0200, JM wrote:
> Hi,
> 
> OS : Debian wheezy/sid
> Bacula :
> 
> Bacula-dir Version: 5.0.3 (04 August 2010) x86_64-pc-linux-gnu debian 
> wheezy/sid
> Bconsole       Version: 5.0.3 (04 August 2010) x86_64-pc-linux-gnu debian 
> wheezy/sid
> 
> Message console :
> 
> 2012-07-10 23:10:02   Bacula-dir JobId 332: shell command: run 
> BeforeJob "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
> 2012-07-10 23:10:02   Bacula-dir JobId 332: BeforeJob: Can't find your 
> catalog (MyCatalog) in director configuration
> 2012-07-10 23:10:02   Bacula-dir JobId 332: Error: Runscript: BeforeJob 
> returned non-zero status=1. ERR=Child exited with code 1
> 
> 2012-07-10 23:10:02   Bacula-dir JobId 332: Error: Bacula Bacula-dir 
> 5.0.3 (04Aug10): 10-Jul-2012 23:10:02
>    Build OS:               x86_64-pc-linux-gnu debian wheezy/sid
>    JobId:                  332
>    Job:                    BackupCatalog.2012-07-10_23.10.00_21
>    Backup Level:           Full
>    Client:                 "Bacula-fd" 5.0.3 (04Aug10) 
> x86_64-pc-linux-gnu,debian,wheezy/sid
>    FileSet:                "Catalog" 2012-04-21 23:10:00
>    Pool:                   "FileLocal" (From Job resource)
>    Catalog:                "MyCatalog" (From Client resource)
>    Storage:                "FileLocal" (From Job resource)
>    Scheduled time:         10-Jul-2012 23:10:00
>    Start time:             10-Jul-2012 23:10:02
>    End time:               10-Jul-2012 23:10:02
>    Elapsed time:           0 secs
>    Priority:               11
>    FD Files Written:       0
>    SD Files Written:       0
>    FD Bytes Written:       0 (0 B)
>    SD Bytes Written:       0 (0 B)
>    Rate:                   0.0 KB/s
>    Software Compression:   None
>    VSS:                    no
>    Encryption:             no
>    Accurate:               no
>    Volume name(s):
>    Volume Session Id:      0
>    Volume Session Time:    0
>    Last Volume Bytes:      0 (0 B)
>    Non-fatal FD errors:    1
>    SD Errors:              0
>    FD termination status:
>    SD termination status:
>    Termination:            *** Backup Error ***
> 
> 
> -----------------------------
> Tests :
> 
> su -m bacula -c '/etc/bacula/scripts/make_catalog_backup.pl MyCatalog'
> 
>   ==> Can't find your catalog (MyCatalog) in director configuration
> 
> ls -alh /usr/sbin/dbcheck
> 
>   ==> -rwxr-xr-x 1 root bacula 98K oct.   2  2011 /usr/sbin/dbcheck
> 
> ls -alh /etc/bacula/bacula-dir.conf
> 
>   ==> -rw-r----- 1 root bacula 1,9K mai    7 09:56 
> /etc/bacula/bacula-dir.conf
> 
> The other Jobs are working fine.
> 
> Can someone help me ?
> 
> regards,
> 
> JMJ.
> 
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>