4 ms·
Can we please please please make it a standard that synchronization tools spell out how they handle conflicts on the front page. Bittorrent Sync just overwrite
by XorNot 13y ago
Can we please please please make it a standard that synchronization tools spell out how they handle conflicts on the front page.
Bittorrent Sync just overwrites files based on last mod time (terrible option). What does this do? Does it support backups? Versioning?
- ape4 13y agoTheir protocol is published https://github.com/calmh/syncthing/blob/master/protocol/PROTOCOL.md https://github.com/calmh/syncthing/blob/master/protocol/PROT...
- saurik 13y agoI think the point is also "this is actually critical information that is important for end users of the system to understand, not esoteric knowledge only required by developers".
- ushi 13y agoI learned about Syncthing here[0]. The article mentions that there is no versioning at the moment. [0] http://jasonwryan.com/blog/2014/05/10/syncthing/ http://jasonwryan.com/blog/2014/05/10/syncthing/
- nodata 13y agoNewest change wins. More detail: https://github.com/calmh/syncthing/issues/61#issue-27202590 https://github.com/calmh/syncthing/issues/61#issue-27202590
- nightpool 13y agoSpecifically, this is not dependent on last mod time, but instead a "version" field in each file's metadata that is incremented every time a file changes. I'm not really sure how that's going to help with concurrent (or conflicting) edits though.
- sillysaurus3 13y agoWhat does Dropbox do?
- aroch 13y agoOverwrites unless the file is locked (ie. a .docx open in Word that two people are editing concurrently). If a file is locked you get multiple files with "(X's conflicted copy)" appended to their names
- sp332 13y agoThey also usually keep the old copy around for a little while, or forever if you pay for the packrat option.
- _delirium 13y agoTrue, though I've found that very difficult to use in practice. I retrieved something through it once, but it wasn't pleasant. Especially with periodic autosaves, finding the last good version before an accidental overwrite requires trawling through pages and pages of old versions, with poor/nonexistent diff tools.
- tripzilch 13y agoWe use it all the time, with great success. We have one Dropbox (free account) for kids to keep their programming, drawing and other stuff in (one folder per kid). They lose their stuff all the time, in the most creative ways possible. Dropbox's 30-day version history can be a real lifesaver in those cases. Although sometimes stuff is just gone and they're out of luck. I'm still not entirely sure what happens then, possibly a weird combination of everyone saving their project near closing time, the Internet connection maybe choking up a bit, and people shutting down their computer before everything is properly synced.
- appliedluck 13y agoConflicts are handled more elegantly than a simple overwrite. There are many ways to spin off a conflicted copy. This article covers the most common way: https://www.dropbox.com/help/36/en https://www.dropbox.com/help/36/en Dropbox is pretty good about never losing data. It can be suggested that this is one of the most interesting or valuable parts of its technology. Its practical use of bandwidth is another.
- mahyarm 13y agoAlso what happens if one of the sync volumes becomes read only? Does it start deleting new things off the other volume? That happened to me with bit torrent sync and I lost new image files as a result.
- protomyth 13y agoKind of a shame no one has implemented a source code control style interface or how OpenVMS did it.
- ajslater 13y agoWhat he's talking about is versioned myfile.cfg~ $ DIR myfile.cfg;2 myfile.cfg;7 myfile.cfg;9 $