Bacula-users

Re: [Bacula-users] Backuping MS SQL

2008-07-16 06:58:06
Subject: Re: [Bacula-users] Backuping MS SQL
From: "Jari Fredriksson" <jarif AT iki DOT fi>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 16 Jul 2008 13:56:17 +0300
>> Jari Fredriksson napsal(a):
>>>>  Client Run Before Job =
>>>>  "\"c:/BackupDB/scripts/sqlbackup.bat\""
>>> 
>>> Why the pair of \" in the string?
>>> 
>>> Just try
>>> 
>>>     Client Run Before Job =
>>> "c:/BackupDB/scripts/sqlbackup.bat" 
>>> 
>> 
>> it is not needed actualy. It was there, because there
>> was some other path before, and I was trying evverything
>> that could help. 
>> Marek
>> 
> 
> It would be needed if the path had spaces in it I think.
> 

Not sure about this. Certaintly needed when naming a file via a comman 
prosessor/shell. But I don't think " is needed (or even allowed) when using API 
calls.

But then, I don't know how Bacula implements the Client Run Before Job... May 
well be a cmd.exe invocation with that string as a parameter. In that case the 
" is ok.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users