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