Bacula-users

Re: [Bacula-users] When is my Volume will be recycled?

2009-10-15 23:25:42
Subject: Re: [Bacula-users] When is my Volume will be recycled?
From: Cedric Tefft <logicloop AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 15 Oct 2009 20:22:23 -0700
Jose Perez wrote:
> Now I'd like to be able to store (and so be able to restore from)
> backups of last 90 days; Older backups must be simply erased, so to
> achieve this ... would I need something like these?
>
> Client {
>   ...
>   ...
>   File Retention = 90 days
>   Job Retention = 90 days
> }
>
> Pool {
>   ...
>   ...
>   Label Format = Vol-
>   Volume Use Duration = 10 days
>   Volume Retention = 90 days
> }
>
> Am I right? And the above will be equivalent to omit File and Job
> Retention directives but preserving Volume Retention at 90 days?
>   

Almost.  If you want Bacula to truly ignore File and Job retention 
times, I think you need to add "AutoPrune=no" to the client definitions.

> With this Pool configuration Bacula would create about 9 Volumes (from
> Vol-0001 to Vol-0009, one each ten days) within 90 days. Am I right?
>
> So if what I believe is true then Bacula will create a tenth Volume
> (Vol-0010) and just after this being marked as Used (past 10 days
> more) Bacula would choose Vol-0001 to mark it as Purged and overwrite
> it (Recycle), Am I right too?
>
> So according to this Volume strategy management, Bacula will NEVER
> create an eleventh Volume (Vol-0011) because would keep recycling
> Vol-0002, Vol-0003, ..., Vol-00010 (and then Vol-0001 again). Am I
> right?
>   

Yeah, that looks about right.

- Cedric


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users