Hello Store Advs,

Yes, if you want to keep job information and use prunning, you can set
appropriate bigger values for Job Retention and Volume Retention
directives. In this case prunning will work primarily for file
records.

Or if you need to keep the job history information for statistics
purposes, you can use the Bacula Statistics function for that. Baculum
doesn't support it yet but there is a plan to add that support.

Best regards,
Marcin Haba (gani)

On Tue, 20 Oct 2020 at 19:18, Store Advs <jaenna...@hotmail.com> wrote:
>
> Thank you. Is there any way to enable pruning while Not deletig the DB entrys 
> for the Job History? I saw some runscript but that didnt Work for me either.
> ________________________________
> From: Marcin Haba <ganius...@gmail.com>
> Sent: Tuesday, October 20, 2020 7:09 PM
> To: Store Advs <jaenna...@hotmail.com>; Bacula-users@lists.sourceforge.net 
> <bacula-users@lists.sourceforge.net>
> Subject: Re: [Bacula-users] Unable to keep the job history for a longer time 
> in the baculum history table
>
> Hello Store Advs,
>
> For AutoPrune = Yes, it have impact on the job history because it runs
> prunning that causes deleting from the Catalog records (respecting the
> retention period values). More information you can find in the Main
> Manual here:
>
> https://www.bacula.org/9.6.x-manuals/en/main/Automatic_Volume_Recycling.html#SECTION002810000000000000000
>
> Best regards,
> Marcin Haba (gani)
>
> On Tue, 20 Oct 2020 at 10:09, Store Advs <jaenna...@hotmail.com> wrote:
> >
> > Hi Marcin Haba,
> >
> > thank you for your response.
> >
> > I've updated the pool yesterday but not the volumes. That might be the 
> > issue. I'll test that and let you know!
> >
> > Another quick question: Auto Prune = Yes should have no impact on the 
> > cleanup of the job history correct?
> >
> > ________________________________
> > From: Marcin Haba <ganius...@gmail.com>
> > Sent: Monday, October 19, 2020 5:44 PM
> > To: Store Advs <jaenna...@hotmail.com>
> > Cc: bacula-users@lists.sourceforge.net <bacula-users@lists.sourceforge.net>
> > Subject: Re: [Bacula-users] Unable to keep the job history for a longer 
> > time in the baculum history table
> >
> > Hello Store Advs,
> >
> > In Baculum you can update pool and volumes in pool on the Pool page:
> > "Update pool" and "Update all vols in pool" buttons. There is also
> > possible to update particular volume properties on the Volume page.
> >
> > Best regards,
> > Marcin Haba (gani)
> >
> > On Mon, 19 Oct 2020 at 17:37, Marcin Haba <ganius...@gmail.com> wrote:
> > >
> > > Hello Store Advs,
> > >
> > > It looks that your volume records haven't been updated after changing
> > > the Volume Retention time. Baculum doesn't remove jobs automatically.
> > > Did you update pool and volume records in the Catalog?
> > >
> > > Here you can find more information about the update command:
> > >
> > > https://www.bacula.org/9.6.x-manuals/en/console/Bacula_Console.html#432
> > >
> > > Best regards,
> > > Marcin Haba (gani)
> > >
> > >
> > > On Mon, 19 Oct 2020 at 15:04, Store Advs <jaenna...@hotmail.com> wrote:
> > > >
> > > > Hello,
> > > >
> > > > i've been struggling to extend the duration to keep the Job History.
> > > > I already added "Statistics Retention = 5 years" to the Director but 
> > > > i'm not able to use that setting on clients or other configurations.
> > > >
> > > > Settings for Clients:
> > > > File Retention: 30 Days
> > > > JobRetention: 2 Years
> > > > AutoPrune = yes
> > > >
> > > > The Volume Retention was 14 days before and the jobs disapeared after 
> > > > 14 days. So i extended it to 365 Days without impact.
> > > > Settings for Pools:
> > > >   Name = "Diff"
> > > >   Description = "Differential Backup Pool"
> > > >   PoolType = "Backup"
> > > >   LabelFormat = "DIFF-Vol-"
> > > >   RecycleOldestVolume = yes
> > > >   MaximumVolumes = 70
> > > >   MaximumVolumeBytes = 50000000000
> > > >   VolumeRetention = 31536000
> > > >   AutoPrune = yes
> > > >
> > > > Pool {
> > > >   Name = "Full"
> > > >   Description = "Full Backups"
> > > >   PoolType = "Backup"
> > > >   LabelFormat = "FULLVol-"
> > > >   RecycleOldestVolume = yes
> > > >   MaximumVolumes = 70
> > > >   MaximumVolumeBytes = 50000000000
> > > >   VolumeRetention = 31536000
> > > >   AutoPrune = yes
> > > > }
> > > >
> > > > Could anybody help me out why the jobs are still getting deleted after 
> > > > 14 days?
> > > >
> > > >
> > > > _______________________________________________
> > > > Bacula-users mailing list
> > > > Bacula-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > >
> > >
> > >
> > > --
> > > "Greater love hath no man than this, that a man lay down his life for
> > > his friends." Jesus Christ
> > >
> > > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
> > > za przyjaciół swoich." Jezus Chrystus
> >
> >
> >
> > --
> > "Greater love hath no man than this, that a man lay down his life for
> > his friends." Jesus Christ
> >
> > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
> > za przyjaciół swoich." Jezus Chrystus
>
>
>
> --
> "Greater love hath no man than this, that a man lay down his life for
> his friends." Jesus Christ
>
> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
> za przyjaciół swoich." Jezus Chrystus



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to