Re: [Bacula-users] Admin-Job and RunScript on Client
On 26.02.2013 23:35, Dan Langille wrote: On Feb 26, 2013, at 11:19 AM, Sven Tegethoff wrote: On 26.02.2013 08:24, Markus Kress wrote: Dan Langille d...@langille.org schrieb am 25.02.2013 17:37:16: What are you trying to do? Hello Dan, we dump a postgresql database to files and backup them up to tape ones a day. This is done by a runscript in a job of type backup. But we also dump the postgresql database only to disk without backing up to tape every 6 hours. I want to use the same infrastructure (like messaging and logging of bacula and my scripts around bacula). If I use cron etc., I have write a secondary logging and messaging scripts and it have to be done from every client. You can create a backup job of type Admin and then put everything you want to run into the RunBeforeJob script. Admin Type jobs will do everything normal backup jobs do - except for actually backing anything up :) And the ability to run a script on the client. ;) Dang! Documentation is a bit sketchy about this :) How about still using an admin job, but using it to start the script on the client via ssh? That's also kinda hackish, but still nicer than an empty backup job, IMHO ... -- Mit freundlichen Grüßen Sven Tegethoff EDV-Team _ UDO BÄR GmbH Co. KG Fürstenstraße 18 47051 Duisburg Tel.: +49 (0) 203 28117-142 Fax: +49 (0) 203 28117-151 E-Mail: tegeth...@udobaer.de Ust.-Idnr.: DE119562189, HRA 6056, Sitz der Gesellschaft: Duisburg, Gerichtsstand: Duisburg Geschäftsführer: Bodo Badnowitz, Jürgen Dietz Ein Unternehmen der BTI Gruppe: www.bti-group.com Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Reducing the maximum number of volumes in a pool
Hi folks, I'm trying to save a bit of disk space by reducing the number of volumes in the incremental pool (we use separate pools for for full and incremental backups for each client, bacula 5.2.13 compiled from source). Previously we had 15 incremental volumes per pool, now I'd like to retain 7 for each client. I've changed all the pool definitions in the director config from Maximum Volumes = 15 to Maximum Volumes = 7 for the incremental pools, but following an update pool from resource the db record still shows the previous number of volumes in the pool for Max, not the one defined in the director config. Any idea why this would happen or how to fix it, short of writing some custom sql to manually set the new value in the database? I've also tried to restart bacula, but that hasn't helped, either. All the best thanks in advance for your help, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann SE Co. KGaA -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Host check problem
On Tue, Feb 26, 2013 at 01:46:55AM -0800, goorooj wrote: ok, with your informations and after a search i found out what's gone wrong: i am on a debian system and have to enable /bin/bash for bacula user to su. http://wiki.bacula.org/doku.php?id=sshtunnel su - bacula -s /bin/sh would have been enough for a temporary job as 'bacula'. The '-' is important as it gives you the actual environment of the bacula user, e.g. $HOME. For the ssh-call itself, you might consider ssh -t to allocate a pseudo terminal, if the job you want to run would like to have one. Regards, Adrian -- LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91 Mail: li...@lihas.de - Web: http://lihas.de Linux, Netzwerke, Consulting Support - USt-ID: DE 227 816 626 Stuttgart -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reducing the maximum number of volumes in a pool
On 2013-02-27 03:57, Uwe Schuerkamp wrote: Hi folks, I'm trying to save a bit of disk space by reducing the number of volumes in the incremental pool (we use separate pools for for full and incremental backups for each client, bacula 5.2.13 compiled from source). Previously we had 15 incremental volumes per pool, now I'd like to retain 7 for each client. I've changed all the pool definitions in the director config from Maximum Volumes = 15 to Maximum Volumes = 7 for the incremental pools, but following an update pool from resource the db record still shows the previous number of volumes in the pool for Max, not the one defined in the director config. Any idea why this would happen or how to fix it, short of writing some custom sql to manually set the new value in the database? I've also tried to restart bacula, but that hasn't helped, either. All the best thanks in advance for your help, In bconsole, did you issue the reload command before issuing the update command? -- Dan Langille - http://langille.org/ -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reducing the maximum number of volumes in a pool
On Wed, Feb 27, 2013 at 08:11:44AM -0500, Dan Langille wrote: for the incremental pools, but following an update pool from resource the db record still shows the previous number of volumes in the pool for Max, not the one defined in the director config. Any idea why this would happen or how to fix it, short of writing some custom sql to manually set the new value in the database? I've also tried to restart bacula, but that hasn't helped, either. All the best thanks in advance for your help, In bconsole, did you issue the reload command before issuing the update command? -- Dan Langille - http://langille.org/ Yep, I did, I even restarted all bacula components, still the number of maximum volumes remains the same as before. Some additional info on the situation: Some of the pools have not yet reached their previous max volume count, could this interfere with the update pool from resource command? All the best, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann SE Co. KGaA -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] what would cause a server to not auto-label a new file?
I have 2 bacula servers, both 5.0.0.x from centos repo. One server, has never one time failed to label/create a new file to continue backing up. This other server, a couple days ago on a full backup, labeled a few files, then stopped. And now it wont label them unless I give the commands by hand to create a new file. Is there some scenario that causes this behavior? Thanks, jonathan This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Run job with bconsole promptless
Hi, I'd want to do something like that: echo run job=Backup-LTO client=one-fd | bconsole I've tried but bconsole prompt me for accept or cancel the job, and I'd want that just it runs the job :) I'm using Version: 5.2.13 Thanks in advance -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Run job with bconsole promptless
2013/2/27 Sergio Belkin seb...@gmail.com Hi, I'd want to do something like that: echo run job=Backup-LTO client=one-fd | bconsole I've tried but bconsole prompt me for accept or cancel the job, and I'd want that just it runs the job :) I'm using Version: 5.2.13 Thanks in advance -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org Nevermind, I forget to append yes at the end :) The right way is: echo run job=Backup-LTO client=one-fd yes | bconsole HTH -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Two servers one ... robot?
I am looking to see if it is possible to run two storage directors both talking to the same robotic library?Does anyone have first hand experience with this? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
On Wed, Feb 27, 2013 at 10:58 PM, etanneh...@godaddy.com wrote: I am looking to see if it is possible to run two storage directors both talking to the same robotic library? Does anyone have first hand experience with this? The robot would have to support partitioning, at which point it is logically two robots. I've seen an Overland Neo 4000 with 4 drives partitioned in two, it worked quite well. Cheers Arne -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
Le 27/02/2013 23:58, etanneh...@godaddy.com a écrit : I am looking to see if it is possible to run two storage directors both talking to the same robotic library? Does anyone have first hand experience with this Hello, Last time I did it on a TS3584, I partitioned the physical library to create 3 logical libraries. HTH. Jerome Blion. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
The problem is that we're looking at extremely large enterprise libraries and dozens of sd's.Our library simply -may- not be able to handle as many partitions as we would end up needing. Original Message Subject: Re: [Bacula-users] Two servers one ... robot? From: shouldbe q931 shouldbeq...@gmail.com Date: Wed, February 27, 2013 4:12 pm To: etanneh...@godaddy.com Cc: Bacula Users bacula-users@lists.sourceforge.net On Wed, Feb 27, 2013 at 10:58 PM, etanneh...@godaddy.com wrote: I am looking to see if it is possible to run two storage directors both talking to the same robotic library? Does anyone have first hand experience with this? The robot would have to support partitioning, at which point it is "logically" two robots. I've seen an Overland Neo 4000 with 4 drives partitioned in two, it worked quite well. Cheers Arne -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
On Wed, Feb 27, 2013 at 11:24 PM, etanneh...@godaddy.com wrote: The problem is that we're looking at extremely large enterprise libraries and dozens of sd's. Our library simply -may- not be able to handle as many partitions as we would end up needing. Oh, you want to have multiple SD use an unpartitioned library, the Bacula Enterprise shared storage plugin ? http://www.baculasystems.com/products/bacula-enterprise-plugins/sharedstorage Cheers Arne -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
Similar,While with my research I'm fairly certain only this plugin is available to solve the problem, the plugin is designed as a system for sharing tape drives more than sharing a library.The plugin just happens to accomplish both. Original Message Subject: Re: [Bacula-users] Two servers one ... robot? From: shouldbe q931 shouldbeq...@gmail.com Date: Wed, February 27, 2013 5:34 pm To: Bacula Users bacula-users@lists.sourceforge.net Cc: etanneh...@godaddy.com On Wed, Feb 27, 2013 at 11:24 PM, etanneh...@godaddy.com wrote: The problem is that we're looking at extremely large enterprise libraries and dozens of sd's. Our library simply -may- not be able to handle as many partitions as we would end up needing. Oh, you want to have multiple SD use an unpartitioned library, the Bacula Enterprise shared storage plugin ? http://www.baculasystems.com/products/bacula-enterprise-plugins/sharedstorage Cheers Arne -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
On 02/27/13 17:58, etanneh...@godaddy.com wrote: I am looking to see if it is possible to run two storage directors both talking to the same robotic library? My first reaction is that it sounds like a really bad idea. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two servers one ... robot?
On Thu, Feb 28, 2013 at 12:46 AM, etanneh...@godaddy.com wrote: Similar, While with my research I'm fairly certain only this plugin is available to solve the problem, the plugin is designed as a system for sharing tape drives more than sharing a library. The plugin just happens to accomplish both. Sharing drives is usually a critical part of sharing a library Cheers Arne -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users