Am Donnerstag, 13. August 2015 09:00:52 UTC+2 schrieb philipp.storz:
> Hello,
> 
> you limit the number of volumes via "Maximum Volumes".
> This means that bareos will not create and label more
> volumes than this number.
> 
> Just set Maximum Volumes to more than you need and everything will be fine.
> 
> 
> 
> Am 13.08.2015 um 08:16 schrieb Ludwig BaLu:
> > Hi,
> > 
> > I have a problem with my bareos setup. Sometimes I've got the problem of 
> > labeling volumes. Bareos (bconsole) and the mailoutput says following:
> > -----
> > Job xxx.2015-08-13_02.00.00_45 is waiting. Cannot find any appendable 
> > volumes.
> > Please use the "label" command to create a new Volume for:...
> > -----
> > 
> > Here are my configs:
> > 
> > Bareos-SD:
> > Device {
> >   Name = BackupStorage
> >   Media Type = File
> >   Archive Device = /backup
> >   LabelMedia = yes;                   # lets Bareos label unlabeled media
> >   Random Access = yes;
> >   AutomaticMount = yes;               # when device opened, read it
> >   RemovableMedia = no;
> >   AlwaysOpen = no;
> > }
> > 
> > Bareos-Dir:
> > Storage {
> >   Name = bareos-sd
> >   Address = 192.168.2.2                # N.B. Use a fully qualified name 
> > here
> >   Password = "test"
> >   SDPort = 9103
> >   Device = BackupStorage
> >   Media Type = File
> >   Maximum Concurrent Jobs = 1
> > }
> > 
> > Pool {
> >   Name = Full
> >   Pool Type = Backup
> >   Recycle = yes                       # Bareos can automatically recycle 
> > Volumes
> >   AutoPrune = yes                     # Prune expired volumes
> >   VolumeRetention = 1 months          # How long should the Full Backups be 
> > kept? (#06)
> >   Maximum Volumes = 2                 # Limit number of Volumes in Pool
> >   Maximum Volume Jobs = 10
> >   Label Format = "Full-"              # Volumes will be labeled 
> > "Full-<volume-id>"
> >   #Maximum Volume Bytes = 50G          # Limit Volume size to something 
> > reasonable
> > }
> > 
> > Pool {
> >   Name = Incremental
> >   Pool Type = Backup
> >   Recycle = yes                       # Bareos can automatically recycle 
> > Volumes
> >   AutoPrune = yes                     # Prune expired volumes
> >   Maximum Volumes = 32                # Limit number of Volumes in Pool
> >   Use Volume Once = yes
> >   Maximum Volume Jobs = 10
> >   Label Format = "Incremental-"       # Volumes will be labeled 
> > "Incremental-<volume-id>"
> >   #Volume Retention = 7d               # How long should the Incremental 
> > Backups be kept?  (#12)
> >   #Maximum Volume Bytes = 1G           # Limit Volume size to something 
> > reasonable
> > }
> > 
> > Schedule {
> >   Name = "WeeklyCycle"
> >   Run = Level=Full Pool=Full on 1st at 10:00                   # (#04)
> >   #Run = Differential 2nd-5th sat at 21:00       # (#07)
> >   Run = Level=Incremental Pool=Incremental on 2-31 at 02:00            # 
> > (#10)
> > }
> > 
> > 
> > Now I don't know, why sometimes a backupjob shows "you have to label it". 
> > Can't he do this on his own?
> > 
> > Please help me out of this.
> > 
> > Thank you very much,
> > Ludwig
> > 
> 
> 
> -- 
> Mit freundlichen Grüßen
> 
>  Philipp Storz                             [email protected]
>  Bareos GmbH & Co. KG                      Phone: +49 221 63 06 93-92
>  http://www.bareos.com                     Fax:   +49 221 63 06 93-10
> 
>  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
>  Geschäftsführer: Stephan Dühr, M. Außendorf,
>  J. Steffens, P. Storz, M. v. Wieringen

Hi Philipp,

thank you very much. I will try this immediately. Awesome answertime!

One more thing.. The reason, why I did this is that bareos prune older volumes. 
So max 2 monts off full backup and all others should be deleted. How can I do 
this? Is there a method to delete volumes on the disk out of the box or do I 
need a cronjob here?

Thank you very much,
Ludwig

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to