Bacula-users

Re: [Bacula-users] batch script in Windows causes job to fail

2011-10-13 06:27:20
Subject: Re: [Bacula-users] batch script in Windows causes job to fail
From: Silver Salonen <silver AT serverock DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 13 Oct 2011 13:25:39 +0300
No batching experts? :)

Should the script do something else than "exit 0"?

--
Silver


On 12.10.2011 11:05, Silver Salonen wrote:
> Hi.
>
> A job of Windows-client is set to execute a .bat file after the job. The
> .bat script is smth like:
> del /Q /F C:\Accounting\Backup\*.TXT
> del /Q /F C:\Accounting2\Backup\*.TXT
> exit 0
>
> For every day there is 1 .TXT file in both folders and the files are
> about 150 MB in total.
> But this script causes the job to fail (only sometimes, in half cases,
> I'd say) with error:
>
> 05-Oct 01:02 mybacula-dir JobId 45922: Fatal error: Network error with FD 
> during Backup: ERR=Connection reset by peer
> 05-Oct 01:02 mybacula-dir JobId 45922: Fatal error: No Job status returned 
> from FD.
>
> After I disabled execution of the script, the job has not failed.
>
> Any ideas, why is that?

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>