Ryan Novosielski wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Cort wrote:
I don't want to purge any records for tapes which aren't due for
recycling. As long as the tape itself hasn't been recycled, I want
to be able to restore any file from it without resorting to bscan.
I've worked out how much space this will require database-wise and
I'm confident that won't be a problem.
If so, just out of curiosity, how did you arrive at your file and job
retention times?
Originally it was part of a policy which predated me starting at this
company. I've changed the backup mechanism (used to be a bunch of shell
scripts which I wasn't entirely happy with) but I've retained the policy
as it has proven somewhat useful on a number of occasions now.
My current configuration has the same File and Job retention for
every job, regardless of which pool they're going to. The
configuration for each job is:
File Retention = 90 days
Job Retention = 1 month
I'm sure this is wrong, but I'm not sure what it should be. I want
every file and job record purged when the volume itself is up for
recycling and not before.
If I'm not mistaken, if you prune the job, it will take the files with
it (as there will be nothing to restore from).
I think you may be. Certainly dbcheck takes ages as I appear to have
many millions of orphan file entries. (This is another thing I'm
working on, it would be nice to kill two birds with one stone)
If you don't want
anything special to happen here, seems to me you'd want to set volume
retention times and pull these two directives out of the file as I
really don't think you need either one. What you have now says "prune
the listing of the individual files at 90 days but prune the jobs that
contain them at 1 month." As a result, I'd expect the behavior to be
"everything goes at 1 mo.
I'll give that a go. I think there will still be some sort of retention
applied as the default File retention period is 60 days, and the job
retention period 180 days as per the manual.
It will be interesting to see if the volumes in the Daily pool are still
recycled when I'd expect with a rather shorter Volume retention than
File/Job retention period.
--
U4EA Technologies
http://www.u4eatech.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users