Bacula-users

Re: [Bacula-users] start a job from windows batch file

2014-10-20 01:51:37
Subject: Re: [Bacula-users] start a job from windows batch file
From: Florian <florian.splett AT web DOT de>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 20 Oct 2014 07:45:58 +0200
Hello.

Sorry for the late answer.
Your suggestion worked perfectly. Thanks.

Regards,

Florian S.

Am 13.10.2014 um 15:27 schrieb heitor AT bacula.com DOT br:
> Correcting: echo "run job=BackupJobName yes" |bconsole
>
> ====================================================================
> Heitor Medrado de Faria
> Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: 
> bacula.com.br
> 61 2021-8260 | 8268-4220
> Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfaria AT 
> gmail DOT com
> =====================================================================
>
> ----- Mensagem original -----
> De: heitor AT bacula.com DOT br
> Para: "Florian" <florian.splett AT web DOT de>
> Cc: bacula-users AT lists.sourceforge DOT net
> Enviadas: Segunda-feira, 13 de outubro de 2014 10:20:12
> Assunto: Re: [Bacula-users] start a job from windows batch file
>
> Florian,
>
> I never worked with plink, but is this command a shell one?
> Maybe you could try something like that
> echo run "job=BackupJobName yes" |bconsole
> Alternativaly you could schedule Bacula to start this backup when the time 
> you think notebook would be pluged in the network, and just put the Retry On 
> Error, so Bacula will try to backup it x defined Retry times x Retry Interval 
> until it gets connected and backuped.
>
> Regards,
> ====================================================================
> Heitor Medrado de Faria
> Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: 
> bacula.com.br
> 61 2021-8260 | 8268-4220
> Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfaria AT 
> gmail DOT com
> =====================================================================
>
> ----- Mensagem original -----
> De: "Florian" <florian.splett AT web DOT de>
> Para: bacula-users AT lists.sourceforge DOT net
> Enviadas: Segunda-feira, 13 de outubro de 2014 9:55:03
> Assunto: [Bacula-users] start a job from windows batch file
>
> Hello.
>
> I am currently adding two laptops to the backup network I am taking care of.
> After discussing how to work with them as they aren't always available,
> we decided to let a batch file run on startup, asking the user, if a
> backup should be started in the background.
>
> I couln't figure out how to start a job remotely yet.
> I am using plink to connect to the server on which bacula runs.
>
> Here is the line of my batch file that I tried to use:
> plink.exe -pw <Password> root@<Server> "bconsole < \"run
> job=\"BackupJob\"\""
>
> This results in the following output though:
> bash: run BackupJob: File or Folder not found.
>
> Could someone help me a bit with the syntax?
>
> Regards,
> Florian
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>