Bacula-users

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

2014-10-13 09:01:20
Subject: [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, 13 Oct 2014 14:55:03 +0200
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

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