Bacula-users

[Bacula-users] Bacula pruning too much?

2011-02-01 19:36:42
Subject: [Bacula-users] Bacula pruning too much?
From: Marc Schiffbauer <marc AT schiffbauer DOT net>
To: Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 2 Feb 2011 01:08:43 +0100
Hi all,

Bacula 5.0.3.

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?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

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