Bacula-users

Re: [Bacula-users] Recycle Tape marked used but not the oldest volume.

2016-09-12 10:34:12
Subject: Re: [Bacula-users] Recycle Tape marked used but not the oldest volume.
From: Gi Dot <gadidot AT gmail DOT com>
To: Phil Stracchino <phils AT caerllewys DOT net>
Date: Mon, 12 Sep 2016 22:33:09 +0800

Sorry I forgot to mention that I want a solution that doesn't require human intervention. I used to use a script to set the volume status to recycle after each job run but I figured that maybe there's a better way of doing it?

My aim is so that the backup job will always be successful, regardless a wrong tape is inserted, or if a tape is not changed for some time that will lead it to be fully utilised, but can't be recycled because there are other tapes that are appendable.


On 12 Sep 2016 22:06, "Phil Stracchino" <phils AT caerllewys DOT net> wrote:
On 09/12/16 06:14, Gi Dot wrote:
> Hi list,
>
> If I have a list of tapes with status Used, and the tape that I inserted
> is also Used and the retention period is already exceeded, bacula won't
> recycle the tape if it is not the oldest volume, right?
>
> If the prior statement is true, is it possible for me to get bacula to
> recycle a tape that is already marked as used and has exceeded its
> retention period, while ignoring whether it is the oldest volume or not.

Purge the volume and use an UPDATE VOLUME command to set its status to
Recycle.


--
  Phil Stracchino
  Babylon Communications
  phils AT caerllewys DOT net
  phil AT co.ordinate DOT org
  Landline: 603.293.8485

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
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>