Bacula-users

Re: [Bacula-users] Python New Volume

2011-10-18 02:36:14
Subject: Re: [Bacula-users] Python New Volume
From: Geert Stappers <Geert.Stappers AT vanadgroup DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 18 Oct 2011 08:32:06 +0200
Op 20111017 om 17:21 schreef Judi Cushing:
> Good Morning,
> 
> I am new to bacula.  Most of what I have tried has worked wonderfully, with 
> one
> exception.  I know I must be doing something wrong, but I cannot figure out
> what.
> 
> Technical Details:  Bacula 5.0.3 running on SLES 11
> 
> Problem:  I am getting the error:
> 
> 11-Oct 08:28 SRSBackup-sd JobId 55: Please mount Volume "Server_180001" or
> label a new one for:
>     Job:          ServerNapa3Backup.2011-10-11_08.28.00_03
>     Storage:      "Server" (/dev/st0)
>     Pool:         SRS_Server
>     Media type:   LTO-4
> 
> 
> I have a new tape in the drive.  My device is defined as:
> 
> Device {
>   Name = Server
>   Media Type = LTO-4
>   Archive Device = /dev/st0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Maximum File Size = 5GB
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
> }
> 
> and I have in NewVolume defined in Dirstartup.py.  I know that python is
> running because I get:
> 
> 11-Oct 08:34 SRSBackup-dir JobId 56: Python Dir JobEnd output: JobId=56 
> Status=
> A Client=SRSBackup-fd.
> 11-Oct 08:28 SRSBackup-dir JobId 55: Python Dir JobStart: JobId=55 Client=
> Napa3-fd NumVols=1
> 
> I have the line:
> 
> print "New Volume is requested\n"
> 
> in my NewVolume script before doing anything else and it does not show up in
> the log.  It seems that NewVolume in not begin called.  Why? Bacula needs a 
> new
> volume and I have LabelMedia=yes in my device definition.  Why is the 
> NewVolume
> command not being called? What am I missing?


I don't know, however I do know that I'm missing the Python script ...

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
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>