Bacula-users

Re: [Bacula-users] Bacula pruning too much?

2011-02-01 20:45:48
Subject: Re: [Bacula-users] Bacula pruning too much?
From: John Drescher <drescherjm AT gmail DOT com>
To: Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 1 Feb 2011 20:43:17 -0500
> I have a client for which I do not run a backup job on a scheduled
> basis but only when I start it manually.
>
> Today I wanted to restore a file from the last backup. But there is
> no backup left in the catalog!
>
> How can that happen?
>
> I know that there are different retention periods. But according to
> the docs there should *always* be a valid backup, right?
>
> The docs say:
>
>  "File Retention = time-period-specification
>      [...]
>      When this time period expires, and if AutoPrune is set to yes,
>      Bacula will prune (remove) File records that are older than
>      the specified File Retention period. The pruning will occur at
>                                           ^^^^^^^^^^^^^^^^^^^^^^^^^
>      the end of a backup Job for the given Client."
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Even if the last backup I had may be expired: Why would it have been
> removed from the database then?
>
> There has no job been run since then for that client. And if there
> would have, then that last job must be in the database at least.
>
> The last backup was:
> 12-Sep-2010 13:23:22 - bart-Data.2010-09-12_13.02.01_10 - Full (upgraded from 
> Incremental)
>
> And: The retension periods for that client are configure to 12
> months:
>
> Client {
>  [...]
>  File Retention = 12 months
>  Job Retention = 12 months
>  AutoPrune = yes
> }
>
> Any hints?
>
What about the media retention? The media retention periods have
highest priority and can be pruned regardless of the what the file or
job retention periods are. Also remember with media the settings in
the bacula-dir.conf files only apply to new volumes so changing volume
retention periods on a pool will not take effect on already labeled
volumes. You must apply the new settings in a bacula console.

John

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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>