File synchronization: Difference between revisions

Content deleted Content added
m link Skysite
top: CQ, boldavoid
Line 1:
{{Refimprove|date=July 2009}}
'''[[File system|File]] synchronization''' (or '''syncing''') in computing is the process of ensuring that [[computer file]]s in two or more locations are updated via certain rules.
 
In ''one-way file synchronization'', also called [[Web mirror|mirroring]], updated files are copied from a 'source' ___location to one or more 'target' locations, but no files are copied back to the source ___location. In ''two-way file synchronization'', updated files are copied in both directions, usually with the purpose of keeping the two locations identical to each other. In this article, the term synchronization refers exclusively to ''two-way file synchronization''.
 
[[File system|File]] synchronization is commonly used for home backups on external hard drives or updating for transport on [[USB flash drives]]. [[BitTorrent Sync]], [[Dropbox (service)|Dropbox]] and [[Skysite|SKYSITE]] are prominent products. Some [[backup software]], like [[AOMEI Backupper]] also support real-time file sync. The automatic process prevents copying already identical files and thus can be faster and save much time versus a manual copy, and is less error prone.<ref>{{cite paper |author=A. Tridgell |authorlink=Andrew Tridgell |title=Efficient algorithms for sorting and synchronization |url=http://samba.org/~tridge/phd_thesis.pdf |date=February 1999 |version=PhD thesis |publisher=The Australian National University}}</ref> However this suffers from the limit that the synchronized files must physically fit in the portable storage device. Synchronization software that only keeps a list of files and the changed files eliminates this problem (e.g. the "snapshot" feature in [[Beyond Compare]] or the "package" feature in [[Synchronize It]]!). It is especially useful for mobile workers, or others that work on multiple computers.
 
It is possible to synchronize multiple locations by synchronizing them one pair at a time. The Unison Manual<ref>{{cite web |url = http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#usingmultiple |title = Unison File Synchronizer. User Manual and Reference Guide. |last = Pierce |first = Benjamin | authorlink=Benjamin C. Pierce |date = 2009 |accessdate= 27 January 2014 }}</ref> describes how to do this:
: If you need to do this, the most reliable way to set things up is to organize the machines into a “star"star topology," with one machine designated as the “hub”"hub" and the rest as “spokes"spokes," and with each spoke machine synchronizing only with the hub. The big advantage of the star topology is that it eliminates the possibility of confusing “spurious"spurious conflicts”conflicts" arising from the fact that a separate archive is maintained by Unison for every pair of hosts that it synchronizes.
 
==Common features==