The one day retention period was just an example. Plus, the 'use volume
once' directive works if I have only one job to run daily, which is not the
case. Say if I need bacula to recycle the same volume on weekend, I'd
resort to using "volume use duration" directive, with retention period just
a few hours extra.
On 1 Jan 2017 03:00, "Dan Langille" <d...@langille.org> wrote:
> On Dec 29, 2016, at 2:10 AM, Gi Dot <gadi...@gmail.com> wrote:
>
> Hello,
>
> I have always calculated my volume retention period based on its last
> written date, and time. This means when I want to plan for a new
> configuration, I will consider how long it takes for the backup to complete
> - say if it takes 2 hours to complete and I need a retention period of 1
> day, I will minus the 2 hours so it'll become 22h, though normally I'll
> minus a couple of more hours just to be safe.
>
> From the manual:
> Search the Pool for a Volume with VolStatus=Recycle and the InChanger flag
> is set true (if there is more than one, the Volume with the oldest date
> last written is chosen. If two have the same date then the one with the
> lowest MediaId is chosen).
>
> Does the time count? Or bacula just look at the date and count it from
> 0000 hours?
>
>
> What about using the volume just for one backup? This solves your issue I
> think.
>
> Use Volume Once = yes
>
> --
> Dan Langille - BSDCan / PGCon
> d...@langille.org
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users