[Bacula-users] automatic cancellation of jobs taking too much time waiting for device
Hi, is there a good solution to automatically cancel a job waiting for, e.g., a tape ? In my case sometimes the tape runs full and we don't have an autochanger. I'd like to have bacula cancel this job after a couple of minutes. how would i achieve this? thanks juergen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] automatic cancellation of jobs taking too much time waiting for device
Hi, is there a good solution to automatically cancel a job waiting for, e.g., a tape ? In my case sometimes the tape runs full and we don't have an autochanger. I'd like to have bacula cancel this job after a couple of minutes. how would i achieve this? thanks juergen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 3999 Device /dev/changer not found or could not be opened.
On Thu, 26 Apr 2012 22:19:40 +, Marchon said: Storage { Name = Autochanger # Do not use localhost here Address = abnspsrv05# N.B. Use a fully qualified name here SDPort = 9103 Password = * # password for Storage daemon Device = /dev/changer # must be same as Device in Storage daemon Media Type = LTO-4 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device } This definition is wrong -- it should be Device = Autochanger to match the Name in bacula-sd.conf. __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuring Bacula-SNMP subagent
On Thu, 26 Apr 2012 23:10:41 +0200, Florian Heigl said: Hi, I'm trying to make the snmp subagent from http://www.bayour.com/Softwares/bacula-snmp/ work. If I get it to work I could write a small tiny Nagios Check for it like the already included Cacti template. This works by connecting to the bacula database using Perl DBD:MySQL which I installed. I'm getting an error that says the following (which I translate to Hey user, I didn't read my config) [root@waxu0604 bacula-snmp-1.4]# ./bacula-snmp-stats.pl Use of uninitialized value in concatenation (.) or string at ./bacula-snmp-stats.pl line 352. Use of uninitialized value in concatenation (.) or string at ./bacula-snmp-stats.pl line 352. Use of uninitialized value in concatenation (.) or string at ./bacula-snmp-stats.pl line 352. Can't connect to data source database=:host=, no database driver specified and DBI_DSN env var not set at ./bacula-snmp-stats.pl line 358 This is the config file in /etc/bacula [root@waxu0604 bacula]# cat .conn_details # Optional arguments # DEBUG=4 # DEBUG_FILE=/var/log/bacula-snmp-stats.log # IGNORE_INDEX=1 # # Required options # Create different user for this reporter! USERNAME=baculadir PASSWORD=changed DB=bacula HOST=127.0.0.1 CATALOG=MyCatalog The connect string just must be wrong, on the other hand it really seems to just not read anything at all. Does any of you have it working? Can you let me know if that config looks right? Get rid of all of the comments, quotes and whitespace from the config file. See http://rout-tpl.no-ip.biz/wiki/index.php?title=Bacula_snmpredirect=no __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] stop
__ 'Do it online' with our growing range of online services - http://www.bristol.gov.uk/services Visit our consultation finder and have your say: www.bristol.gov.uk/consultationfinder View webcasts of Council meetings at http://www.bristol.gov.uk/webcast Bristol is the UK's first Cycling City. Visit www.betterbybike.info to join thousands of others getting around by bike. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Determining next tapes to use
Hello everyone, We are using Bacula 5.0.1 running on an Ubuntu 10.04 server attached to a Dell PowerVault TL2000 tape library. I run differential daily backups Monday thru Thursday and a full weekly backup on Friday. I have pools setup for both the daily and weekly tapes and use the list nextvol command from bconsole to determine the next tape I should be using. This works fine for the daily differential backups because they only use one tape each day. However, the weekly full backup always takes two tapes. If I use the list nextvol command for the full backup it only gives me the next single tape to use. Since I place the tapes in the tape library's magazine before I leave each day I would like to be able to know which two tapes to use for the weekly full backup. What I have been doing so far is to place in the library all the remaining tapes in the full backup pool. I would prefer for Bacula to tell me what the next two tapes should be used instead. Does anyone know how to accomplish this? Thanks in advance. Jack Cobb -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Determining next tapes to use
2012/4/27 Jack Cobb jc...@skylinecorp.com: Hello everyone, We are using Bacula 5.0.1 running on an Ubuntu 10.04 server attached to a Dell PowerVault TL2000 tape library. I run differential daily backups Monday thru Thursday and a full weekly backup on Friday. I have pools setup for both the daily and weekly tapes and use the list nextvol command from bconsole to determine the next tape I should be using. This works fine for the daily differential backups because they only use one tape each day. However, the weekly full backup always takes two tapes. If I use the list nextvol command for the full backup it only gives me the next single tape to use. Since I place the tapes in the tape library’s magazine before I leave each day I would like to be able to know which two tapes to use for the weekly full backup. What I have been doing so far is to place in the library all the remaining tapes in the full backup pool. I would prefer for Bacula to tell me what the next two tapes should be used instead. Does anyone know how to accomplish this? Bacula can not do this because it only recycles volumes when a volume is needed. Before running a job it does not have any idea how many volumes would be needed. One way for you to figure out what tapes it will ask for is to sort your destination pool by lastwritten. John -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Determining next tapes to use
John, Thanks for the reply. I will give that a try and work on a script that will tell me the next two tapes I could use based on the last written date. Jack 2012/4/27 Jack Cobb jc...@skylinecorp.com: Hello everyone, We are using Bacula 5.0.1 running on an Ubuntu 10.04 server attached to a Dell PowerVault TL2000 tape library. I run differential daily backups Monday thru Thursday and a full weekly backup on Friday. I have pools setup for both the daily and weekly tapes and use the list nextvol command from bconsole to determine the next tape I should be using. This works fine for the daily differential backups because they only use one tape each day. However, the weekly full backup always takes two tapes. If I use the list nextvol command for the full backup it only gives me the next single tape to use. Since I place the tapes in the tape librarys magazine before I leave each day I would like to be able to know which two tapes to use for the weekly full backup. What I have been doing so far is to place in the library all the remaining tapes in the full backup pool. I would prefer for Bacula to tell me what the next two tapes should be used instead. Does anyone know how to accomplish this? Bacula can not do this because it only recycles volumes when a volume is needed. Before running a job it does not have any idea how many volumes would be needed. One way for you to figure out what tapes it will ask for is to sort your destination pool by lastwritten. John -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 3999 Device /dev/changer not found or could not be opened.
Perfect! was just that. I think I've seen this in your response to another forum user, but did not understand the solution, because it asks which device was fixed in my mind thatwould always be something like /dev/* ..Thank you Martin and sorry my bad english!Ema Ironhead__ Date: Fri, 27 Apr 2012 12:02:23 +0100 From: mar...@lispworks.com To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] 3999 Device /dev/changer not found or could not be opened. On Thu, 26 Apr 2012 22:19:40 +, Marchon said: Storage { Name = Autochanger # Do not use localhost here Address = abnspsrv05# N.B. Use a fully qualified name here SDPort = 9103 Password = * # password for Storage daemon Device = /dev/changer # must be same as Device in Storage daemon Media Type = LTO-4 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device } This definition is wrong -- it should be Device = Autochanger to match the Name in bacula-sd.conf. __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Finding (and killing) Phanton job IDs
Hello, We have a working bacula (5.0.3) instance with a MySQL backend. A few weeks ago we had a power outage that caused the server to shut down and restart abruptly. The jobs are running successfully but now there is a complete set of phantom jobs running in parallel that fail. Bconsole only shows the successful JobIds. If I do a status of a client only the successful job IDs show up. The failed job IDs increment just as one would expect if they were valid jobs. An example of the successful job IDs are 730, 731, 732. An example of the phantom/failing job IDs are 900, 901, 902. As you can see they are not in the same sequence. The successful job IDs follow the previously successful job IDs (prior to the crash). I looked around in the database but I was unable to determine where they are stored so that I could remove them. I have confirmed that there is only one instance of bacula running on the server. Any pointers as to where I might look would be appreciated, Karyn -- Karyn Stump IT Administrator FastSoft, Inc ka...@fastsoft.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users