Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Alex Lucas
On 06/09/12 12:10, ganiuszka wrote: W dniu 06.09.2012 03:23, Alex Lucas pisze: On 05/09/12 19:24, Christian Manal wrote: On 05.09.2012 12:43, Alex Lucas wrote: Dears, Is there a way to run a complex command or even a script on a client? So far I have tried two ways and failed: 1) when a

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Uwe Schuerkamp
On Thu, Sep 06, 2012 at 06:10:16AM +0200, ganiuszka wrote: It works for me. Did you try to use semicolon character for separate elementary commands? Example: ClientRunBeforeJob = /bin/bash -c 'echo aaa /tmp/foo1.out; echo bbb /tmp/foo2.out' Regards. gani For improved

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Christian Manal
On 06.09.2012 08:17, Alex Lucas wrote: On 06/09/12 12:10, ganiuszka wrote: W dniu 06.09.2012 03:23, Alex Lucas pisze: On 05/09/12 19:24, Christian Manal wrote: On 05.09.2012 12:43, Alex Lucas wrote: Dears, Is there a way to run a complex command or even a script on a client? So far I have

Re: [Bacula-users] missing bacula conf files

2012-09-06 Thread Simone Caronni
Hello, On 6 September 2012 00:13, Tim Dunphy bluethu...@gmail.com wrote: I'm trying to setup bacula-director 2.4.4 under centos 5.6 on a linux vm. As a matter of fact I updated 2.4.4 in EPEL 5 a few days ago to solve some long standing bugs. What I'm wondering is if the reason I'm missing

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Gary R. Schmidt
On 6/09/2012 4:17 PM, Alex Lucas wrote: [SNIP] It works with ; like you mentioned above but I was asking about splitting the command across multiple lines in the configuration file -- when there are many commands it would make it easier to read. If there are many commands then you would be

[Bacula-users] Odd behaviour / Missing directory

2012-09-06 Thread Armin Tueting
Hello Bacula-users, I'm running Bacula 5.2.10 on CentOS 5.8. The directory /etc/raddb won't be backed up from a remote client when using 'File = /etc'. I've done some investigation and found out that with 'File = /etc/raddb' will indeed being backup up. What went wrong with my

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Fahrer, Julian
Am 06.09.2012 um 09:12 schrieb Gary R. Schmidt g...@mcleod-schmidt.id.au: On 6/09/2012 4:17 PM, Alex Lucas wrote: [SNIP] It works with ; like you mentioned above but I was asking about splitting the command across multiple lines in the configuration file -- when there are many commands

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Simone Caronni
You could also use multiple ClientRunBefore statements in the config file. Personally I would still prefer a script in the client. On my setups I use the opposite. If you need to add a line to the script, you need to copy the same script over all the clients. With multiple lines, maybe you can

[Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 Thread Ana Romero
Hello list, I don't know how to configure a schedules for run full the first weekend of the month ... you help me? Thank very much Regards Ana Romero Nevado Ingeniero Técnico de Sistemas COMPAREX España S.A. C/ Severo Ochoa, 20 Local 5 06800

Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 Thread ganiuszka
2012/9/6 Ana Romero ana.rom...@cpxextremadura.com: Hello list, I don't know how to configure a schedules for run full the first weekend of the month ... you help me? Thank very much Regards Hi, Maybe that for 1st Sunday of the month: Schedule { Name = SomeSchedule Run = Level=Full

Re: [Bacula-users] bacula 5.2.10 on Windows 2008 R2 server : 1 MByte/sec transfer rate, very slow

2012-09-06 Thread Paul Van Wambeke
On 5/09/2012 11:21, James Harper wrote: Using iperf I measured following performances : bacula-fd = the windows server 2008 R2 host, 1Gb/sec NIC bacula-dir = a linux ubuntu 10.04 PC, 1 100Mb/sec NIC bacula-sd = a linux ubuntu 10.04 server, 1 Gbite/sec NIC iperf serveriperf

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Alex Lucas
On 06/09/12 16:39, Simone Caronni wrote: You could also use multiple ClientRunBefore statements in the config file. Personally I would still prefer a script in the client. On my setups I use the opposite. If you need to add a line to the script, you need to copy the same script over all the

Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 Thread Ana Romero
Hello Gani, I want to perform a full backup monthly on the first weekend of every month , but with the configuration you propose this would not be possible as for example in September on the first Friday of the month is 7 and the first Saturday and Sunday has been the 1 and 2 , so that

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Gary R. Schmidt
On 6/09/2012 6:39 PM, Simone Caronni wrote: You could also use multiple ClientRunBefore statements in the config file. Personally I would still prefer a script in the client. On my setups I use the opposite. If you need to add a line to the script, you need to copy the same script over all

Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Simone Caronni
On 6 September 2012 14:36, Gary R. Schmidt g...@mcleod-schmidt.id.au wrote: As a suitably secure user: $ for i in `cat list_of_backup_machines` do scp magicscript $i:/opt/bacula/magicscript done Yep, I know I can scp cycle on a list of machines, but doesn't fit

Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 Thread Jeremy Maes
*De: *ganiuszka ganius...@gmail.com *Para: *Ana Romero ana.rom...@cpxextremadura.com *CC: *bacula-users@lists.sourceforge.net *Enviados: *Jueves, 6 de Septiembre 2012 11:13:54 *Asunto: *Re: [Bacula-users] How to configure

Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 Thread Ana Romero
Hello Jeremy, I'm trying to do is run during the first weekend ( fri, sat and sun ) all my full backups with the following schedule : Set backup1: Run=Level=Full 1st fri at 18:00 Set backup2: Run=Level=Full 1st sat at 18:00 Set backup3 Run=Level=Full 1st sun at 18:00 e.g. full backup

Re: [Bacula-users] Odd behaviour / Missing directory

2012-09-06 Thread Clark, Patricia A.
On 9/6/12 3:56 AM, Armin Tueting armin.tuet...@tueting-online.com wrote: Hello Bacula-users, I'm running Bacula 5.2.10 on CentOS 5.8. The directory /etc/raddb won't be backed up from a remote client when using 'File = /etc'. I've done some investigation and found out that with

Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 Thread ganiuszka
W dniu 06.09.2012 17:18, Ana Romero pisze: Hello Jeremy, I'm trying to do is run during the first weekend ( fri, sat and sun ) all my full backups with the following schedule : Set backup1: Run=Level=Full 1st fri at 18:00 Set backup2: Run=Level=Full 1st sat at 18:00 Set backup3

Re: [Bacula-users] Odd behaviour / Missing directory

2012-09-06 Thread Armin Tueting
Hello Patricia, Thursday, September 6, 2012, 5:30:30 PM, you wrote: The most probable answer is that it is a separate mount point. Check the output from the backups where only /etc was listed and it should indicate that the /etc/raddb is a separate filesystem and that it will be skipped.

Re: [Bacula-users] Odd behaviour / Missing directory

2012-09-06 Thread Georges
Hello Alex Le 06/09/2012 20:22, Armin Tueting a écrit : Hello Patricia, Thursday, September 6, 2012, 5:30:30 PM, you wrote: The most probable answer is that it is a separate mount point. Check the output from the backups where only /etc was listed and it should indicate that the /etc/raddb

Re: [Bacula-users] Odd behaviour / Missing directory

2012-09-06 Thread Clark, Patricia A.
On 9/6/12 2:22 PM, Armin Tueting armin.tuet...@tueting-online.com wrote: Hello Patricia, Thursday, September 6, 2012, 5:30:30 PM, you wrote: The most probable answer is that it is a separate mount point. Check the output from the backups where only /etc was listed and it should indicate

[Bacula-users] bacula possibly confused about label

2012-09-06 Thread Chris Ord
Dears, In the middle of a backup job bacula is asking for a tape it has labeled and is registered correctly(I believe) in the database. Here's the relevant info Status gives me this: Running Jobs: Writing: Incremental Backup job DailyArchive2 JobId=182 Volume=VARCD003 pool=ArcD

Re: [Bacula-users] bacula possibly confused about label

2012-09-06 Thread John Drescher
On Thu, Sep 6, 2012 at 9:15 PM, Chris Ord chris@digitalpictures.com.au wrote: Dears, In the middle of a backup job bacula is asking for a tape it has labeled and is registered correctly(I believe) in the database. Here's the relevant info Status gives me this: Running Jobs: Writing:

Re: [Bacula-users] bacula possibly confused about label

2012-09-06 Thread John Drescher
sorry I should have been a bit more specific, the tape is mounted, both bacula and mtx thinks it's mounted. Bacula doesn't think the tape is a bacula archive(it is). I am not sure about bacula thinking the volume is mounted when the sd says it is not mounted however could the write protect