Bacula-users

Re: [Bacula-users] Can anybody tell me how DirStartUp.py works ???

2010-08-11 07:59:16
Subject: Re: [Bacula-users] Can anybody tell me how DirStartUp.py works ???
From: "Erik Grootjans" <edgrootjans AT versatel DOT nl>
To: "Martin Simmons" <martin AT lispworks DOT com>, <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 11 Aug 2010 13:55:01 +0200
Martin,

First thanks for your reply!
In the bacula-director, the maximum-volumes was set.
The Pool looks like this:

Pool {
 Name = Full-Pool
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes                     # Prune expired Jobs/Files
 Volume Retention = 6 months         # six months
 Maximum Volume Jobs = 1
 Label Format = Full-
 Maximum Volumes = 9
}

On the Georgetown bacula runs
The director-daemon, the storage-daemon and the file-daemon

I have done the following:
#cd /etc/bacula
#/etc/init.d/bacula-director stop
#bacula-dir -d200 >output
#bconsole
run
1 GeorgetownTest0
yes
messages
...
...
label
1 File
Full-0050
3 Full-Pool
messages
(job ended)
quit

#/ec/init.d/bacula-director stop

I have copyed the log of jobid 88 (this job) to job88.log

And I have added both files job88.log and output with this mail.

I dont see any errors in the output (debug-file) but then i'm no expert in this.
Can you make something out of this.
Thanks.

Erik


----- Original Message ----- From: "Martin Simmons" <martin AT lispworks DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Sent: Monday, August 09, 2010 5:25 PM
Subject: Re: [Bacula-users] Can anybody tell me how DirStartUp.py works ???


On Sat, 7 Aug 2010 21:55:08 +0200, Erik Grootjans said:

06-aug 15:13 host1-dir JobId 86: Python Dir JobStart: JobId=86
Client=host1-fd NumVols=0
06-aug 15:13 host1-dir JobId 86: name=host1-dir version=2.4.4 28 December
2008 conf=/etc/bacula/bacula-dir.conf working=/var/lib/bacula
06-aug 15:13 host1-dir JobId 86: Start Backup JobId 86,
Job=host1Test0.2010-08-06_15.13.50.03
06-aug 15:13 host1-dir JobId 86: Using Device "FileStorage"
06-aug 15:13 host1-sd JobId 86: Job host1Test0.2010-08-06_15.13.50.03
waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "FileStorage" (/var/disk1/backup/)
    Pool:         Full-Pool
    Media type:   File


I have to label by the label-command.

I dont understand why.

So can anybody tell me if i did forget something.

I asume that the procedure is called, because in the original file there was
no noop=1, so this NewVolumefunction was used in the example. So maybe i
have to declare/or register something. I dont know.

Please can someone help me with this.

It looks like Bacula is not trying to make a new volume.

Try setting debug level 200 in the Director.

Also, do you have MaximumVolumes set in the pool?

__Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Attachment: output
Description: Binary data

Attachment: job88.log
Description: Binary data

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users