Re: [Bacula-users] Reusing a disk volume
On Fri, May 16, 2014 at 7:17 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: Hi, at the moment we have a single disk volume (file). We would like to reuse this disk volume file so it will not grow infinitely. We have a monthly rotation schedule (this is actually the default schedule): # full backup on first sunday of month, differential every other # sunday, incremental backups other days Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:00 Run = Differential 2nd-5th sun at 23:00 Run = Incremental mon-sat at 23:00 } After two cycles (two months), we would like to delete old files from the volume file. Thus we set FileRetention = 60 days JobRetention= 60 days VolumeRetention = 60 days Recycle = yes There is no maximum file or volume size or volume use duration configured. My question is: will the above settings ensure that after about sixty days, the file volume size will reach its maximum (assuming that the size of the backed-up data remains constant)? No it will not. The retention period begins after a volume is marked full or used. At 60 days it will still be append. You need to limit the # of jobs, use duration and/or size. Then after the volume is marked Full or Used the 60 days begins counting from the last written date. John -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
* John Drescher (Fri, 16 May 2014 08:37:31 -0400) On Fri, May 16, 2014 at 7:17 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: at the moment we have a single disk volume (file). We would like to reuse this disk volume file so it will not grow infinitely. [...] After two cycles (two months), we would like to delete old files from the volume file. Thus we set FileRetention = 60 days JobRetention= 60 days VolumeRetention = 60 days Recycle = yes There is no maximum file or volume size or volume use duration configured. My question is: will the above settings ensure that after about sixty days, the file volume size will reach its maximum (assuming that the size of the backed-up data remains constant)? No it will not. The retention period begins after a volume is marked full or used. At 60 days it will still be append. You need to limit the # of jobs, use duration and/or size. So in my case I would have to set UseDuration accordingly. Then after the volume is marked Full or Used the 60 days begins counting from the last written date. I want to purge files directly when the (catalog) retention period (sixty days) occurs. Does that mean I have to set UseDuration to 0 (0 + 60 days = 60 days)? Thorsten -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
On Fri, May 16, 2014 at 8:53 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: * John Drescher (Fri, 16 May 2014 08:37:31 -0400) On Fri, May 16, 2014 at 7:17 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: at the moment we have a single disk volume (file). We would like to reuse this disk volume file so it will not grow infinitely. [...] After two cycles (two months), we would like to delete old files from the volume file. Thus we set FileRetention = 60 days JobRetention= 60 days VolumeRetention = 60 days Recycle = yes There is no maximum file or volume size or volume use duration configured. My question is: will the above settings ensure that after about sixty days, the file volume size will reach its maximum (assuming that the size of the backed-up data remains constant)? No it will not. The retention period begins after a volume is marked full or used. At 60 days it will still be append. You need to limit the # of jobs, use duration and/or size. So in my case I would have to set UseDuration accordingly. Then after the volume is marked Full or Used the 60 days begins counting from the last written date. I want to purge files directly when the (catalog) retention period (sixty days) occurs. Does that mean I have to set UseDuration to 0 (0 + 60 days = 60 days)? Maybe use duration of 59 days. Then volume retention in a few hours. If you set use duration to a small number # 0 you will only be able to store data on the volume for that period. I believe a use duration of 0 means infinity (although I could be wrong). John -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
* Thorsten Kampe (Fri, 16 May 2014 14:53:57 +0200) * John Drescher (Fri, 16 May 2014 08:37:31 -0400) On Fri, May 16, 2014 at 7:17 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: My question is: will the above settings ensure that after about sixty days, the file volume size will reach its maximum (assuming that the size of the backed-up data remains constant)? No it will not. The retention period begins after a volume is marked full or used. At 60 days it will still be append. You need to limit the # of jobs, use duration and/or size. So in my case I would have to set UseDuration accordingly. Then after the volume is marked Full or Used the 60 days begins counting from the last written date. I want to purge files directly when the (catalog) retention period (sixty days) occurs. Does that mean I have to set UseDuration to 0 (0 + 60 days = 60 days)? Okay, 0 means indefinitely, so that would be completely wrong. Since I want to have a backup history of sixty days, I need VolumeUseDuration to be at least 60 days. Does that mean that in this setup database pruning will be after sixty days and file pruning after 120 days? Thorsten -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
Maybe use duration of 59 days. Then volume retention in a few hours. If you set use duration to a small number # 0 you will only be able to store data on the volume for that period. I believe a use duration of 0 means infinity (although I could be wrong). Also remember that even on disk volumes that bacula recycles an entire volume at a time. So the jobs written on the first day will be around for 60 days but the jobs written on the 59th day will be around for less than a day. John -- John M. Drescher -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
On Fri, May 16, 2014 at 9:08 AM, John Drescher dresche...@gmail.com wrote: Maybe use duration of 59 days. Then volume retention in a few hours. If you set use duration to a small number # 0 you will only be able to store data on the volume for that period. I believe a use duration of 0 means infinity (although I could be wrong). Also remember that even on disk volumes that bacula recycles an entire volume at a time. So the jobs written on the first day will be around for 60 days but the jobs written on the 59th day will be around for less than a day. Sorry for so many emails. I believe to accomplish what you want you need to make 1 volume per day. Then you can have a use duration of a few hours and a 60 day retention John -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
* John Drescher (Fri, 16 May 2014 09:08:40 -0400) Maybe use duration of 59 days. Then volume retention in a few hours. If you set use duration to a small number # 0 you will only be able to store data on the volume for that period. I believe a use duration of 0 means infinity (although I could be wrong). Also remember that even on disk volumes that bacula recycles an entire volume at a time. So the jobs written on the first day will be around for 60 days but the jobs written on the 59th day will be around for less than a day. Okay, that's of course not what I want. Our current backup (not Bacula) makes sure that files older than sixty days will be deleted. How can I achieve the same with Bacula? Thorsten -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
Use a new volume every day, then cycle them. You won't use any more space, you're just using it differently. On 16/05/14 14:19, Thorsten Kampe wrote: * John Drescher (Fri, 16 May 2014 09:08:40 -0400) Maybe use duration of 59 days. Then volume retention in a few hours. If you set use duration to a small number # 0 you will only be able to store data on the volume for that period. I believe a use duration of 0 means infinity (although I could be wrong). Also remember that even on disk volumes that bacula recycles an entire volume at a time. So the jobs written on the first day will be around for 60 days but the jobs written on the 59th day will be around for less than a day. Okay, that's of course not what I want. Our current backup (not Bacula) makes sure that files older than sixty days will be deleted. How can I achieve the same with Bacula? Thorsten -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reusing a disk volume
* John Drescher (Fri, 16 May 2014 09:10:28 -0400) On Fri, May 16, 2014 at 9:08 AM, John Drescher dresche...@gmail.com wrote: Maybe use duration of 59 days. Then volume retention in a few hours. If you set use duration to a small number # 0 you will only be able to store data on the volume for that period. I believe a use duration of 0 means infinity (although I could be wrong). Also remember that even on disk volumes that bacula recycles an entire volume at a time. So the jobs written on the first day will be around for 60 days but the jobs written on the 59th day will be around for less than a day. Sorry for so many emails. I believe to accomplish what you want you need to make 1 volume per day. Then you can have a use duration of a few hours and a 60 day retention So I would set MaximumVolumes to 60 and MaximumVolumeJobs to 1? Will that automatically create the additional volume files? Thorsten -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users