Bacula-users

Re: [Bacula-users] Failure Backing Up Windows Client Machine

2014-02-27 21:19:57
Subject: Re: [Bacula-users] Failure Backing Up Windows Client Machine
From: Larry Kemp <Larry.Kemp AT usmetrotel DOT com>
To: John Drescher <drescherjm AT gmail DOT com>, Larry Kemp <Larry.Kemp AT usmetrotel DOT com>
Date: Fri, 28 Feb 2014 02:13:48 +0000

I entered this:

 

C:\>sc create Bacula-FD binpath= "\"C:\Program Files\Bacula\bacula-fd.exe\" -c \"C:\Program Files\Bacula\bacula-fd.conf\" " type= share start= auto

[SC] CreateService SUCCESS

 

Under netstat –na | more I saw nothing.

 

Then I saw the service listed in service.msc but it was not running. When I tried to run it manually it stated, “Could not start Bacula on Local Computer error 1053 The service did not respond to the start or control requests in a timely fashion.”

 

 

I am going to go back are read the links in the previous couple emails.

 

 

-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com]
Sent: Thursday, February 27, 2014 5:08 PM
To: Larry Kemp
Cc: Greg Woods; bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Failure Backing Up Windows Client Machine

 

On Thu, Feb 27, 2014 at 5:03 PM, John Drescher <drescherjm AT gmail DOT com> wrote:

>> How about:

>> 

>>  C:\Documents and Settings\lkemp>sc create Bacula-FD binpath=

>> "C:\Program Files\Bacula>bacula-fd.exe" -c "C:\Program Files\Bacula\bacula-fd.conf"

>> type= share start= auto

>> 

> 

> It seems that it is not easy to pass parameters to sc..

> 

> http://stackoverflow.com/questions/3663331/creating-a-service-with-sc-

> exe-how-to-pass-in-context-parameters

> 

> Although I think this will do it (using nested quotes - escaping the

> inner quotes):

> 

> http://stackoverflow.com/a/11084834/487892

 

As a result I expect the answer to be exactly:

 

sc create Bacula-FD binpath= "\"C:\Program Files\Bacula>bacula-fd.exe\" -c \"C:\Program Files\Bacula\bacula-fd.conf\" " type= share start= auto

 

John

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users