Synchronizing open IIS weblogs

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Synchronizing open IIS weblogs

Postby tamir on Tue Aug 07, 2012 4:00 am

Hello,

We're looking for a way to transfer weblogs almost continually.
We want to be able to copy even partial files, so when the Amazon Auto Scale kills the machine, we won't loose that tracking data (which was in the currently written web log file).

Example situation:
weblog00001.log - 1MB, closed, ready to be moved.
weblog00002.log - 1MB, closed, ready to be moved.
weblog00003.log - 238kb, still open by IIS, can be copied, can't be moved.

We installed Syncovery in a test machine, and configured it to use continues synchronization. The profile was also configured to move the files to the log server share folder.
Syncovery does move the closed files, and copy the open partial file (which are still being used by IIS to add every few seconds new lines), and overwrites the destination file with the new larger version of that file on each synchronization cycle, but when IIS releases that file, for some reason Syncovery doesn't move it completely to the destination folder as we expect it to do.

Could it be that after the initial delete failure, Syncovery stops trying to delete the file (move = copy and then delete), and just keeps copying it?

Can you suggest a more optimal way to do this synchronization?

Thanks
tamir
 
Posts: 1
Joined: Tue Aug 07, 2012 3:37 am

Re: Synchronizing open IIS weblogs

Postby superflexible on Sat Aug 11, 2012 11:29 am

I think you need to click on the Configure button for the Move Files mode and choose either

X Overwrite destination if identical or older

or

X Delete identical or older files from source
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron