Re: [Bacula-users] Retention period calculation

2023-01-31 Thread Justin Case
Thanks for clarifying this, Ana, so if I wanted my tier 1 storage to keep backups for 60 days, and my tier 2 storage to keep backups for 120 days, would it be the best to set the retention periods as follows in the different resources:? • client resources: • file retention: 60 •

Re: [Bacula-users] Retention period calculation

2023-01-31 Thread Ana Emília M . Arruda
Hello Justin, Sorry for the confusion! You are right, we recommend that *VolumeRetention is greater than or equal to JobRetention". So, the Volume will never get pruned before the Job Retention has expired. Hope it is clear now. Best, Ana On Tue, Jan 31, 2023 at 10:43 AM Justin Case wrote: >

Re: [Bacula-users] Retention period calculation

2023-01-31 Thread Justin Case
Hi Ana, see below > On 31. Jan 2023, at 10:16, Ana Emília M. Arruda > wrote: > > Hello Justin, > > The problem is that you expect the Job doesn't get pruned from the Catalog > (Job and File records deleted from the Bacula database) *before* the > JobRetention value expires. > If you have a l

Re: [Bacula-users] Retention period calculation

2023-01-31 Thread Ana Emília M . Arruda
Hello Justin, The problem is that you expect the Job doesn't get pruned from the Catalog (Job and File records deleted from the Bacula database) *before* the JobRetention value expires. If you have a lower VolumeRetention and the volume gets pruned by using "prune volume expired yes", your jobs wi

Re: [Bacula-users] Retention period calculation

2023-01-30 Thread Justin Case
Hello Ana, I though about what you wrote and I am still wondering what would be the problem if a volume gets purged before the contained jobs retentions expire? This would remove the jobs and the corresponding files also from the catalog, ok, but where is the problem? I am Just trying to get a

Re: [Bacula-users] Retention period calculation

2023-01-30 Thread Ana Emília M . Arruda
Hello Antonino, Please note that Job, File and Volume retention values are related to "Catalog stuff". They are the retention of the Jobs and File records in the Catalog. Bacula doesn't touch the data in the volumes unless the volume gets reused or truncated. When you prune jobs, files or volumes,

Re: [Bacula-users] Retention period calculation

