Re: [Bacula-users] closing tape upon completion.
On Tue, Jan 13, 2009 at 10:41 AM, Pascal Clermont pascal-l...@lexum.umontreal.ca wrote: Is it possible to have bacula close a tape once last job is run (backupcatalog in my case)? currently it leaves tapes on a APPEND status, then bacula wants to reuse the tape instead of taking a new one in the library. Look for use volume once in the documentation. John -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
Is it possible to have bacula close a tape once last job is run (backupcatalog in my case)? currently it leaves tapes on a APPEND status, then bacula wants to reuse the tape instead of taking a new one in the library. Easiest way (before knowing what you mean with last job) might be defining for how long time Bacula may use the same tape, starting from first write (after recycling). For example, if your jobs (from first to last) take a maximum of 3 hours, you could set max volume use duration (check the correct syntax from manual) to, say, 6 to 12 hours. While this time has expired (next day?), Bacula will take another tape from the library. -- TiN -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
On Tue, Jan 13, 2009 at 10:57 AM, Timo Neuvonen timo-n...@tee-en.net wrote: Is it possible to have bacula close a tape once last job is run (backupcatalog in my case)? currently it leaves tapes on a APPEND status, then bacula wants to reuse the tape instead of taking a new one in the library. Easiest way (before knowing what you mean with last job) might be defining for how long time Bacula may use the same tape, starting from first write (after recycling). For example, if your jobs (from first to last) take a maximum of 3 hours, you could set max volume use duration (check the correct syntax from manual) to, say, 6 to 12 hours. While this time has expired (next day?), Bacula will take another tape from the library. That sounds better than my answer. Since mine will only allow 1 job run... John -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
Timo Neuvonen wrote: Is it possible to have bacula close a tape once last job is run (backupcatalog in my case)? currently it leaves tapes on a APPEND status, then bacula wants to reuse the tape instead of taking a new one in the library. Easiest way (before knowing what you mean with last job) might be defining for how long time Bacula may use the same tape, starting from first write (after recycling). For example, if your jobs (from first to last) take a maximum of 3 hours, you could set max volume use duration (check the correct syntax from manual) to, say, 6 to 12 hours. While this time has expired (next day?), Bacula will take another tape from the library. this is what I use, but on the next bacula run, bacula kept wanting to load the tape prior to take into consideration that the tape was past the expiration time of usage. -- TiN -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
I Have several jobs executed during the night (~20) and with my comprehension of this value, every job during the same night would be spawned to different tapes. This is most useful when the Media is a file and you want a new file for each backup that is done. -bacula documentation Then use volume use duration and make it small enough to get all jobs but not be around the next day. John -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
John Drescher wrote: On Tue, Jan 13, 2009 at 10:41 AM, Pascal Clermont pascal-l...@lexum.umontreal.ca wrote: Is it possible to have bacula close a tape once last job is run (backupcatalog in my case)? currently it leaves tapes on a APPEND status, then bacula wants to reuse the tape instead of taking a new one in the library. Look for use volume once I Have several jobs executed during the night (~20) and with my comprehension of this value, every job during the same night would be spawned to different tapes. This is most useful when the Media is a file and you want a new file for each backup that is done. -bacula documentation in the documentation. John -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
John Drescher wrote: On Tue, Jan 13, 2009 at 10:57 AM, Timo Neuvonen timo-n...@tee-en.net wrote: Is it possible to have bacula close a tape once last job is run (backupcatalog in my case)? currently it leaves tapes on a APPEND status, then bacula wants to reuse the tape instead of taking a new one in the library. Easiest way (before knowing what you mean with last job) might be defining for how long time Bacula may use the same tape, starting from first write (after recycling). For example, if your jobs (from first to last) take a maximum of 3 hours, you could set max volume use duration (check the correct syntax from manual) to, say, 6 to 12 hours. While this time has expired (next day?), Bacula will take another tape from the library. That sounds better than my answer. Since mine will only allow 1 job run... John this is what I use, but on the next bacula run, bacula kept wanting to load the tape prior to take into consideration that the tape was past the expiration time of usage. The big issue is the fact that the tape is no longer in the library since it is gone for safe keeping. So bacula finishes by dieing, until I restart it and manually mark the tape as full. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
this is what I use, but on the next bacula run, bacula kept wanting to load the tape prior to take into consideration that the tape was past the expiration time of usage. The big issue is the fact that the tape is no longer in the library since it is gone for safe keeping. So bacula finishes by dieing, until I restart it and manually mark the tape as full. This is not normal behavior. How long have you allowed the volume usage? John -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
John Drescher wrote: this is what I use, but on the next bacula run, bacula kept wanting to load the tape prior to take into consideration that the tape was past the expiration time of usage. The big issue is the fact that the tape is no longer in the library since it is gone for safe keeping. So bacula finishes by dieing, until I restart it and manually mark the tape as full. This is not normal behavior. How long have you allowed the volume usage? John Pool { Name = Weekly Pool Type = Backup Storage = LTO Recycle = yes AutoPrune = yes Volume Use Duration = 72h Volume Retention = 1 months } the LTO is only used on a weekly/monthly basis. The backup process usually takes 24 to 48 hours. If I remove the tape, and do a update slots scan or update slots in bconsole, the media is still flagged inchanger 1. this is an issue aswell, but I can live with that, since tapes are back in the library prior to the Volume Retention. Pascal -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
If I remove the tape, and do a update slots scan or update slots in bconsole, the media is still flagged inchanger 1. this is an issue aswell, but I can live with that, since tapes are back in the library prior to the Volume Retention. Are you using bacula 2.4.X and not some ancient version like 1.38? John -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] closing tape upon completion.
John Drescher wrote: If I remove the tape, and do a update slots scan or update slots in bconsole, the media is still flagged inchanger 1. this is an issue aswell, but I can live with that, since tapes are back in the library prior to the Volume Retention. Are you using bacula 2.4.X and not some ancient version like 1.38? John Version: 2.4.3 (10 October 2008) -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users