Re: [Bacula-users] backup rotation, recycling and getting bacula to reuse a tape
Any comments? Am I completely off base? David On Tuesday 23 February 2010 07:22:59 pm David Koski wrote: Please comment on this strategy. Does it look reasonable? Any caveats? I have installed bacula and configured the director, storage and file daemons. My strategy is to have two pools, one for weekly full backups and one for daily incrementals. The hardware is a Exabyte Storageloader with 10 slots. The objective is to have a system that a non-technical person can change the tapes in without the intervention of an administrator so bconsole is not an option for the routine. As such, I have created a script to run before a backup: 1 #!/bin/bash 2 3 # update slot information in case of tape change 4 # use this before doing a backup 5 6 # David Koski 7 # Mon Feb 22 20:39:17 PST 2010 8 9 /usr/bin/bconsole -c /etc/bacula/bconsole.conf EOF 10 update slots storage=Library 11 EOF 12 All of the weekly tapes will have been added to the weekly pool. The retention will be set to a minimum, perhaps one day or less so they can always be overwritten if the operator (non-technical user changing tapes) chooses. This is more like the previous backup program they are used to (BRU) which has no concept of retention and is consistant with customer expectations. The full backups will always take two tapes and there will be two slots allocated to the full backup. The Daily backup tapes will occupy four slots and remain in the library with a retention time of maybe a week. They will probably hold two weeks if dailys are appended each day. It is expected that no user intervention is needed for daily backups and they will be recycled by bacula as needed. Thank you for your input. Regards, David Koski da...@kosmosisland.com --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup rotation, recycling and getting bacula to reuse a tape
I think I know the problem but I couldn't test it because my patients ended with bacula and I erased all tapes and deleted the volumes for relabeling. I discovered I have to update a volume to remove it from the pool when it is removed from the library. It looks like I cannot simply update slots before running the job. Wow! This is getting complicated. Regards, David Koski da...@kosmosisland.com On Wednesday 24 February 2010, David Koski wrote: Any comments? Am I completely off base? David On Tuesday 23 February 2010 07:22:59 pm David Koski wrote: Please comment on this strategy. Does it look reasonable? Any caveats? I have installed bacula and configured the director, storage and file daemons. My strategy is to have two pools, one for weekly full backups and one for daily incrementals. The hardware is a Exabyte Storageloader with 10 slots. The objective is to have a system that a non-technical person can change the tapes in without the intervention of an administrator so bconsole is not an option for the routine. As such, I have created a script to run before a backup: 1 #!/bin/bash 2 3 # update slot information in case of tape change 4 # use this before doing a backup 5 6 # David Koski 7 # Mon Feb 22 20:39:17 PST 2010 8 9 /usr/bin/bconsole -c /etc/bacula/bconsole.conf EOF 10 update slots storage=Library 11 EOF 12 All of the weekly tapes will have been added to the weekly pool. The retention will be set to a minimum, perhaps one day or less so they can always be overwritten if the operator (non-technical user changing tapes) chooses. This is more like the previous backup program they are used to (BRU) which has no concept of retention and is consistant with customer expectations. The full backups will always take two tapes and there will be two slots allocated to the full backup. The Daily backup tapes will occupy four slots and remain in the library with a retention time of maybe a week. They will probably hold two weeks if dailys are appended each day. It is expected that no user intervention is needed for daily backups and they will be recycled by bacula as needed. Thank you for your input. Regards, David Koski da...@kosmosisland.com - -- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup rotation, recycling and getting bacula to reuse a tape
Please comment on this strategy. Does it look reasonable? Any caveats? I have installed bacula and configured the director, storage and file daemons. My strategy is to have two pools, one for weekly full backups and one for daily incrementals. The hardware is a Exabyte Storageloader with 10 slots. The objective is to have a system that a non-technical person can change the tapes in without the intervention of an administrator so bconsole is not an option for the routine. As such, I have created a script to run before a backup: 1 #!/bin/bash 2 3 # update slot information in case of tape change 4 # use this before doing a backup 5 6 # David Koski 7 # Mon Feb 22 20:39:17 PST 2010 8 9 /usr/bin/bconsole -c /etc/bacula/bconsole.conf EOF 10 update slots storage=Library 11 EOF 12 All of the weekly tapes will have been added to the weekly pool. The retention will be set to a minimum, perhaps one day or less so they can always be overwritten if the operator (non-technical user changing tapes) chooses. This is more like the previous backup program they are used to (BRU) which has no concept of retention and is consistant with customer expectations. The full backups will always take two tapes and there will be two slots allocated to the full backup. The Daily backup tapes will occupy four slots and remain in the library with a retention time of maybe a week. They will probably hold two weeks if dailys are appended each day. It is expected that no user intervention is needed for daily backups and they will be recycled by bacula as needed. Thank you for your input. Regards, David Koski da...@kosmosisland.com -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup rotation
Try using mount to mount the disk after you have purged the volume. FYI, you did purge using the purge command and not by changing the volume status, right? On Thu, Sep 07, 2006 at 09:15:25AM +0200, Marco Strullato wrote: Hello, I still can not rotate volumes. after I change pool's configuration to Pool { Name = PoolENGI5657 Use Volume Once = yes Pool Type = Backup LabelFormat = ENGI5657- AutoPrune = yes VolumeRetention = 7 days Maximum Volumes = 8 Recycle = yes Maximum Volume Jobs = 1 Recycle Oldest Volume = yes Volume Use Duration = 1 day } I get: 07-set 09:08 DirectorServer: Start Backup JobId 196, Job= BackupENGI5657.2006-09-07_09.08.55 07-set 09:08 DirectorServer: Pruning oldest volume ENGI5657-0001 07-set 09:08 DirectorServer: Cannot purge Volume with VolStatus=Purged 07-set 09:09 ENGI5657: DIR and FD clocks differ by 45 seconds, FD automatically adjusting. and volume does not rotate... media is *list media pool=PoolENGI5657 +-+---+---++--+--+-+--+---+---+-+ | MediaId | VolumeName| VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-+---+---++--+--+-+--+---+---+-+ | 23 | ENGI5657-0001 | Purged| 51,557,748 |0 | 604,800 | 0 |0 | 0 | File | 2006-08-30 10:01:56 | | 30 | ENGI5657-0002 | Purged|445 |0 | 604,800 | 0 |0 | 0 | File | 2006-08-30 15:19:21 | | 37 | ENGI5657-0003 | Purged| 39,226,754 |0 | 604,800 | 0 |0 | 0 | File | 2006-08-30 23:01:33 | | 48 | ENGI5657-0004 | Used | 38,958,551 |0 | 604,800 | 0 |0 | 0 | File | 2006-08-31 23:01:37 | | 57 | ENGI5657-0005 | Used | 39,285,149 |0 | 604,800 | 0 |0 | 0 | File | 2006-09-01 23:01:22 | | 65 | ENGI5657-0006 | Used | 26,755,663 |0 | 604,800 | 0 |0 | 0 | File | 2006-09-02 23:00:58 | | 74 | ENGI5657-0007 | Used | 65,841,033 |0 | 604,800 | 0 |0 | 0 | File | 2006-09-03 23:06:30 | | 85 | ENGI5657-0008 | Used | 26,765,938 |0 | 604,800 | 0 |0 | 0 | File | 2006-09-04 23:00:54 | +-+---+---++--+--+-+--+---+---+-+ How can I rotate volumes? 2006/9/6, Uwe Schuerkamp [EMAIL PROTECTED]: On Wed, Sep 06, 2006 at 02:33:39PM +0200, Marco Strullato wrote: From: Marco Strullato [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date: Wed, 6 Sep 2006 14:33:39 +0200 Subject: [Bacula-users] backup rotation hi all! I've set up backups with bacula to do full backup on sunday and incrental from monday to saturday. My backups are only on disks; I'd like to have one volume for job. Moreover I need automatic recycling of volumes so volumes should rotate. I choose to have 8 volumes but maybe it is not necessary; At the beginning I set the pool parameter Recycle to no because Bacula used just one volume: with no bacula wrote me correctly a volume file for each job. After 8 backups all volumes are Used and any other backup is possible. Bacula correctly waits for a new volume. Today I change this directive to yes and re launch backup. Status of the 1st volume is change to Purged but backup does not start. I think I have done some mistakes in configuration. Can you help me? Pool configuration is the following. Do you need more configuration file? Pool { Name = PoolRaffaello Use Volume Once = yes Pool Type = Backup LabelFormat = Raffaello- AutoPrune = yes VolumeRetention = 7 days Maximum Volumes = 8 Recycle = yes Maximum Volume Jobs = 1 } Looks like you are missing the Recycle Oldest Volume parameter. Also, it might be a good idea to set the maximum volume use duration to one day (see the docs) and not try limiting it by the number of jobs. Also remember that you'll need to update pool from resource definition in bconsole once you've changed the pool resource. HTH, uwe -- Uwe Schuerkamp, NIONEX GmbH (http://www.nionex.com/) [EMAIL PROTECTED] Tel: +49 (0)5241 / 80 10 66 FAX: / 806 23 38 Avenwedder Str. 55, D-33311 Guetersloh, Germany GnuPG KeyID: 5887047D, Fingerprint: 2E1320229A3F63 7F676FE9B1A836A461 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
Re: [Bacula-users] backup rotation
On Wed, Sep 06, 2006 at 04:06:35PM -0400, Ryan Novosielski wrote: From: Ryan Novosielski [EMAIL PROTECTED] To: Uwe Schuerkamp [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Date: Wed, 06 Sep 2006 16:06:35 -0400 Subject: Re: [Bacula-users] backup rotation -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't think recycle oldest volume is necessary. I do not use it, and I have everything set up just fine. You should only need proper retention times and duration/jobs per volume settings. Thanks for the note, I guess I'm having a problem with retention periods then because the recycle oldest volume thingy has worked wonders with my recycling problems in the past ;-) All the best, uwe -- Uwe Schuerkamp, NIONEX GmbH (http://www.nionex.com/) [EMAIL PROTECTED] Tel: +49 (0)5241 / 80 10 66 FAX: / 806 23 38 Avenwedder Str. 55, D-33311 Guetersloh, Germany GnuPG KeyID: 5887047D, Fingerprint: 2E1320229A3F63 7F676FE9B1A836A461 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup rotation
On Wed, Sep 06, 2006 at 02:33:39PM +0200, Marco Strullato wrote: From: Marco Strullato [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date: Wed, 6 Sep 2006 14:33:39 +0200 Subject: [Bacula-users] backup rotation hi all! I've set up backups with bacula to do full backup on sunday and incrental from monday to saturday. My backups are only on disks; I'd like to have one volume for job. Moreover I need automatic recycling of volumes so volumes should rotate. I choose to have 8 volumes but maybe it is not necessary; At the beginning I set the pool parameter Recycle to no because Bacula used just one volume: with no bacula wrote me correctly a volume file for each job. After 8 backups all volumes are Used and any other backup is possible. Bacula correctly waits for a new volume. Today I change this directive to yes and re launch backup. Status of the 1st volume is change to Purged but backup does not start. I think I have done some mistakes in configuration. Can you help me? Pool configuration is the following. Do you need more configuration file? Pool { Name = PoolRaffaello Use Volume Once = yes Pool Type = Backup LabelFormat = Raffaello- AutoPrune = yes VolumeRetention = 7 days Maximum Volumes = 8 Recycle = yes Maximum Volume Jobs = 1 } Looks like you are missing the Recycle Oldest Volume parameter. Also, it might be a good idea to set the maximum volume use duration to one day (see the docs) and not try limiting it by the number of jobs. Also remember that you'll need to update pool from resource definition in bconsole once you've changed the pool resource. HTH, uwe -- Uwe Schuerkamp, NIONEX GmbH (http://www.nionex.com/) [EMAIL PROTECTED] Tel: +49 (0)5241 / 80 10 66 FAX: / 806 23 38 Avenwedder Str. 55, D-33311 Guetersloh, Germany GnuPG KeyID: 5887047D, Fingerprint: 2E1320229A3F63 7F676FE9B1A836A461 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users