Re: [Bacula-users] About retention, and pruning.
On Fri, Apr 29, 2011 at 11:11:24AM +0200, Hugo Letemplier wrote: 2011/4/29 Jérôme Blion jerome.bl...@free.fr: On Thu, 28 Apr 2011 17:33:48 +0200, Hugo Letemplier hugo.let...@gmail.com wrote: After the job ran many times: I have the following volume = job matching Vol name Level Time Test1 Full 15:50 324 Inc 16:00 325 Inc 16:10 326 Inc 16:20 324 Inc 16:30 Test2 Full 16:40 325 Inc 16:50 326 Inc 17:00 This is problematic because Vol324 is recycled instead of creating a new one I am not sure to understand the various retention periods : File, job, volume I think that I can increase the retention times but the problem will always be the same. ex : if I keep my incremental one hour then my first ones will always be purged first In a good strategy you purge the full sequence of incremental at the same time because you need to recycle you volume and don't want to keep a recent volume (incremental) without the previous ones. You would waste your tape/disk space. To do that I imagine that I need to create one pool per day and reduce progressively the retention periods. It doesn't makes sense ! I turned the problem on all its sides but I cant find a good solution. Maybe the other retention period are the solution but I didn't succeeded ? Thanks in advance That means that your upper backup levels should have greater retentions to be sure that at any time, you can use the full + diff + inc if needed. Keeping incremental without full backup can be useful to restore only specific files. Yes, but this problem is the same between incremental backups: Lots of people recommended me to use one pool per level: It works for Full and differentials, but not for inc pool Maybe one inc-pool per incremental run of a scheduling cycle should be good ? But it 's not simple I think that a new feature that add dependency between various job levels for the next versions of bacula could be cool. The idea is to allow pruning only for volume/jobs that aren't needed by other ones whatever are the retention time. As a consequence : you can prune a full only (((if the differential is pruned) if the XXX incrementals are pruned) if the last incremental is pruned ) So you you can say that the maximum retention time for a full is at least equal to the retention time of the last inc + the delay between the full and the this last inc so you have something like this : full : inc : = inc : = inc : = inc : = inc : = inc : = diff : inc : = inc : = inc : = inc : = inc : = inc : = diff : inc : = inc : = inc : = inc : = inc : = inc : = and not like that : diff : == inc : === inc : === inc : === What do you think about such a feature ? A while ago, I made a patch that does it. Nobody seemed to want it though. http://www.adsm.org/lists/html/Bacula-users/2011-01/msg00308.html -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Speed of backups
Martin Simmons: On Fri, 29 Apr 2011 14:29:33 +0200, Dietz Pröpper said: To see wether the file system is indeed the bottleneck you could try to tar the fs to /dev/null and compare the transfer rate to that of your bacula backup. Good advice, but beware that GNU tar doesn't read any files when the output is /dev/null! Ack, I forgot to mention to use redirection ;-). regards, Dietz signature.asc Description: This is a digitally signed message part. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Multiple Devices in Director Storage definition
Hello ! I am testing around a bit and found something that would help a lot in my setup, but i´m not quite sure if this is a supported configuration. This way i can mount up to 4 different volumes at the same time on one storage. Please note that the Archive Device location is always the same so i don´t think i have to split up the storage definition as suggested in the manual. - bacula-dir.conf - Storage { Name = backup.mb.filestorage Address= 10.11.6.32 SDPort = 9103 Password = Device = backup.mb.filestorage-1 Device = backup.mb.filestorage-2 Device = backup.mb.filestorage-3 Device = backup.mb.filestorage-4 Media Type = backup.mb.filestorage Maximum Concurrent Jobs = 4 } - bacula-dir.conf - - bacula-sd.conf - Device { Name = backup.mb.filestorage-1 Media Type = backup.mb.filestorage Archive Device = /var/backup/storage/backup.mb.filestorage/ LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 1 } Device { Name = backup.mb.filestorage-2 Media Type = backup.mb.filestorage Archive Device = /var/backup/storage/backup.mb.filestorage/ LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 1 } [... and so on ...] - bacula-sd.conf - Is it intended to be used that way ? Best regards, Daniel -- transport logistic Munich 10 - 13 May 2011, B2.225 . Riege Software International GmbH Phone: +49 2159 91480 Mollsfeld 10 Fax: +49 2159 914811 40670 MeerbuschWeb: www.riege.com GermanyE-Mail: holtk...@riege.com -- -- Commercial Register: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege VAT Reg No.: DE120585842 Gabriele Riege Johannes Riege . YOU CARE FOR FREIGHT, WE CARE FOR YOU -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] About retention, and pruning.
2011/5/4 Graham Keeling gra...@equiinet.com: On Fri, Apr 29, 2011 at 11:11:24AM +0200, Hugo Letemplier wrote: 2011/4/29 Jérôme Blion jerome.bl...@free.fr: On Thu, 28 Apr 2011 17:33:48 +0200, Hugo Letemplier hugo.let...@gmail.com wrote: After the job ran many times: I have the following volume = job matching Vol name Level Time Test1 Full 15:50 324 Inc 16:00 325 Inc 16:10 326 Inc 16:20 324 Inc 16:30 Test2 Full 16:40 325 Inc 16:50 326 Inc 17:00 This is problematic because Vol324 is recycled instead of creating a new one I am not sure to understand the various retention periods : File, job, volume I think that I can increase the retention times but the problem will always be the same. ex : if I keep my incremental one hour then my first ones will always be purged first In a good strategy you purge the full sequence of incremental at the same time because you need to recycle you volume and don't want to keep a recent volume (incremental) without the previous ones. You would waste your tape/disk space. To do that I imagine that I need to create one pool per day and reduce progressively the retention periods. It doesn't makes sense ! I turned the problem on all its sides but I cant find a good solution. Maybe the other retention period are the solution but I didn't succeeded ? Thanks in advance That means that your upper backup levels should have greater retentions to be sure that at any time, you can use the full + diff + inc if needed. Keeping incremental without full backup can be useful to restore only specific files. Yes, but this problem is the same between incremental backups: Lots of people recommended me to use one pool per level: It works for Full and differentials, but not for inc pool Maybe one inc-pool per incremental run of a scheduling cycle should be good ? But it 's not simple I think that a new feature that add dependency between various job levels for the next versions of bacula could be cool. The idea is to allow pruning only for volume/jobs that aren't needed by other ones whatever are the retention time. As a consequence : you can prune a full only (((if the differential is pruned) if the XXX incrementals are pruned) if the last incremental is pruned ) So you you can say that the maximum retention time for a full is at least equal to the retention time of the last inc + the delay between the full and the this last inc so you have something like this : full : inc : = inc : = inc : = inc : = inc : = inc : = diff : inc : = inc : = inc : = inc : = inc : = inc : = diff : inc : = inc : = inc : = inc : = inc : = inc : = and not like that : diff : == inc : === inc : === inc : === What do you think about such a feature ? A while ago, I made a patch that does it. Nobody seemed to want it though. http://www.adsm.org/lists/html/Bacula-users/2011-01/msg00308.html -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users First I think your patch would be nice to have that kind of security option to avoid breaking backup dependency. I think it's strange that nobody else needed this. For the moment I don't want to leave the official packages and compile a new bacula. I found some tip to do it as I want, but it is still possible to have mistakes. 1 volume / full 1 volume / diff 1 volume / incremental sequence An incremental sequence means all the successive increments between fulls and/or diffs Then I used Volume use duration. I defined this directive to the duration of my incremental sequence ex : one week. After one week the volume is not used anymore. I specify a volume retention
Re: [Bacula-users] Problems with disk-based backup
On Wed, 04 May 2011 13:38:37 +1000, Philip Yarra said: On 03/05/11 00:00, John Drescher wrote: 2011/5/2 Philip Yarrapya...@radoncvic.com.au: My bacula now seems to be firmly wedged, with all jobs trying to use the same volume (and my config very definitely says to use each volume only once). Scheduled Jobs: Level Type Pri Scheduled Name Volume === IncrementalBackup10 02-May-11 22:00wd-server-user-shares Full-0179 IncrementalBackup10 02-May-11 22:00em-fap-user-shares Full-0179 IncrementalBackup10 02-May-11 22:00rg-server-user-shares Full-0179 IncrementalBackup10 02-May-11 22:00ep-server-user-shares Full-0179 IncrementalBackup10 02-May-11 22:00fr-server-user-shares Full-0179 IncrementalBackup10 02-May-11 22:00rov-impac-1-tshome Full-0179 IncrementalBackup10 02-May-11 22:00zevon-home Full-0179 IncrementalBackup10 02-May-11 22:00rov-citrix-cs-documents Full-0179 Can anyone advise on how bacula has got wedged like this, and how I can fix it? Help?? Bacula does not really know what volume it will use till it actually starts the backup so the display will not take into account Use volume once or any other condition that limits the volume usage. That's right - normally it displays *unknown* in the column for volume, and it gets a new volume allocated when the job runs. But in the case I showed above, the upcoming jobs had been pre-allocated a volume, which isn't normal. Also, they'd all been allocated the same one, which won't work, as each volume can be used once only. Hence why I'm asking how could this happen? and how do I fix it? It displays the first usable volume in the pool, without doing any pruning or creating any new volumes. It displays *unknown* when there are no usable volumes (e.g. they are all marked as Full or Used). So apparently Full-0179 was still available at that time. __Martin -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ignored entries in FileSet
On Tue, 3 May 2011 21:18:31 -0700 (PDT), fink said: I'm Using Bacula 5.0.3 server clients. At this point, I'm trying to just back up the etc directories of multiple jails in /usr/jails on a FreeBSD Bacula client. The Bacula server's director config looks like: FileSet { Name = FreeBSDConfigs Include { Options { signature = MD5 # RegexDir = /usr/jails/[^/]*/etc$ # RegexDir = /usr/jails/[^/]*/usr/local/etc$ WildDir = /usr/jails/voip/etc } Options { RegexDir = .* exclude = yes } File = /usr/jails } } I've tried variations on the included files. None seem to work, not even specifying a particular directory in the WildDir command – everything is excluded. You need to include the intervening directories, but not their contents, as in http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg33689.html __Martin -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] job not running
Hello List, I'm a bit puzzled I've 3 different kind of jobs with 3 different storage, different mediatype, different fileset. My max number of concurrent job is 20, but I can have only 2 concurrent job (each of one type), if I start the third one it will wait or block the two others. Is there a way to see why a job has been put in created, not yet running state ? Matthieu. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] error message in runbefore job
Hallo All, i run an job with an mysql backup and an ClientRunBeforeJob like this example: Job { Name= test-client Client = tool-client JobDefs = dbdump FileSet = db ClientRunBeforeJob = /etc/bacula/scripts/manage_mysql_backup In the client script, is included an ssh connect to various other machines. Some machines are new installed, and the host-verification will be fail: 04-May 01:00 tool-client JobId 291204: ClientRunBeforeJob: Host key verification failed. The bacula job it self brings an OK Message per email. Now my qestion, it is possible to parse the message and change the job-status to error or warning.. Thanks for help Best regard JHN -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Help Troubleshooting Windows FD
Dear All, I am trying to install the latest Win64 client downloaded from bacula.org on a Windows 2008 server. The application does appear to install correctly, but when trying to start the service it fails to start and generates Error 1067: The process terminated unexpectedly. I actually have gotten this error, on multiple client versions, on all my different version (2k, 2k3, 2k8) Windows servers for over 2 years now. I've not EVER been able to run Bacula on Windows and really need some help figuring out why this is. Thank you, Shon -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] job not running
On Wed, May 4, 2011 at 6:41 AM, Matthieu Patou mat+informatique.bac...@matws.net wrote: Hello List, I'm a bit puzzled I've 3 different kind of jobs with 3 different storage, different mediatype, different fileset. My max number of concurrent job is 20, but I can have only 2 concurrent job (each of one type), if I start the third one it will wait or block the two others. Is there a way to see why a job has been put in created, not yet running state ? Matthieu. You are either using the same pool and wanting that to work on more than 1 storage device or you have not set Maximum Concurrent Jobs in enough places. There are 5 or so places where you can set this. John -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] job not running
On Wed, May 4, 2011 at 8:26 AM, John Drescher dresche...@gmail.com wrote: On Wed, May 4, 2011 at 6:41 AM, Matthieu Patou mat+informatique.bac...@matws.net wrote: Hello List, I'm a bit puzzled I've 3 different kind of jobs with 3 different storage, different mediatype, different fileset. My max number of concurrent job is 20, but I can have only 2 concurrent job (each of one type), if I start the third one it will wait or block the two others. Is there a way to see why a job has been put in created, not yet running state ? Matthieu. You are either using the same pool and wanting that to work on more than 1 storage device or you have not set Maximum Concurrent Jobs in enough places. There are 5 or so places where you can set this. Or you are using priority. John -- John M. Drescher -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] error message in runbefore job
On Wed, 04 May 2011 13:23:55 +0200 Joris Heinrich j...@malin-easy.de wrote: i run an job with an mysql backup and an ClientRunBeforeJob like this example: Job { Name= test-client Client = tool-client JobDefs = dbdump FileSet = db ClientRunBeforeJob = /etc/bacula/scripts/manage_mysql_backup In the client script, is included an ssh connect to various other machines. Some machines are new installed, and the host-verification will be fail: 04-May 01:00 tool-client JobId 291204: ClientRunBeforeJob: Host key verification failed. The bacula job it self brings an OK Message per email. Now my qestion, it is possible to parse the message and change the job-status to error or warning.. Create another script, say, /etc/bacula/scripts/manage_mysql_backup2 which should look like this: #!/bin/sh /etc/bacula/scripts/manage_mysql_backup 21 \ | grep verification failed exit 1 Then use the new wrapper script for ClientRunBeforeJob. Now if the original script generates that error message, the wrapper script would exit with non-zero code, failing the job. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Help Troubleshooting Windows FD
On Wed, 4 May 2011 08:17:18 -0400 Mingus Dew shon.steph...@gmail.com wrote: I am trying to install the latest Win64 client downloaded from bacula.org on a Windows 2008 server. The application does appear to install correctly, but when trying to start the service it fails to start and generates Error 1067: The process terminated unexpectedly. I actually have gotten this error, on multiple client versions, on all my different version (2k, 2k3, 2k8) Windows servers for over 2 years now. I've not EVER been able to run Bacula on Windows and really need some help figuring out why this is. Start with debugging. Assuming you have installed it under %programfiles%\bacula, do this (supposedly you will need to do this using an administrative account): 1) Run cmd.exe 2) cd %programfiles%\bacula 3) Run: bacula-fd.exe -c %programfiles%\bacula\bacula-fd.conf -t This should check your config file (specified via -c; you have to specify it explicitly because otherwise Bacula tends to look for it somewhere under your current user's %appdata%). If Bacula reports any errors, fix them. If it still doesn't work after fixing any errors detected, 4) Run: bacula-fd.exe -c %programfiles%\bacula\bacula-fd.conf -d 100 Which will create a trace file (called whatever.trace in the bacula's installation directory with whatever being the name of this FD instance read from the configuration file). Look at that file to see what happens when bacula-fd starts up. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Help Troubleshooting Windows FD
On Wed, 4 May 2011 08:17:18 -0400 Mingus Dew shon.steph...@gmail.com wrote: I am trying to install the latest Win64 client downloaded from bacula.org on a Windows 2008 server. The application does appear to install correctly, but when trying to start the service it fails to start and generates Error 1067: The process terminated unexpectedly. I actually have gotten this error, on multiple client versions, on all my different version (2k, 2k3, 2k8) Windows servers for over 2 years now. I've not EVER been able to run Bacula on Windows and really need some help figuring out why this is. Start with debugging. Assuming you have installed it under %programfiles%\bacula, do this (supposedly you will need to do this using an administrative account): 1) Run cmd.exe 2) cd %programfiles%\bacula 3) Run: bacula-fd.exe -c %programfiles%\bacula\bacula-fd.conf -t This should check your config file (specified via -c; you have to specify it explicitly because otherwise Bacula tends to look for it somewhere under your current user's %appdata%). If Bacula reports any errors, fix them. If it still doesn't work after fixing any errors detected, 4) Run: bacula-fd.exe -c %programfiles%\bacula\bacula-fd.conf -d 100 Which will create a trace file (called whatever.trace in the bacula's installation directory with whatever being the name of this FD instance read from the configuration file). Look at that file to see what happens when bacula-fd starts up. From bconsole, set debug level=100 trace=1 will do the same as the above, prompting you for the client if you have more than one (or you can specify it with client= I think. James -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Help Troubleshooting Windows FD
From: Mingus Dew shon.steph...@gmail.com Dear All, I am trying to install the latest Win64 client downloaded from bacula.org on a Windows 2008 server. The application does appear to install correctly, but when trying to start the service it fails to start and generates Error 1067: The process terminated unexpectedly. I actually have gotten this error, on multiple client versions, on all my different version (2k, 2k3, 2k8) Windows servers for over 2 years now. I've not EVER been able to run Bacula on Windows and really need some help figuring out why this is. Thank you, Shon I believe the bacula win64 client installer (and possibly the win32 one too) is broken if you do a Custom (not recommended) install rather than the Automatic install. It even says you'll have to edit the bacula-fd.conf file manually if you do that. The problem is that the resulting config file has the placeholders rather than the values it's supposed to write into the file. After running it, if you open the config file and replace the items surrounded by @ characters with meaningful values you should then be able to start the service and have it stay running. I think Kern mentioned at some point the next version of Bacula will have an improved windows installer. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Help Troubleshooting Windows FD
On Wed, 04 May 2011 09:49:45 -0400 Bob Hetzel b...@case.edu wrote: I am trying to install the latest Win64 client downloaded from bacula.org on a Windows 2008 server. The application does appear to install correctly, but when trying to start the service it fails to start and generates Error 1067: The process terminated unexpectedly. I actually have gotten this error, on multiple client versions, on all my different version (2k, 2k3, 2k8) Windows servers for over 2 years now. I've not EVER been able to run Bacula on Windows and really need some help figuring out why this is. I believe the bacula win64 client installer (and possibly the win32 one too) is broken if you do a Custom (not recommended) install rather than the Automatic install. It even says you'll have to edit the bacula-fd.conf file manually if you do that. The problem is that the resulting config file has the placeholders rather than the values it's supposed to write into the file. After running it, if you open the config file and replace the items surrounded by @ characters with meaningful values you should then be able to start the service and have it stay running. I think Kern mentioned at some point the next version of Bacula will have an improved windows installer. I'd like to second this -- I faced the same problem (with win32 and win64 stable installers). -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bootstrap files and volume rentention
Hi everybody. I have a question about the bootstrap files. In a job I always use, of course, the Write Bootstrap directive to create a Bootstrap file per backup run. In my Pool I defined a Volume Retention = 30 days. Now my question: After the Volume Retention Period is over and the volume will be recycled, will the prune and recycle of the volume also remove the Bootstrap File as defined in the Write Bootstrap directive or do I have to remove the no longer used Bootstrap Files by myself via shell script? br Robert -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] directive list
Hi everybody. Does exist a list of all bacula directives in one list and ideally in http://dict.leo.org/ende?lp=endep=Ci4HO3kMAAsearch=intrestr=0x8004 alphabetical http://dict.leo.org/ende?lp=endep=Ci4HO3kMAAsearch=alphabeticaltrest r=0x8004 order http://dict.leo.org/ende?lp=endep=Ci4HO3kMAAsearch=ordertrestr=0x800 4 so I can search for? br Robert -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] directive list
Hi everybody. Does exist a list of all bacula directives in one list and ideally in alphabetical order so I can search for? You have seen the manual? http://bacula.org/5.0.x-manuals/en/main/main/index.html Looks like a list that you can search to me... -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-dir crashes
Just another hint: I was able to solve the problem by reducing the maximal number of jobs selectable by selection type PoolUncopiedJobs. I changed the type to SQLQuery and Selection Pattern to SELECT DISTINCT Job.JobId,Job.StartTime FROM Job,Pool WHERE Pool.Name = 'Incr' AND Pool.PoolId = Job.PoolId AND Job.Type = 'B' AND Job.JobStatus IN ('T','W') AND Job.jobBytes 0 AND Job.JobId NOT IN (SELECT PriorJobId FROM Job WHERE Type IN ('B','C') AND Job.JobStatus IN ('T','W') AND PriorJobId != 0) ORDER by Job.StartTime LIMIT 300 Am 03.05.2011 um 17:17 schrieb Christoph Litauer: Dear bacula users, I am running bacula 5.0.3 (x64). Recently my system started to crash the director when starting copy jobs. The copy job is defined as Job { Name = CopyIncr Type = Copy Messages = TapeCopy Pool = Incr Selection Type = PoolUncopiedJobs Priority = 10 Schedule = Weekdays Max Start Delay = 43200 # wait max 12 hours Allow Duplicate Jobs = yes Maximum Concurrent Jobs = 1 Level = Full Client = bacula FileSet = client files-to-backup } It should copy all uncopied jobs from pool Incr to a tape pool. Running the jobs results in: bacula:~ # /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -f -r CopyIncr Bacula interrupted by signal 11: Segmentation violation Kaboom! bacula-dir, bacula-dir got signal 11 - Segmentation violation. Attempting traceback. Kaboom! exepath=/usr/sbin/ Calling: /usr/sbin/btraceback /usr/sbin/bacula-dir 30846 /var/bacula It looks like the traceback worked ... Dumping: /var/bacula/bacula-dir.30846.bactrace The bactrace can be loaded here: ftp://ftphost.uni-koblenz.de/pub/outgoing/litauer/bacula-dir.30846.bactrace Any help is greatly appreciated! Thanks in advance! -- Kind regards Christoph _ Christoph Litauer Uni Koblenz, Computing Centre, Office A 022 Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Freundliche Grüße Christoph Litauer _ Christoph Litauer Uni Koblenz, Rechenzentrum, Raum A 022 Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] masterjob ???
Hi everybody. To backup our Linux CRM systems I want to distinguish http://dict.leo.org/ende?lp=endep=Ci4HO3kMAAsearch=distinguishtrestr =0x8002 between the backup of the code files and the database and so I have defined two jobs for each client. I did it because the database will be a full backup every day but the backup of the code files is a full backup once a week and an incremental backup during weekdays. Does exist a way to define a master job which contains these both jobs in one job run or must I schedule both jobs individual each day per client? If so I will define two master jobs. One with the database Backup and the full backup of the code files and a second one with the database backup and the incremental backup for the code files. The goal is to have one backup job a day which contains all the backup jobs of a system in one run. br Robert -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FW: masterjob ???
Hi everybody. May I do that with the JobDefs definitions? If so, may I use 2 JobDefs directives in 1 Job directive ? br Robert From: Robert Kromoser Sent: Mittwoch, 04. Mai 2011 17:39 To: 'bacula-users@lists.sourceforge.net' Subject: masterjob ??? Hi everybody. To backup our Linux CRM systems I want to distinguish http://dict.leo.org/ende?lp=endep=Ci4HO3kMAAsearch=distinguishtrestr =0x8002 between the backup of the code files and the database and so I have defined two jobs for each client. I did it because the database will be a full backup every day but the backup of the code files is a full backup once a week and an incremental backup during weekdays. Does exist a way to define a master job which contains these both jobs in one job run or must I schedule both jobs individual each day per client? If so I will define two master jobs. One with the database Backup and the full backup of the code files and a second one with the database backup and the incremental backup for the code files. The goal is to have one backup job a day which contains all the backup jobs of a system in one run. br Robert -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: masterjob ???
Am 04.05.2011 17:46, schrieb Robert Kromoser: Hi everybody. May I do that with the JobDefs definitions? If so, may I use 2 JobDefs directives in 1 Job directive ? br Robert *From:*Robert Kromoser *Sent:* Mittwoch, 04. Mai 2011 17:39 *To:* 'bacula-users@lists.sourceforge.net' *Subject:* masterjob ??? Hi everybody. To backup our Linux CRM systems I want to distinguish http://dict.leo.org/ende?lp=endep=Ci4HO3kMAAsearch=distinguishtrestr=0x8002 between the backup of the code files and the database and so I have defined two jobs for each client. I did it because the database will be a full backup every day but the backup of the code files is a full backup once a week and an incremental backup during weekdays. Does exist a way to define a master job which contains these both jobs in one job run or must I schedule both jobs individual each day per client? If so I will define two master jobs. One with the database Backup and the full backup of the code files and a second one with the database backup and the incremental backup for the code files. The goal is to have one backup job a day which contains all the backup jobs of a system in one run. br Robert -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users in JobDefs you put your eseential config for jobs, in the jobs directive you set specific options. jobdefs is imho a good timesaver. cheers. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] severity of warnings issued by Bacula
Hi, like many people I imagine, we get various warnings from the Bacula daemons, particularly the file daemons. There are some which seem like it would be nice to simply suppress them and some which are severe and I'd actually like more attention drawn to them. To give an example, on a director's laptop, every backup comes with a slew of: 04-May 15:50 yy-fd JobId 14235: c:/Users/Default/SendTo is a junction point or a different filesystem. Will not descend from c:/ into it. 04-May 15:50 yy-fd JobId 14235: c:/Users/Default/Start Menu is a junction point or a different filesystem. Will not descend from c:/ into it. 04-May 15:50 yy-fd JobId 14235: c:/Users/Default/Templates is a junction point or a different filesystem. Will not descend from c:/ into it. 04-May 15:50 yy-fd JobId 14235: c:/Users/Default User is a junction point or a different filesystem. Will not descend from c:/ into it. There are no fewer than 163 of these messages, which makes the resulting backup email very hard to read. These warnings are totally benign and happen on every single backup. It would be great to have a way to suppress them so. By contrast, I recently also noticed a bunch of errors of this form in a Windows server backup: 01-May 05:00 saturnalia-fd JobId 14146: Generate VSS snapshots. Driver=VSS Vista, Drive(s)=E 01-May 05:00 saturnalia-fd JobId 14146: Could not stat e:/g.Avi: ERR=The system cannot find the path specified. 01-May 05:00 saturnalia-fd JobId 14146: Could not stat e:/gx.doc: ERR=The system cannot find the path specified. 01-May 05:00 saturnalia-fd JobId 14146: Could not stat e:/grx.Avi: ERR=The system cannot find the path specified. This, it turns out was a backup seriously failing due to a filesystem issue on that server. Thanks to Bacula reporting it and me actually reading the report email, we got to solve that. I might easily have missed this though. It would be great to have a feature which allowed us to say for specific jobdefaults, jobs or file daemons that warnings or messages matching a certain pattern were harmless, eg. /is a junction point or a different filesystem. Will not descend/ On the other hand, a Could not stat is a message I'd like to have my attention drawn to. It could indicate that a backup has effectively failed. I currently filter all bacula backup reports into a folder if they have a subject header beginning Bacula: Backup OK of . This means that I only get bacula reports in my inbox where the backup fails. If the headers could somehow reflect this more severe error, that would be great. Is there a way to do something like this? It's difficult to catalogue all warnings that might be bad, but one can quite quickly work out what warnings are normal. I guess I'm looking for something like a pedantic mode which gives messages like: Subject: Bacula: Backup OK (Warning!) of . unless the warnings are ones I've already configured it to ignore -- in which case they might even be left out of the body altogether. Sorry to be demanding :-) Gavin -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup interrupted
Op 20110428 om 12:53 schreef Roy Sigurd Karlsbakk: I have a problem with a Windows 2003 server where backup is interrupted quite often. I only see the problem on this machine (dev0), but the error looks more like an SD failure. This SD is in use for several other backups, which work well. Director, FD and SD are all running Bacula 5.0.3. Also, please note that heartbeat is enabled at all of them. Any ideas what this might be? What is ment with 'This SD is in use for several other backups'? We have a Bacula 5.0.3 setup consisting of the following: - One Director with a local PostgreSQL database. - Three Bacula Storage Daemons, two with 100TB storage each (PRV and DMZ), and one with 14TB storage (TOS). Each of them are on their own local networks (private HQ, DMZ HQ, and the Tromsø office). - Currently, 66 Bacula File Daemons, 25 on PRV, 36 on DMZ and 5 on TOS. The clients are on everything from Windows XP, Windows server 2003/2008/2008R2, different Linux distros etc. They are all setup with heartbeat interval = 60 and they all work. Except dev0, a Windows 2003 VM on the DMZ, that for some reason loses its connection to the SD while backing up. Sometimes it works and the backup finishes, mostly it gets interrupted. so - any ideas how I can debug this further? Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] error message in runbefore job
Le 04/05/2011 14:40, Konstantin Khomoutov a écrit : On Wed, 04 May 2011 13:23:55 +0200 Joris Heinrichj...@malin-easy.de wrote i run an job with an mysql backup and an ClientRunBeforeJob like this example: Job { Name= test-client Client = tool-client JobDefs = dbdump FileSet = db ClientRunBeforeJob = /etc/bacula/scripts/manage_mysql_backup In the client script, is included an ssh connect to various other machines. Some machines are new installed, and the host-verification will be fail: 04-May 01:00 tool-client JobId 291204: ClientRunBeforeJob: Host key verification failed. The bacula job it self brings an OK Message per email. Now my qestion, it is possible to parse the message and change the job-status to error or warning.. Create another script, say, /etc/bacula/scripts/manage_mysql_backup2 which should look like this: #!/bin/sh /etc/bacula/scripts/manage_mysql_backup 21 \ | grep verification failed exit 1 Then use the new wrapper script for ClientRunBeforeJob. Now if the original script generates that error message, the wrapper script would exit with non-zero code, failing the job. Hello, The workaround if far than enough. The real solution is to modify the script to end with an exit code greater than 0 when something wrong happens. It means you will have to modify the script to manage all possible errors. HTH. Jerome Blion. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] decompression when migrating from disk to tape?
On Mon, 02 May 2011 13:15:28 +0200, Uwe Mohn said: Hello all, is it possible to decompress the files on a job when it is migrated to tape? No. The backround is: we want to keep the last set of full, differential and incremental backups on tape for fast restore. As soon as a new full backup is done, we want to migrate the last full to tape (differentials and incrementals will be recycled without migration). To save disk space we would like to compress the disk backups. But (as also mentioned in the documentation) it would be counterproductively to write compressed data to tapes with hardware compression. Following the documentation the software compression is done by file-deamon. When now a job is migratet to a device wich has set AllowCompression=no due to hardware compression will the data be decompressed before transferred to tape? Is ist possible to achive this behavior? If your tape is LTO then don't worry about it -- sending compressed data to the tape won't cause any problems. The manual says to avoid it for regular backups because the hardware compression is usually much faster. __Martin -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Speed of backups
On 2011-04-28 17:16, Alex Chekholko wrote: Try changing your Maximum Network Buffer size in your bacula-sd config. Something like Maximum Network Buffer Size = 262144 #65536 Maximum block size = 262144 Keep in mind that this will make your sd unable to read previous backups, IIRC. Do you have more on this? I didnt see a warning about that in the documentation, which I definately would expect if that was the case. -- Jesper -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] error message in runbefore job
Am 04.05.11 20:33, schrieb Jérôme Blion: Le 04/05/2011 14:40, Konstantin Khomoutov a écrit : On Wed, 04 May 2011 13:23:55 +0200 Joris Heinrichj...@malin-easy.de wrote i run an job with an mysql backup and an ClientRunBeforeJob like this example: Job { Name= test-client Client = tool-client JobDefs = dbdump FileSet = db ClientRunBeforeJob = /etc/bacula/scripts/manage_mysql_backup In the client script, is included an ssh connect to various other machines. Some machines are new installed, and the host-verification will be fail: 04-May 01:00 tool-client JobId 291204: ClientRunBeforeJob: Host key verification failed. The bacula job it self brings an OK Message per email. Now my qestion, it is possible to parse the message and change the job-status to error or warning.. Create another script, say, /etc/bacula/scripts/manage_mysql_backup2 which should look like this: #!/bin/sh /etc/bacula/scripts/manage_mysql_backup 21 \ | grep verification failed exit 1 Then use the new wrapper script for ClientRunBeforeJob. Now if the original script generates that error message, the wrapper script would exit with non-zero code, failing the job. Hello, The workaround if far than enough. The real solution is to modify the script to end with an exit code greater than 0 when something wrong happens. It means you will have to modify the script to manage all possible errors. HTH. Jerome Blion. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Hello Jerome, exactly this is what i implemented. I included set -e in the script and modified every action with exit codes greater then 0. Runs perfect... Thanks for help Best regards JHN -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Speed of backups
On Wed, May 4, 2011 at 2:39 PM, Jesper Krogh jes...@krogh.cc wrote: On 2011-04-28 17:16, Alex Chekholko wrote: Try changing your Maximum Network Buffer size in your bacula-sd config. Something like Maximum Network Buffer Size = 262144 #65536 Maximum block size = 262144 Keep in mind that this will make your sd unable to read previous backups, IIRC. Do you have more on this? I didnt see a warning about that in the documentation, which I definately would expect if that was the case. There was a bug report about this within the last 2 months that was immediately closed as Cant Fix. I have experienced this myself. I had a few original tapes that I set some size other than the default and those are currently not readable now since I reset the block size back to default. The difference is between fixed size and variable size blocks and also even fixed sized blocks of different sizes. I believe if you used fixed sized blocks (max and min are the same) you can not change that otherwise the tape drive can not read the new block size. If you use variable sized blocks (max and min different sizes) you may be able to extend the max size or reduce the min size as long as you don't make the max=min. John -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Multiple Devices in Director Storage definition
On Wed, May 4, 2011 at 5:38 AM, Daniel Holtkamp holtk...@riege.com wrote: Hello ! I am testing around a bit and found something that would help a lot in my setup, but i´m not quite sure if this is a supported configuration. This way i can mount up to 4 different volumes at the same time on one storage. Please note that the Archive Device location is always the same so i don´t think i have to split up the storage definition as suggested in the manual. - bacula-dir.conf - Storage { Name = backup.mb.filestorage Address = 10.11.6.32 SDPort = 9103 Password = Device = backup.mb.filestorage-1 Device = backup.mb.filestorage-2 Device = backup.mb.filestorage-3 Device = backup.mb.filestorage-4 Media Type = backup.mb.filestorage Maximum Concurrent Jobs = 4 } - bacula-dir.conf - - bacula-sd.conf - Device { Name = backup.mb.filestorage-1 Media Type = backup.mb.filestorage Archive Device = /var/backup/storage/backup.mb.filestorage/ LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 1 } Device { Name = backup.mb.filestorage-2 Media Type = backup.mb.filestorage Archive Device = /var/backup/storage/backup.mb.filestorage/ LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 1 } [... and so on ...] - bacula-sd.conf - Is it intended to be used that way ? No. You need a separate device in bacula-dir for each device you have in bacula-sd if you are not using an autochanger or a disk virtual artochanger like bacula vchanger. John -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Device Error
I know I sent this to the mailing list and please forgive me for trying again but I am really at a loss of what my next step needs to be to get backup working. A bit on my setup. I am running Debian 6 with a Dell Powervault 122T. I can load tapes, and mount the tapes but when I tr y to run a bacup from bconsole I get the following errors when I do a 'messages'. KITSrv01-sd JobId 9: Fatal error: Device reservation failed for JobId=9: KITSrv01-dir JobId 9: Fatal error: Storage daemon didn't accept Device PV-122T-1 because: 3924 Device PV-122T-1 not in SD Device resources. In my bacla-sd.conf I have the following which shows the device name: PV-122T-1 and -2 1. Autochanger { 2. Name = PV-122T 3. Device = PV-122T-1, PV-122T-2 4. Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d 5. Changer Device = /dev/sg5 6. } 7. Device { 8. Name = PV-122T-1 9. Drive Index = 0 10. Media Type = LTO-2 11. Archive Device = /dev/nst0 12. AutomaticMount = yes; # when device opened, read it 13. AlwaysOpen = yes; 14. RemovableMedia = yes; 15. RandomAccess = no; 16. AutoChanger = yes 17. } 18. Device { 19. Name = PV-122T-2 20. Drive Index = 1 21. Media Type = LTO-2 22. Archive Device = /dev/nst0 23. AutomaticMount = yes; # when device opened, read it 24. AlwaysOpen = yes; 25. RemovableMedia = yes; 26. RandomAccess = no; 27. AutoChanger = yes 28. } In bacla-dir.conf I have the following: 1. 2. JobDefs { 3. 4. Name = DefaultJob 5. Type = Backup 6. Level = Incremental 7. Client = KITSrv01-fd 8. FileSet = Full Set 9. Schedule = WeeklyCycle 10. # Storage = File 11. Storage = PV-122T-1 12. Messages = Standard 13. Pool = File 14. Priority = 10 15. Write Bootstrap = /var/lib/bacula/%c.bsr My full configs can be seen here: http://www.pastebin.ca/2046880 Thanks, -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Device Error
2011/5/4 Robert Longfield robert.longfi...@klinsight.com: I know I sent this to the mailing list and please forgive me for trying again but I am really at a loss of what my next step needs to be to get backup working. A bit on my setup. I am running Debian 6 with a Dell Powervault 122T. I can load tapes, and mount the tapes but when I tr y to run a bacup from bconsole I get the following errors when I do a 'messages'. KITSrv01-sd JobId 9: Fatal error: Device reservation failed for JobId=9: KITSrv01-dir JobId 9: Fatal error: Storage daemon didn't accept Device PV-122T-1 because: 3924 Device PV-122T-1 not in SD Device resources. In my bacla-sd.conf I have the following which shows the device name: PV-122T-1 and -2 Autochanger { Name = PV-122T Device = PV-122T-1, PV-122T-2 Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg5 } Device { Name = PV-122T-1 Drive Index = 0 Media Type = LTO-2 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes } Device { Name = PV-122T-2 Drive Index = 1 Media Type = LTO-2 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes } Not sure if this is the problem but why are PV-122T-1 and PV-122T-2 using the same tape drive? John -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ignored entries in FileSet
--- On Wed, 5/4/11, Martin Simmons mar...@lispworks.com wrote: You need to include the intervening directories, but not their contents, as in http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg33689.html Thanks for your help! The link was very helpful, and I got the basics working. Here is my current FileSet: FileSet { Name = FreeBSDConfigs Include { Options { RegexDir = ^/usr/jails/[^/]+$ WildDir = /usr/jails/*/etc Wild = /usr/jails/*/etc/* WildDir = /usr/jails/*/usr WildDir = /usr/jails/*/usr/local WildDir = /usr/jails/*/usr/local/etc Wild = /usr/jails/*/usr/local/etc/* } Options { RegexDir = .* Wild = /usr/jails/* Wild = */defaults/* Wild = */periodic/* Wild = */rc.d/* exclude = yes } File = /etc File = /usr/local/etc File = /usr/jails } } Is it necessary to specify both of these lines? WildDir = /usr/jails/*/etc Wild = /usr/jails/*/etc/* Will Bacula backup a directory, but not its contents? Also, although I've specified to exclude the defaults, periodic, and rc.d directories, they are still listed in the job estimate. What am I doing wrong? -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] About retention, and pruning.
On May 4, 2011, at 3:26 AM, Graham Keeling wrote: On Fri, Apr 29, 2011 at 11:11:24AM +0200, Hugo Letemplier wrote: 2011/4/29 Jérôme Blion jerome.bl...@free.fr: On Thu, 28 Apr 2011 17:33:48 +0200, Hugo Letemplier hugo.let...@gmail.com wrote: After the job ran many times: I have the following volume = job matching Vol name Level Time Test1 Full15:50 324Inc 16:00 325Inc 16:10 326Inc 16:20 324Inc 16:30 Test2 Full16:40 325Inc 16:50 326Inc 17:00 This is problematic because Vol324 is recycled instead of creating a new one I am not sure to understand the various retention periods : File, job, volume I think that I can increase the retention times but the problem will always be the same. ex : if I keep my incremental one hour then my first ones will always be purged first In a good strategy you purge the full sequence of incremental at the same time because you need to recycle you volume and don't want to keep a recent volume (incremental) without the previous ones. You would waste your tape/disk space. To do that I imagine that I need to create one pool per day and reduce progressively the retention periods. It doesn't makes sense ! I turned the problem on all its sides but I cant find a good solution. Maybe the other retention period are the solution but I didn't succeeded ? Thanks in advance That means that your upper backup levels should have greater retentions to be sure that at any time, you can use the full + diff + inc if needed. Keeping incremental without full backup can be useful to restore only specific files. Yes, but this problem is the same between incremental backups: Lots of people recommended me to use one pool per level: It works for Full and differentials, but not for inc pool Maybe one inc-pool per incremental run of a scheduling cycle should be good ? But it 's not simple I think that a new feature that add dependency between various job levels for the next versions of bacula could be cool. The idea is to allow pruning only for volume/jobs that aren't needed by other ones whatever are the retention time. As a consequence : you can prune a full only (((if the differential is pruned) if the XXX incrementals are pruned) if the last incremental is pruned ) So you you can say that the maximum retention time for a full is at least equal to the retention time of the last inc + the delay between the full and the this last inc so you have something like this : full : inc : = inc : = inc : = inc : = inc : = inc : = diff : inc : = inc : = inc : = inc : = inc : = inc : = diff : inc : = inc : = inc : = inc : = inc : = inc : = and not like that : diff : == inc : === inc : === inc : === What do you think about such a feature ? A while ago, I made a patch that does it. Nobody seemed to want it though. http://www.adsm.org/lists/html/Bacula-users/2011-01/msg00308.html Just because you didn't find anyone that wanted it does not make it a bad idea. Ideas are sometimes difficult to comprehend. I didn't follow the above in a 30 second scanning If you think it's a good idea. Pursue it. Give examples. Describe the issues, in brief, and then in general. Build a case that others can comprehend with minimal effort. If you think it's a good idea, something will come of it. But nothing will come of it if you don't persist. -- Dan Langille - http://langille.org -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users