Hi, On 5/2/2007 10:27 PM, Sandro Mendes wrote: > Hello people, > Consider an organization with intermittently-connected machines, such as a > company with many users who often travel with their laptops, and who may not > be in the office on any given day. It would be very helpful for such an > organization to allow the client to initiate a backup when it recognizes that > it is on the company network and can connect to the Bacula director. > I have been searching for a solution, like a script. I found something, but > only for linux shell. > Somebody knows a way to a final user run a full backup without using bconsole? > I want something like below: > > "C:\Program Files\Bacula\bin\bconsole -c C:\Documents and Settings\All > Users\Application Data\Bacula\bconsole.conf" <<END_OF_DATA > messages > @output C:\tmp\log1.out > run job=client1 yes > wait > messages > @output > quit > END_OF_DATA
this looks more like a windows scripting problem... try to put the commands into a separate textfile, and use input redirection to use that file. So, 'bconsole < c:\path\bconsole_commands.txt' with bconsole_commands.txt containing the commands you need. Arno > Thanks for any help! > Sandro Mendes > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users