Thanks, and to Bruno. Yes I'd forgotten I left the default when setting up the
pool. Ok now.
________________________________
From: John Drescher <[EMAIL PROTECTED]>
To: Bill Damage <[EMAIL PROTECTED]>; "Bacula-users@lists.sourceforge.net"
<Bacula-users@lists.sourceforge.net>
Sent: Friday, October 24, 2008 12:57:04 PM
Subject: Re: [Bacula-users] Why isn't bacula asking for a tape from the pool?
On Fri, Oct 24, 2008 at 7:18 AM, Bill Damage <[EMAIL PROTECTED]> 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:
>
>From your output below tape 001 to 005 have a 1 year retention period
so it is understandable that they did not get recycled.
> 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..
>
This is the volume retention.
That is the number of seconds bacula will keep the tape after it was
full or used and LastWritten.
To fix the tapes with a 31,536,000 (1 year) retention. use the
update volume
command from a console and follow the prompts.
John
-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users