Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-11-03 Thread Marcin Haba
Hello Store,

As I wrote in my previous email, Baculum doesn't support the Bacula
statistics feature yet. BTW: the JobHisto records are for statistical
purposes, not for restoring.

If you want to keep Job records for 720 days (as you defined in Job
Retention) then you need to set Volume Retention to value equal or
greater than 720 days. It is because when a volume is pruned then also
are pruned all job records and file records related to jobs and files
written onto the volume. Similarly is with Job records - if job
records are pruned, then associated file records from the job are
pruned as well. From this reason reasonably is to keep the relation:

File Retention <= Job Retention <= Volume Retention

In the next responses in this thread, please don't forget to reply to
the mailing list. Thanks in advance.

Best regards,
Marcin Haba (gani)

On Tue, 3 Nov 2020 at 11:14, Store Advs  wrote:
>
> Hey,
>
> it seems that the statistics are now saved in the JobHisto Database table.
> But for some reason they are not visible in Baculum. Baculum is still 
> removing them from the webGUI after 14 (File Retention = 30 Days) days.
> The JobRetention is 720 Days.
> The Volume Retention is 14 days (probably causing the removal?). I extended 
> this but i had to revert the changes because Bacula was unable to purge a 
> volume for new backups.
>
> I added a runscript for update longterm statistics which probably writes the 
> statistics to the JobHisto Table. But they are not visible in Baculum.
> Bacula also suggests a runscript for "purge statistics". Wouldn't that erase 
> the statistics that i actually want to keep?
>
>
> 
> From: Store Advs 
> Sent: Wednesday, October 28, 2020 9:20 AM
> To: Marcin Haba 
> Subject: Re: [Bacula-users] Unable to keep the job history for a longer time 
> in the baculum history table
>
> Hi Marcin Haba,
>
> thanks for the response.
>
> By the Statistics function you probably mean the bconsole -> update Long term 
> statistics correct?
> In order to automate that would a simple bash script do the job that executes 
> that command every day?
>
> What exactly does that command? Is it updating the statistics to the catalog?
> 
> From: Marcin Haba 
> Sent: Wednesday, October 21, 2020 8:26 AM
> To: Store Advs ; 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,
>
> 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  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 
> > Sent: Tuesday, October 20, 2020 7:09 PM
> > To: Store Advs ; 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#SECTION00281
> >
> > Best regards,
> > Marcin Haba (gani)
> >
> > On Tue, 20 Oct 2020 at 10:09, Store Advs  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 
> > > Sent: Monday, October 19, 2020 5:44 PM
> > > To: Store Advs 
> > > Cc: 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  wrote:
> > > >
> > > > Hello Store Advs,
> > 

Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-28 Thread Marcin Haba
Hello Store Advs,

On Wed, 28 Oct 2020 at 09:20, Store Advs  wrote:
>
> Hi Marcin Haba,
>
> thanks for the response.
>
> By the Statistics function you probably mean the bconsole -> update Long term 
> statistics correct?

Yes, it is correct.

> In order to automate that would a simple bash script do the job that executes 
> that command every day?

It can be a script or it can be a Runscript section in Job resource as
in example here:

https://www.bacula.org/9.6.x-manuals/en/main/Released_Version_3_0_3_3_0_.html#SECTION00112241800

> What exactly does that command? Is it updating the statistics to the catalog?

That command adds job records from the 'Job' table in your Catalog
database into 'JobHisto' table. When jobs are pruned, then the Job
records are pruned from the 'Job' table, but not from the 'JobHisto'
table, because statistics have their own Retention period and own
prune command.

Best regards,
Marcin Haba (gani)

