On 5/7/07, Joseph Wright <[EMAIL PROTECTED]> wrote:
> Automatic labelling does not appear to work correctly.
> I have the following in my configurations, as per the instructions at
> http://www.bacula.org/rel-manual/
> Basic_Volume_Management.html#SECTION002612000000000000000
>
> bacula-dir.conf:
> Pool {
> Name = example-pool
> Pool Type = Backup
> Volume Retention = 14d
> LabelFormat = "example-" # to enable automatic labelling
> Maximum Volumes = 0
> Maximum Volume Jobs = 1
> Maximum Volume Files = 1000
> Recycle = yes
> }
>
> bacula-sd.conf:
> Device {
> Name = example-device
> Media Type = File
> Archive Device = /space/backup/example
> LabelMedia = yes # to enable automatic labelling
> Random Access = Yes;
> AutomaticMount = yes;
> RemovableMedia = no;
> Requires Mount = no;
> Maximum Network Buffer Size = 65536
> }
>
> Yet, I continue to receive these messages:
I have the following (with bacula-2.0.3 on 64 bit gentoo linux) and it
never fails:
bacula-dir.conf
Pool {
Name = BackupCatalogs
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
# Accept Any Volume = yes # write on any volume in the pool
Label Format = "Catalogs-"
Maximum Volume Bytes = 2G
Volume Retention = 15 days # 90 day recycle period
}
bacula-sd.conf
Device {
Name = FileStorage
Media Type = File
Archive Device = /mnt/vg/backups
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Perhaps some of your Maximum Volume statements are causing the problem.
John
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users