Link to home
Start Free TrialLog in
Avatar of majidhajali
majidhajaliFlag for United States of America

asked on

Monitor and synchronize on a daily basis

I want a software that can monitor two folder and record changes and on a daily basis or scheduled time apply changes to the mirror directory on another server.
I've used super flexible file synchronizer and also I've tested a bunch of other programs, but all of them should scan source and then apply changes. Because it's a big directory and contains about 500 GB of data, it's impossible to scan every day. So, I want a program that runs as a process in background and records all the changes and just copy or delete changes to destination.

Would you please recommend me a solution or software.

Thanks
Avatar of ai_ja_nai
ai_ja_nai
Flag of Italy image

rsync --delete-after -avzhP /folder/to/monitor host:/folder/to/sync

if you want to use ssh to encrypt connection

rsync --delete-after -avzhPe ssh /folder/to/monitor user@host:/folder/to/sync

Explains:

--delete-after: kills precedent file after the transfer
-a: preserves attributes and copies subfolders
-v: verbose
-z: compresses during transfer to safe bandwidth
-h: human format: displays bytes, not blocks
-P: partial+progress: shows progress and resumes interrupted files
-e ssh: uses remote shell

Both the hosts must have ssh and rsync installed for this to work; this system will transfer just the differences between files, not all the files, saving you a lot of troubles
If you want to setup a snapshot style automated transfer system, have a further look at this: http://www.mikerubel.org/computers/rsync_snapshots/
Avatar of majidhajali

ASKER

my file server is running windows storage server 2003 R2
And then? You've got cygwin on that server, right?
Sorry, I thought you already knew what I was talking about; sometimes I assume that people can read directly my mind, my fault :p

Ok, you can install on both machines Cygwin, which is a software package that emulates a UNIX inside a window on the desktop. If you install rsync in that emulator, you can use unix apps, included the excellent rsync, inside windows (follow this guide, http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html)

If you don't like this solution, no problem, there is a already ported and compiled solution called Deltacopy (http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp), which is free and does exactly waht you want. Check it out.
No. I 've not.
unfortunately, as I understand and read the documents, deltacopy needs to be installed on 2 servers. but, in my location, one of them is a server and another is a NAS. So, I'm not able to install anything on that.
I understand. But you can access the nas as a remote disk and manipulate it accordingly, right?

Then, you can install (it's ridiculous, I know, but it's a solution) server and client on the same machine and setup the destination folder of the "server side" as the nas. Otherwise, you can use cygwin with rsync and make everything locally.
ok, I'll check it. I hope it works :)
Hi,

does your NAS support FTP?
I just came across this one.
I never used it, but it looks pretty good for your purpose.
http://www.fileware.co.uk/products.htm#FTPSync
wmp
No. I 've not.
I can't open fileware.co.uk web site.
It shows some ads. it seems the site is down now.
ASKER CERTIFIED SOLUTION
Avatar of ai_ja_nai
ai_ja_nai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial