Mihai Tanasescu wrote:
> Hello,
> 
> 
> I've just recently configured bacula to backup some machines and after 
> 4-5 days of doing backups I started getting:
> 
> "Cannot find any appendable volumes", although I have the LabelMedia=yes 
> specified in the storage daemon
> 
> 
> My setup looks like this:
> 
> For each machine I have a different device defined in my bacula-sd.conf (in 
> order to make each backup happen in a different directory..and also MediaType 
> is different for each definition in order to avoid any locking problems).
> 
> Each incremental, differential and full backup has its own Pool definition 
> for each machine and its own settings for Retention.
> 
> Example:
> 
> Pool {
>   Name = Diff-Pool-RS
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 40 days
> #1 job per volume
>   Maximum Volume Jobs = 1
>   LabelFormat = "${Job}-${Day:p/2/0/r}-${Month:p/2/0/r}-${Year}-Diff-"
>   Maximum Volumes = 6
> }
> 
> Pool {
>   Name = Inc-Pool-RS
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 6 days
> #6 jobs per volume
>   Maximum Volume Jobs = 6
>   LabelFormat = "${Job}-${Day:p/2/0/r}-${Month:p/2/0/r}-${Year}-Inc-"
>   Maximum Volumes = 1
> }
> 
> Pool {
>   Name = Full-Pool-RS
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 1 months
> #one job per volume
>   Maximum Volume Jobs = 1
>   LabelFormat = "${Job}-${Day:p/2/0/r}-${Month:p/2/0/r}-${Year}-Full-"
>   Maximum Volumes = 1
> 
> and this is the same for the other servers (with a different ending, instead 
> of RS)
> 
> 
> Schedule {
>   Name = "WeeklyCycle"
>   Run = Full 1st sun at 04:00
>   Run = Differential 2nd-5th sun at 03:00
>   Run = Incremental mon-sat at 05:00
> }
> 
> and each Job for each machine uses the three different pools (stated above) 
> and the default one (it gave an error without defining it)
> 
> Pool {
>   Name = Default
>   Pool Type = Backup
>   Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>   AutoPrune = yes                     # Prune expired volumes
>   Volume Retention = 365 days         # one year
> 
> My design was supposed to make:
> A full backup on the first week of the month on Sunday.
> Incremental backups for a week.
> Differential backups each Sunday.
> 
> 
> Does anyone have any idea why I keep receiving that error above not being 
> able to find any appendable volumes ?
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

Mihai,
        The problem that you are having is that the Volume Retention period
is measured from the time that the volume was last written.  So if
you start fresh on Monday and do an Incremental every day until
Saturday, the volume has only been unwritten to for something on the
order of 48 hours by the time that you want the volume to be
recycled.  This obviously won't work.  If you have the disk space,
my suggestion would be to increase the maximum volumes to 2.  You
should not decrease your retention times unless you are willing to
destroy your backup data earlier.  My other suggestion would be to
break each incremental job into its own volume rather than lumping
all 6 into 1 volume.

One other thing that I noticed is that your monthly pool might also
cause you trouble.  The retention time for your monthly pool is set
to 1 Month exactly.  This could pose a problem during certain months
where the difference between monthly backups will be less than 30 days.

Matthew Brothers

-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to