Bacula-users

Re: [Bacula-users] forcing tapes to recycle

2010-02-24 10:55:03
Subject: Re: [Bacula-users] forcing tapes to recycle
From: David Koski <david AT kosmosisland DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 24 Feb 2010 07:52:04 -0800
On Tuesday 23 February 2010, Thomas Mueller wrote:
> Am Tue, 23 Feb 2010 19:29:54 -0800 schrieb David Koski:
> > I am trying to recycle some tapes that have become used.  I have set the
> > status to append:
> >
> > ...
> >
> > I have tried to stop and start the jobs and restart bacula without
> > succcess. How can I force bacula to use tapes that have been used,
> > without relabeling them?
>
> to force the reuse of the volume you need to purge it.
>
> http://bacula.org/5.0.x-manuals/en/console/console/Bacula_Console.html#280

The volume is already purged:

Select the Pool (1-3): 2
+---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes      | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      20 | A0000007   | Append    |       1 | 2,109,993,984 |        4 |      
259,200 |       1 |    0 |         0 | VXA-2     | 2010-02-21 19:00:28 |
|      21 | A0000005   | Append    |       1 |       129,024 |        1 |      
259,200 |       1 |    1 |         1 | VXA-2     | 2010-02-18 17:21:54 |
+---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Enter MediaId or Volume name: 21
0 Files on Volume "A0000005" purged from catalog.
There are no more Jobs associated with Volume "A0000005". Marking it purged.

Still:

 JobId Level   Name                       Status
======================================================================
    43 Full    Bacula.2010-02-22_22.48.02.04 is waiting for an appendable Volume
    44 Full    Tiikeri.2010-02-22_22.48.09.06 is waiting execution

> for automatic prune'ing see retention times in the bacula manual.

I think I understand the automatic method.  We will see when the schedule kicks 
in for a while.

Thanks!
David Koski
david AT kosmosisland DOT com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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>