Bacula-users

Re: [Bacula-users] Newbie question about volumes and label command

2009-12-18 23:40:36
Subject: Re: [Bacula-users] Newbie question about volumes and label command
From: John Drescher <drescherjm AT gmail DOT com>
To: Tom Epperly <tepperly AT gmail DOT com>
Date: Fri, 18 Dec 2009 23:37:14 -0500
2009/12/18 Tom Epperly <tepperly AT gmail DOT com>:
> I don't understand why bacula seems to automatically create volumes for some
> pools, but forces me to use the "label" command for others. I've tried
> increasing the "Maximum Volumes" setting, but it doesn't seem to help.
>
> For example, these pools seem to automatically generate named files named
> Unix-Full-#### and Unix-Inc-#### where '#' is a numeric digit. I never have
> to use the label command to make these.
> Pool {
>  Name = Unix-Full-Pool
>  Pool Type = Backup
>  Recycle = yes           # automatically recycle Volumes
>   AutoPrune = yes         # Prune expired volumes
>     Volume Retention = 75 days
>  Maximum Volume Jobs = 1
>  Label Format = Unix-Full-
>  Maximum Volumes = 5
> }
>
> Pool {
>  Name = Unix-Inc-Pool
>  Pool Type = Backup
>  Recycle = yes           # automatically recycle Volumes
>   AutoPrune = yes         # Prune expired volumes
>     Volume Retention = 20 days
>  Maximum Volume Jobs = 6
>  Label Format = Unix-Inc-
>  Maximum Volumes = 8
> }
>
> Whenever a job starts that's supposed to write to the Windows-Full-Pool, I
> get a message telling me that I need to make one with the "label" command.
> Pool {
>  Name = Windows-Full-Pool
>  Pool Type = Backup
>  Recycle = yes           # automatically recycle Volumes
>   AutoPrune = yes         # Prune expired volumes
>     Volume Retention = 65 days
>  Maximum Volume Jobs = 1
>  Label Format = Windows-FullI-
>  Maximum Volumes = 8
> }
>
> 15-Dec 17:38 netbackup-dir JobId 264: Start Backup JobId 264,
> Job=lego-client.2009-12-15_17.35.00_08
> 15-Dec 17:38 netbackup-dir JobId 264: Using Device "FileStorage"
> 15-Dec 17:38 netbackup-sd JobId 264: Job lego-client.2009-12-15_17.35.00_08
> waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>   Storage:      "FileStorage" (/home/bacula)
>   Pool:         Windows-Full-Pool
>   Media type:   File
> 15-Dec 18:38 netbackup-sd JobId 264: Job lego-client.2009-12-15_17.35.00_08
> waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>   Storage:      "FileStorage" (/home/bacula)
>   Pool:         Windows-Full-Pool
>   Media type:   File
> 15-Dec 20:38 netbackup-sd JobId 264: Job lego-client.2009-12-15_17.35.00_08
> waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>   Storage:      "FileStorage" (/home/bacula)
>   Pool:         Windows-Full-Pool
>   Media type:   File
> 15-Dec 21:49 netbackup-dir JobId 264: Fatal error: Network error with FD
> during Backup: ERR=Connection timed out
> 15-Dec 21:49 netbackup-sd JobId 264: Job lego-client.2009-12-15_17.35.00_08
> marked to be canceled.
> 15-Dec 21:49 netbackup-sd JobId 264: Job lego-client.2009-12-15_17.35.00_08
> canceled while waiting for mount on Storage Device ""FileStorage"
> (/home/bacula)".
> 15-Dec 21:49 netbackup-sd JobId 264: Fatal error: fd_cmds.c:166 Command
> error with FD, hanging up. Append data error.
>
> 15-Dec 21:49 netbackup-dir JobId 264: Fatal error: No Job status returned
> from FD.
>
> Basically, I would like to backup a few systems on my home network onto a
> large hard disk, and backup jobs keep failing because some pool won't
> automatically create files.  I've attached the bacula-dir.conf file.
>
> Can anyone tell me what I am doing wrong?
>

Have you checked that you are not hitting the Maximum volumes that you
have stated in a lot of your pools?

John

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users