2023-01-30 Thread Antonino Balsamo
Thanks Ana and good spot. CATALOGRETENTION is the value I use for all catalog related stuff (job, file and volume), maybe is redundant... Updated calc: RETENTION=2 FILERETENTION=$(($RETENTION*30+40)) VOLUMERETENTION=$(($RETENTION*30+40)) JOBRETENTION=$(($RETENTION*30+40)) CATALOGRETENTION=$((

Re: [Bacula-users] Retention period calculation

2023-01-30 Thread Ana Emília M . Arruda
Hello Antonino, I'm not sure I've understood your question. What does you mean by "CATALOGRETENTION"? There are only three retention values in Bacula: File, Job and Volume. I strongly recommend you to set JobRetention less than or equal to VolumeRetention to avoid the volume to be pruned before t

[Bacula-users] Retention period calculation

2023-01-28 Thread Antonino Balsamo
Hello, I have a shell script generating my bacula configs. Is there any enhancements, error or whatever in calculating the retention period as per below? (it is a no-recycle scenario) #days to keep records in months, min 1 RETENTION=2 FILERETENTION=$(($RETENTION*30+40)) VOLUMERETENTION=$(($

Re: [Bacula-users] Retention Period

2020-06-23 Thread Wanderlei Huttel
Hello Ken You must change the "Volume Retention" in the Pool Resource. And after that is necessary to run the command "update" in the bconsole to apply the changes vor volumes previously written. *update 1: Volume parameters 14: All Volumes from all Pools Best regards *Wanderlei Hüttel* Em t

[Bacula-users] Retention Period

2020-06-23 Thread Ken Mandelberg
I'm using files for Volumes, not tapes. Originally I was doing 90 day retention, but since then the amount of data to backup has increased, and I don't want to commit more file volumes (I have 13 *50G ). The backups stop when the files are full and the soonest expiration date hasn't been reache

Re: [Bacula-users] Retention Period not working?

2017-08-30 Thread Jim Richardson
Volume’ option will be sure they are recycled first. I hope that helps. Jim Richardson From: sachin.holikar [mailto:sachin.holi...@gmail.com] Sent: Wednesday, August 30, 2017 8:18 AM To: Wanderlei Huttel Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Retention Period not

Re: [Bacula-users] Retention Period not working?

2017-08-30 Thread sachin.holikar
Thanx for the Response. Here is the Output. and the Directory listing is correct. *restore jobid=2440 Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" You have selected the following JobId: 2440 Building directory tree for JobId(s) 2440 ... +

Re: [Bacula-users] Retention Period not working?

2017-08-30 Thread Wanderlei Huttel
Hello Sachin Try to restore jobid=2440 until the screen to confirm and post all information in the screen (since the begin) Regards *Wanderlei Hüttel* http://www.huttel.com.br 2017-08-30 9:40 GMT-03:00 sachin.holikar : > Hello Expert, > > We have been using Bacula Version: 7.4.0. > Recently we

[Bacula-users] Retention Period not working?

2017-08-30 Thread sachin.holikar
Hello Expert, We have been using Bacula Version: 7.4.0. Recently we introduced Offsite backup pool with N no. of tapes. The retention periods are as follows, File Retention : 92 Days Job Retention : 92 Days Volume Retention : 365 Days Every month we take offsite backup and the respective tapes mov

Re: [Bacula-users] Retention period - last written date, and time?

2017-01-02 Thread Gi Dot
Yes, I understand that. But for such setup like recycling the same tape every night, and if the backup takes several hours to complete, the hours calculation is pretty important. On 2 Jan 2017 17:32, "Radosław Korzeniewski" wrote: Hello, 2016-12-29 8:10 GMT+01:00 Gi Dot : > Hello, > > I have a

Re: [Bacula-users] Retention period - last written date, and time?

2017-01-02 Thread Radosław Korzeniewski
Hello, 2016-12-29 8:10 GMT+01:00 Gi Dot : > Hello, > > I have always calculated my volume retention period based on its last > written date, and time. This means when I want to plan for a new > configuration, I will consider how long it takes for the backup to complete > - say if it takes 2 hours

Re: [Bacula-users] Retention period - last written date, and time?

2016-12-31 Thread Gi Dot
The one day retention period was just an example. Plus, the 'use volume once' directive works if I have only one job to run daily, which is not the case. Say if I need bacula to recycle the same volume on weekend, I'd resort to using "volume use duration" directive, with retention period just a few

Re: [Bacula-users] Retention period - last written date, and time?

2016-12-31 Thread Dan Langille
On Dec 29, 2016, at 2:10 AM, Gi Dot wrote:Hello,I have always calculated my volume retention period based on its last written date, and time. This means when I want to plan for a new configuration, I will consider how long it takes for the backup to complete - say if it takes 2 hours to complete a

[Bacula-users] Retention period - last written date, and time?

2016-12-28 Thread Gi Dot
Hello, I have always calculated my volume retention period based on its last written date, and time. This means when I want to plan for a new configuration, I will consider how long it takes for the backup to complete - say if it takes 2 hours to complete and I need a retention period of 1 day, I

Re: [Bacula-users] Retention Period

2016-08-30 Thread Wanderlei Huttel
Hello 2016-08-30 4:32 GMT-03:00 sachin.holikar : > Hello Community, > > > > I have a question regarding Bacula retention period. > > We have bacula Server 7.4.0 installed on SLES 12. > > > > We wish to take weekly incremental backup of a client (ClientA) and then > Full Backup over the weekend.

[Bacula-users] Retention Period

2016-08-30 Thread sachin.holikar
Hello Community, I have a question regarding Bacula retention period. We have bacula Server 7.4.0 installed on SLES 12. We wish to take weekly incremental backup of a client (ClientA) and then Full Backup over the weekend. Weekly incremental backup , we would like to keep for 1 month. We

[Bacula-users] Retention Period

2016-08-30 Thread Holikar, Sachin (ext)
Hello Community, I have a question regarding Bacula retention period. We have bacula Server 7.4.0 installed on SLES 12. We wish to take weekly incremental backup of a client (ClientA) and then Full Backup over the weekend. Weekly incremental backup , we would like to keep for 1 month. Wee

[Bacula-users] Retention period definitions clashing with scheduling definitions?

2009-01-22 Thread Foo
Hi, Just to make sure I've got this correct: Bacula does a simple calculation when parsing retention config options such as month=30 days*24 hours*60 minutes*60 seconds everywhere. An example: maximum volumes=3 (per pool) volume use duration=1 month volume retention=5 weeks file retention=2

[Bacula-users] Retention period priority.

2007-02-08 Thread Dwight Tovey
I think I'm having an issue with how Bacula handles retention periods and volume recycling. What I need to do: I have several machines that need to be backed up. Most of these machines have multiple filesystems. Most of these filesystems we only need to retain a backup for one month, but a few o

[Bacula-users] Retention period trouble

2006-11-17 Thread jerume
Hi, I have some diffuculty to understand the meaning of file, job and volume retention... i have read the manual but there is some trouble points. In fact i have one goal : backup 40 clients in a 1,1 To raid5. I would like to conserve just one week of history for every client. So could i put file,