• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 469
  • Last Modified:

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
0
majidhajali
Asked:
majidhajali
  • 6
  • 6
  • 2
1 Solution
 
ai_ja_naiCommented:
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
0
 
ai_ja_naiCommented:
If you want to setup a snapshot style automated transfer system, have a further look at this: http://www.mikerubel.org/computers/rsync_snapshots/
0
 
majidhajaliAuthor Commented:
my file server is running windows storage server 2003 R2
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
ai_ja_naiCommented:
And then? You've got cygwin on that server, right?
0
 
ai_ja_naiCommented:
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.
0
 
majidhajaliAuthor Commented:
No. I 've not.
0
 
majidhajaliAuthor Commented:
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.
0
 
ai_ja_naiCommented:
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.
0
 
majidhajaliAuthor Commented:
ok, I'll check it. I hope it works :)
0
 
woolmilkporcCommented:
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
0
 
majidhajaliAuthor Commented:
No. I 've not.
0
 
majidhajaliAuthor Commented:
I can't open fileware.co.uk web site.
It shows some ads. it seems the site is down now.
0
 
woolmilkporcCommented:
Sorry, try this one -
http://www.risefly.com/index.htm
 
0
 
ai_ja_naiCommented:
Uhm that program is for Win.

In case you are on Windows and can't run a Linux app (that's what I gave), you can use DeltaCopy (http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp), which is a reimplementation of rsync under Windows and does exactly the same things but with a GUI
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 6
  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now