Bacula-users

Re: [Bacula-users] volume expire issue

2010-07-12 20:12:06
Subject: Re: [Bacula-users] volume expire issue
From: John Drescher <drescherjm AT gmail DOT com>
To: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 12 Jul 2010 20:06:25 -0400
> This is the first time the tape has been used by Bacula, I was using 
> NetBackup before. I did alter the offsite retention period a month or so ago.
>

In a bacula console issue the following command

update

and select

pool from resource

and follow the prompts.

Then

update

and select "Volume Parameters"

then select "All Volumes from Pool"

and set the pool

Here is an example of that:
http://old.nabble.com/How-does-a-change-to-Volume-Use-Duration-take-effect--tt15762130.html#a15765197

> Another question... I have 4 tapes that are reporting as FULL but have no 
> data on them. Both BAT and Bconsole are consistent with eachother on volume 
> stats.
>
> See attached for BAT illustration.
>
> Bconsole output:
>
> *list media pool=Onsite
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> ...
> |      79 | 000082     | Full      |       1 |          64,512 |        1 |   
>  7,776,000 |       1 |   11 |         1 | LTO2      | 0000-00-00 00:00:00 |
> |      80 | KL0445     | Full      |       1 |          64,512 |        1 |   
>  7,776,000 |       1 |   12 |         1 | LTO2      | 0000-00-00 00:00:00 |
> |      81 | KL0367     | Full      |       1 |          64,512 |        1 |   
>  7,776,000 |       1 |   13 |         1 | LTO2      | 0000-00-00 00:00:00 |
> |      82 | KL0385     | Full      |       1 |          64,512 |        1 |   
>  7,776,000 |       1 |   14 |         1 | LTO2      | 0000-00-00 00:00:00 |
> ...
>
> I've already issued a 'label barcodes' since I did just add some new tapes. 
> Not sure if there were new ones, could be since no 'last written' date.  Here 
> is the 'status slots' report.

>
I am not sure why that happened.

update volume parameters

volume status

and set it to append for each of these.

You may be able to do that in bat. I am not sure, I do not use bat.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>