> 
> From: Marcin Haba 
> Sent: Wednesday, October 21, 2020 8:26 AM
> To: Store Advs ; 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,
>
> 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  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 
> > Sent: Tuesday, October 20, 2020 7:09 PM
> > To: Store Advs ; 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#SECTION00281
> >
> > Best regards,
> > Marcin Haba (gani)
> >
> > On Tue, 20 Oct 2020 at 10:09, Store Advs  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 
> > > Sent: Monday, October 19, 2020 5:44 PM
> > > To: Store Advs 
> > > Cc: 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  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  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 = 

Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-21 Thread Marcin Haba
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  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 
> Sent: Tuesday, October 20, 2020 7:09 PM
> To: Store Advs ; 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#SECTION00281
>
> Best regards,
> Marcin Haba (gani)
>
> On Tue, 20 Oct 2020 at 10:09, Store Advs  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 
> > Sent: Monday, October 19, 2020 5:44 PM
> > To: Store Advs 
> > Cc: 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  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  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 = 500
> > > >   VolumeRetention = 31536000
> > > >   AutoPrune = yes
> > > >
> > > > Pool {
> > > >   Name = "Full"
> > > >   Description = "Full Backups"
> > > >   PoolType = "Backup"
> > > >   LabelFormat = "FULLVol-"
> > > >   RecycleOldestVolume = yes
> > > >   MaximumVolumes = 70
> > > >   MaximumVolumeBytes = 500
> > > >   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." 

Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-20 Thread Marcin Haba
Hello Pierre,

For removing only the file information from the Catalog after specific
time you need to adjust File Retention directive value in the Client
resource or the Pool resource. Default value is 60 days. If you set
AutoPrune = yes (default is 'yes') then prunning will be done
automatically at the end of the job. Otherwise you can do it manually
by prune bconsole command.

Best regards,
Marcin Haba (gani)

On Wed, 21 Oct 2020 at 07:05, Pierre Bernhardt
 wrote:
>
> On 20.10.20 19:09, Marcin Haba wrote:
> Hi,
>
> I want to purge also only the file information without removing the job and 
> volume
> history.
>
> >>> Here you can find more information about the update command:
> >>>
> >>> https://www.bacula.org/9.6.x-manuals/en/console/Bacula_Console.html#432
> But I cannot find information what I must configure to remove only the the 
> file
> information from the database.
> In bat it is possible to remove files from a single job but I want to remove
> the files more in a automatic way after a period.
>
> Thank you,
> Pierre
>
>
>
> ___
> 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


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


Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-20 Thread Pierre Bernhardt
On 20.10.20 19:09, Marcin Haba wrote:
Hi,

I want to purge also only the file information without removing the job and 
volume
history.

>>> Here you can find more information about the update command:
>>>
>>> https://www.bacula.org/9.6.x-manuals/en/console/Bacula_Console.html#432
But I cannot find information what I must configure to remove only the the file
information from the database.
In bat it is possible to remove files from a single job but I want to remove
the files more in a automatic way after a period.

Thank you,
Pierre



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


Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-20 Thread Marcin Haba
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#SECTION00281

Best regards,
Marcin Haba (gani)

On Tue, 20 Oct 2020 at 10:09, Store Advs  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 
> Sent: Monday, October 19, 2020 5:44 PM
> To: Store Advs 
> Cc: 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  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  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 = 500
> > >   VolumeRetention = 31536000
> > >   AutoPrune = yes
> > >
> > > Pool {
> > >   Name = "Full"
> > >   Description = "Full Backups"
> > >   PoolType = "Backup"
> > >   LabelFormat = "FULLVol-"
> > >   RecycleOldestVolume = yes
> > >   MaximumVolumes = 70
> > >   MaximumVolumeBytes = 500
> > >   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


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


Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-19 Thread Marcin Haba
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  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  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 = 500
> >   VolumeRetention = 31536000
> >   AutoPrune = yes
> >
> > Pool {
> >   Name = "Full"
> >   Description = "Full Backups"
> >   PoolType = "Backup"
> >   LabelFormat = "FULLVol-"
> >   RecycleOldestVolume = yes
> >   MaximumVolumes = 70
> >   MaximumVolumeBytes = 500
> >   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


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


Re: [Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-19 Thread Marcin Haba
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  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 = 500
>   VolumeRetention = 31536000
>   AutoPrune = yes
>
> Pool {
>   Name = "Full"
>   Description = "Full Backups"
>   PoolType = "Backup"
>   LabelFormat = "FULLVol-"
>   RecycleOldestVolume = yes
>   MaximumVolumes = 70
>   MaximumVolumeBytes = 500
>   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


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


[Bacula-users] Unable to keep the job history for a longer time in the baculum history table

2020-10-19 Thread Store Advs
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 = 500
  VolumeRetention = 31536000
  AutoPrune = yes

Pool {
  Name = "Full"
  Description = "Full Backups"
  PoolType = "Backup"
  LabelFormat = "FULLVol-"
  RecycleOldestVolume = yes
  MaximumVolumes = 70
  MaximumVolumeBytes = 500
  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