Bacula-users

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

2011-10-12 04:07:39
Subject: [Bacula-users] batch script in Windows causes job to fail
From: Silver Salonen <silver AT serverock DOT ee>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 12 Oct 2011 11:05:04 +0300
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?

-- 
Silver


------------------------------------------------------------------------------
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>