Bacula-users

Re: [Bacula-users] Count Based Retention

2008-08-14 12:02:02
Subject: Re: [Bacula-users] Count Based Retention
From: Hemant Shah <hjrrs AT yahoo DOT com>
To: Ryan Novosielski <novosirj AT umdnj DOT edu>, baculausers <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 14 Aug 2008 09:01:47 -0700 (PDT)
iYou may also turn off autoprune and write a runafter job to keep last two 
backups and prune other jobs.


Hemant Shah
E-mail: hjrrs AT yahoo DOT com


--- On Thu, 8/14/08, Ryan Novosielski <novosirj AT umdnj DOT edu> wrote:

> From: Ryan Novosielski <novosirj AT umdnj DOT edu>
> Subject: Re: [Bacula-users] Count Based Retention
> To: bacula-users AT lists.sourceforge DOT net
> Date: Thursday, August 14, 2008, 9:30 AM
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> John Yates wrote:
> > Is there any way to get Bacula to expire backup jobs
> based on a count
> > of existing jobs of the same type rather than by how
> old each job of a
> > type is?  I am currently running a job every night
> that backs up to
> > disk, and I want to keep the two most recent ones.  If
> it set the
> > retention period to two days, that should ususall do
> the right thing,
> > but if, for example, I shut off all my computers and
> go on vacation
> > for a week, when I come back, my backups will all be
> expired -- not
> > what I want.
> > 
> > I suspect that what many, if not most, people really
> want is to keep a
> > specific number of old backups, not any that are more
> recent than a
> > certain date.  Is there some way to make bacula work
> this way?  The
> > Storix backup product that I have used can do this.
> 
> Are you speaking from experience with Bacula? Bacula is
> very reluctant
> to recycle any data, especially if there are no current
> backups. I see
> what you're getting at, but unless I'm missing
> something, that is not
> what actually happens, so I'm guessing this is
> hypothetical.
> 
> There is no way without scripting to ask it to keep a
> certain number of
> backups, though with predictable scheduling, this will
> happen anyway.
> And if you're worried about throwing away current
> backups, I'm really
> not convinced that it has this problem.
> 
> - --
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski
> - Systems Programmer II
>  |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu -
> 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical
> Science Bldg - C630
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
> 
> iD8DBQFIpEFymb+gadEcsb4RAjmsAJ9i3hy/KFYble7/LL/7yeOrE3tUuwCfdvh+
> bbjvY3OIQiPLaoSzz7VB3Xs=
> =83Ky
> -----END PGP SIGNATURE-----
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK
> & win great prizes
> Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


      

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users