I installed DeltaCopy on a Windows 2008 server to backup data to a Suse linux server. I run rsync from a batch script I wrote so that I can collect stats into a file that gets emailed. The problem I am running into though is my script will work fine for a day or two. Then, the next day it will run. It will connect to the linux server, it will build the file transfer list and send that to the linux server, but then it just hangs. I have had times where the job has been running for 72 hours and no files have been transferred. I have recently added a kill task to my batch script incase it is left hanging, but I would rather solve the issue of the hang. Can anyone give any insight as to why this might be happening?
The server is a clients that connects to us via VPN.
Have similar problems on a 2003 server backing up to a Synology 710+ NAS. More than 50% of the times, the client hangs without reaching the point of sending a completion e-mail. The client appears to hang (ie. does not complete) both when executed manually or by the Windows Task Scheduler.
The deltac.log reports that the task is started ...
28-05-2010 23:59:00 - --------------------------------------------------------
28-05-2010 23:59:00 - Executing task from command line
28-05-2010 23:59:00 - Running 'RmgBackup' from command line
28-05-2010 23:59:00 - Running profile RmgBackup
... but it is never completed. On successful runs the log is completed by the line ...
28-05-2010 11:44:14 - Successfully sent notification email to <my e-mail>
... and a log file for the task is also saved to disk. Windows 2003 Event Log gives little help nor does the Windows Task Scheduler. The Task Scheduler does however (permanently) report a "Last Result" code of 0x40010004 which could indicate that the task is running (hanging) but I'm not sure - neither rsync.exe nor deltac.exe are running according to Windows Task manager.
Unfortunately I do not have an deltac.log file so I cannot see what it is doing. I am running rsync from a batch script. I will try updating the cygwin binaries to see if it helps.
I have copied the cygwin files as suggested. Running a test right now.
One thing I notice, if I run my batch script manually, everything seems to run fine. But, when I let it run on it's own at night that is when it appears to have a problem.