Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
File synchronization
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Process of ensuring that computer files in two or more locations are updated via certain rules}}{{More citations needed|date=February 2019}} '''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]], [[Skysite|SKYSITE]], [[Nextcloud]], [[OneDrive]], [[Google Drive]] and [[iCloud]] are prominent products. Some [[backup software]] 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 web |author=A. Tridgell |author-link=Andrew Tridgell |title=Efficient algorithms for sorting and synchronization |url=https://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|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 (software)|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 | author-link=Benjamin C. Pierce |date = 2009 |access-date= 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 topology," with one machine designated as the "hub" and the rest as "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 conflicts" arising from the fact that a separate archive is maintained by [[Unison (software)|Unison]] for every pair of hosts that it synchronizes. ==Common features== Common features of file synchronization systems include:{{citation needed|date=November 2014}} * [[Encryption]] for [[Internet security|security]], especially when synchronizing across the [[Internet]]. * [[data compression|Compressing]] any data sent across a network. * ''Conflict detection'' where a file has been modified on both sources, as opposed to where it has only been modified on one. Undetected conflicts can lead to overwriting copies of the file with the most recent version, causing data loss. For conflict detection, the synchronization software needs to keep a database of the synchronized files. Distributed conflict detection can be achieved by [[version vector]]s. * ''Open Files Support'' ensures data integrity when copying data or application files that are in-use or database files that are exclusively [[file locking|locked]]. * Specific support for using an intermediate storage device, such as a removable flash disc, to synchronize two machines. Most synchronizing programs can be used in this way, but providing specific support for this can reduce the amount of data stored on a device. * The ability to preview any changes before they are made. * The ability to view differences in individual files. * Backup between operating systems and transfer between network computers.<ref>{{cite web|title=Why Should You Backup Your Mac to a Windows (OS based) Computer?|url=http://www.backupitnow.com/why-should-you-back-up-your-mac-to-a-windows-os-based-computer/|publisher=Wei-Soft|access-date=23 November 2014|archive-date=2 December 2014|archive-url=https://web.archive.org/web/20141202010312/http://www.backupitnow.com/why-should-you-back-up-your-mac-to-a-windows-os-based-computer/|url-status=dead}}</ref> * Ability to edit or use files on multiple computers or operating systems. == Comparison to shared file access == {{excerpt|Shared resource|Comparison to file synchronization}} == Possible security concerns == Consumer-grade file synchronization solutions are popular, however for business use, they create a concern of allowing corporate information to sprawl to unmanaged devices and cloud services which are uncontrolled by the organization.{{Citation needed|date=October 2018}} When using cloud services, data privacy risks can be mitigated by using a file synchronization solution that features [[end-to-end encryption]] instead of simple transport ([[HTTPS]]) or at-rest encryption. ==See also== * [[Backup software]] * [[Comparison of file synchronization software]] * [[Comparison of online backup services]] * [[Data comparison]] * [[Data synchronization]] * [[Web mirror|Mirror (computing)]] * [[Remote backup service]] * [[Shared file access]] * [[List of backup software]] == References == {{reflist}} {{Computer files}} {{DEFAULTSORT:File synchronization}} [[Category:Data synchronization| ]] [[Category:Storage software]] [[Category:Utility software types]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation needed
(
edit
)
Template:Cite web
(
edit
)
Template:Computer files
(
edit
)
Template:Excerpt
(
edit
)
Template:More citations needed
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)