Bacula-users

Re: [Bacula-users] Why isn't bacula asking for a tape from the pool?

2008-10-24 08:17:19
Subject: Re: [Bacula-users] Why isn't bacula asking for a tape from the pool?
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
Date: Fri, 24 Oct 2008 14:08:06 +0200
Bill Damage wrote:
> Hi, well its happened, I did ask about this on this list a while back and 
> thought it was sorted. I only have 10 tapes in my pool. I set up a daily 
> incremental, and identified the pool to have 10 in. It worked fine and each 
> time a change was needed I labelled them on the fly, like 002, 003 etc. Its 
> just finished tape 010 and is asking me to mount a new one, the message is 
> the same as the others i.e. please use "label" to create a new one, and NOT 
> "please mount volume 001". I did mount tape 001 anyway, but it refused to 
> continue the backup and is still asking for a new one. The pool is defined 
> like this:
> 
> Pool {
>   Name = P01
>   Pool Type = Backup
>   Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>   AutoPrune = yes                     # Prune expired volumes
>   Volume Retention = 14 days          
>   Maximum Volumes = 10
> }
> 
> and the volumes have been used like this:
> 
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       1 | 001        | Full      |       1 | 10,482,554,880 |       11 |   
> 31,536,000 |       1 |    0 |         0 | DDS-4     | 2008-09-22 09:30:44 |
> |       2 | 002        | Full      |       1 | 10,467,846,144 |       12 |   
> 31,536,000 |       1 |    0 |         0 | DDS-4     | 2008-09-23 12:44:38 |
> |       3 | 003        | Full      |       1 | 10,467,459,072 |       11 |   
> 31,536,000 |       1 |    0 |         0 | DDS-4     | 2008-09-24 14:35:22 |
> |       4 | 004        | Full      |       1 | 10,483,522,560 |       16 |   
> 31,536,000 |       1 |    0 |         0 | DDS-4     | 2008-10-11 07:38:38 |
> |       5 | 005        | Full      |       1 | 10,480,167,936 |       11 |    
> 1,209,600 |       1 |    0 |         0 | DDS-4     | 2008-10-12 09:29:09 |
> |       7 | 006        | Full      |       1 | 10,489,780,224 |       11 |    
> 1,209,600 |       1 |    0 |         0 | DDS-4     | 2008-10-15 01:21:47 |
> |       8 | 007        | Full      |       1 | 10,472,103,936 |       12 |    
> 1,209,600 |       1 |    0 |         0 | DDS-4     | 2008-10-15 12:58:18 |
> |       9 | 008        | Full      |       1 | 10,490,812,416 |       11 |    
> 1,209,600 |       1 |    0 |         0 | DDS-4     | 2008-10-22 13:51:42 |
> |      10 | 009        | Full      |       1 | 10,471,781,376 |       12 |    
> 1,209,600 |       1 |    0 |         0 | DDS-4     | 2008-10-19 09:12:35 |
> |      11 | 010        | Full      |       1 | 10,493,328,384 |       11 |    
> 1,209,600 |       1 |    0 |         0 | DDS-4     | 2008-10-21 23:32:10 |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> 
> 
> btw what are those numbers under VolRetention all about?
> 
> Thanks.
First time you initialize tape 1 to 4 I suspect you have another volretention 
time affected to the pool.
31536000 / 86400 ( 24h ) = 365 days

When you change the retention time to your pool it doesn't affect already 
initialized tape.
You just have to use the update command in bconsole and adjust the retention 
for the tape.

This is not magic it just writted inside the manual.


-- 

     Bruno Friedmann

Ioda-Net Sàrl
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760
  www.ioda-net.ch

 Centre de Formation et de Coaching En Ligne
 www.cfcel.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users