I am running Bacula 5.0.0 on Centos 6.5 *. I have old tapes that are in Purged VolStatus and one of them is in our tape Changer library but Bacula is not using it. Is there something I need to do to Purged volumes to make Bacula write to them?
I have a retention period of 90 days on my tapes, a tape that was last written on 2014-11-15, and here it is 2015 March 23 and my current backup job is stopped waiting to create a volume:
Device "HP_LTO-3" (/dev/nst0) is not open.
Device is BLOCKED waiting to create a volume for:
Pool: Tape
Media type: LTO-3I notice that the "Recycle" column in my "list media" don't seem to make sense. Old tapes are marked "0" which I believe means they are not available for recycling, new tapes are marked "1".
Here are my media (some columns removed for brevity):
*list media
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Pool: Tape
+---------+-----------+---------+--------------+---------+------+-----------+---------------------+
| MediaId | VolStatus | Enabled | VolRetention | Recycle | Slot | InChanger | LastWritten |
+---------+-----------+---------+--------------+---------+------+-----------+---------------------+
| 16 | Purged | 1 | 7,776,000 | 0 | 4 | 1 | 2014-11-15 11:45:33 |
| 17 | Purged | 1 | 7,776,000 | 0 | 0 | 0 | 2014-12-20 07:04:03 |
| 23 | Error | 1 | 31,536,000 | 0 | 0 | 0 | 2014-12-02 06:46:34 |
| 26 | Full | 1 | 7,776,000 | 0 | 0 | 0 | 2015-01-03 07:24:13 |
| 29 | Full | 1 | 7,776,000 | 1 | 0 | 0 | 2015-01-17 07:49:39 |
| 30 | Full | 1 | 7,776,000 | 1 | 0 | 0 | 2015-01-30 06:19:04 |
| 31 | Full | 1 | 7,776,000 | 1 | 0 | 0 | 2015-02-07 07:48:53 |
| 34 | Full | 1 | 7,776,000 | 1 | 0 | 0 | 2015-02-21 06:48:28 |
| 39 | Full | 1 | 7,776,000 | 1 | 0 | 0 | 2015-03-17 06:19:22 |
| 40 | Full | 1 | 7,776,000 | 1 | 0 | 0 | 2015-03-07 07:59:28 |
| 42 | Full | 1 | 7,776,000 | 1 | 7 | 1 | 2015-03-21 07:59:04 |
+---------+-----------+---------+--------------+---------+------+-----------+---------------------+
Here is what my "Tape" pool says:
# Tape pool definition
Pool {
Name = Tape
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 3 months
# Maximum Volume Bytes = 400G
# Maximum Volumes = 7
}
...do I need to have a "RecyclePool" line in there for it to work? Maybe I should put in:
RecyclePool = Tape
?
Thanks for any help.
- Mike Schwager