Bacula-users

Re: [Bacula-users] Backuping MS SQL

2008-07-14 07:33:01
Subject: Re: [Bacula-users] Backuping MS SQL
From: "James Harper" <james.harper AT bendigoit.com DOT au>
To: "Disaster" <sghebuz AT inwind DOT it>, "Marek Simon" <marek.simon AT trustica DOT cz>
Date: Mon, 14 Jul 2008 21:32:41 +1000
> 
> My jobdefs for MS SQL 2005 Express:
> 
> ClientRunBeforeJob = "C:\\bacula\\dump.bat"
> 
> Content of dump.bat:
> osql -S MY_HOST -U MY_USERNAME -P MY_PASSWORD -i c:\bacula\dump.sql
> 

It's possible that when running from in bacula, the system doesn't have
the right path set up and so can't find osql. Maybe set the path first,
eg:
PATH="C:\Program Files\Microsoft SQL Server\MSSQL\binn"
(that's just from my memory, you'll have to get the correct path from
your system)

hth

James

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users