Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am a Linux user. I am looking for a command line tool for Widows(2008 R2) for files & folders synchronization. I am looking for a tool like rsync in Linux. I have to synchronize between two Windows machine and also between a windows and a Linux(Ubuntu).

What everybody use in their company for synchronization when it is to be scheduled to run a script?. Anybody suggest any command line(for scripts) tool for files & folders synchronization(incremental backup sync for VMs and zipped files) in windows platform and also for cross platform synchronization?.

Thank you!

share|improve this question
    
I heard rsync can be installed on windows, but I only know how to use rsync and don't no how to install it on windows!. –  user53864 Aug 7 '12 at 4:00
add comment

3 Answers

Cygwin is:

A collection of tools which provide a Linux look and feel environment for Windows. http://www.cygwin.com/

So can you install it and try it out,

Thanx

share|improve this answer
    
In my test I found rsync cannot sync virtual machines. –  user53864 Aug 13 '12 at 6:55
    
Just make sure that your ip for the virtual machine is 10.0.0.0 which is NAT ed, Add a new adaptor and set it as bridged, and try using rsync.Virtual box provides an option to add bridge adaptor. –  ZVIK Aug 13 '12 at 8:54
add comment

Robocopy will do what you are asking for Windows sync built into the later versions of Windows and can be installed on older versions. To do cross platform you can mount NFS, CIFS, etc to get Linux files from Windows.

share|improve this answer
    
I just know Robocopy has Mirroring option(/MIR), One small doubt, does it replicate only changes of a huge file instead replacing complete file?. Because if a file is of huge size(VM) and if it replaces, it takes long time as much as full backup. Thanks! –  user53864 Aug 7 '12 at 10:42
    
@user53864 Full files only. You want to sync only changes, look into DFS (technically DFS-R these days). –  HopelessN00b Aug 7 '12 at 10:58
add comment

We use DFS to keep directories in sync. No reason it wouldn't work cross-platform if you included a SAMBA share. And it only replicates changes to files, not whole files. So if you change the permissions on a large archive, you replicate a few bytes, rather than the whole file. Take a look at it.

share|improve this answer
    
No good tutorial I found on the internet regarding DFS. If you find any let me know please, especially in using with command line. –  user53864 Aug 7 '12 at 12:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.