Re: [Bacula-users] Windows Server 2008 system state backups
2008-06-26 07:38:18
Chris Sarginson wrote:
> Hi Guys,
>
> I am currently having some problems with running a System state backup
> called via a script using ClientRunBeforeJob. The script calls the
> wbadmin.exe as follows:
>
> C:\Windows\System32\wbadmin.exe START SYSTEMSTATEBACKUP -backupTarget:d:
> -quiet
>
> The output I get from Bacula is as follows:
>
> 26-Jun 12:25 bkup_client JobId 192: ClientRunBeforeJob: run command
> "C:/windows/sysstate.bat"
> 26-Jun 12:25 bkup_client JobId 192: ClientRunBeforeJob:
> 26-Jun 12:25 bkup_client JobId 192: ClientRunBeforeJob:
> C:\Windows\system32>C:\Windows\System32\wbadmin.exe START
> SYSTEMSTATEBACKUP -backupTarget:d: -quiet
> 26-Jun 12:25 bkup_client JobId 192: ClientRunBeforeJob:
> 'C:\Windows\System32\wbadmin.exe' is not recognized as an internal or
> external command,
> 26-Jun 12:25 bkup_client JobId 192: ClientRunBeforeJob: operable program
> or batch file.
> 26-Jun 12:25 bkup_client JobId 192: Error: Runscript: ClientRunBeforeJob
> returned non-zero status=1. ERR=Unknown error
> 26-Jun 12:25 Ziff-dir JobId 192: Fatal error: Bad response to
> ClientRunBeforeJob command: wanted 2000 OK RunBefore
> , got 2905 Bad RunBeforeJob command
>
> Running the bat file manually works without issue, and I have also
> changed the user the service runs as, but still get the same error.
>
> Does anyone have any pointers with regards to this, I've had a look
> through the archives and not come up with much.
>
> Bacula Server is Bacula-2.2.8 Sourceforge RPM, Fedora Linux
> Client is 2.4.0 Windows 2008 x86_64
That's because in Windows, 64 bit stuff uses system32, and 32 bit stuff such
as Bacula uses systemWOW64.
http://wiki.bacula.org/doku.php?id=faq#why_do_my_client_side_scripts_fail_on_64_bit_windows
--
Frank Sweetser fs at wpi.edu | For every problem, there is a solution that
WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|