Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by nodata on Monday May 12, 2014 @02:09PM
(#7734398)
Newest change wins. More detail: https://github.com/calmh/syncthing/issues/61#issue-27202590
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by nightpool on Monday May 12, 2014 @04:29PM
(#7735240)
Specifically, 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.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by mahyarm on Monday May 12, 2014 @03:47PM
(#7735004)
Also 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.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by protomyth on Monday May 12, 2014 @05:15PM
(#7735461)
Kind of a shame no one has implemented a source code control style interface or how OpenVMS did it.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by ajslater on Monday May 12, 2014 @08:28PM
(#7736087)
What he's talking about is versioned myfile.cfg~
$ DIR
myfile.cfg;2
myfile.cfg;7
myfile.cfg;9
$
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by ape4 on Monday May 12, 2014 @02:04PM
(#7734361)
Their protocol is published
https://github.com/calmh/syncthing/blob/master/protocol/PROT...
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by saurik on Monday May 12, 2014 @03:19PM
(#7734845)
I 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".
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by ushi on Monday May 12, 2014 @02:05PM
(#7734367)
I learned about Syncthing here[0]. The article mentions that there is no versioning at the moment.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by sillysaurus3 on Monday May 12, 2014 @02:32PM
(#7734553)
What does Dropbox do?
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by aroch on Monday May 12, 2014 @02:34PM
(#7734561)
Overwrites 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
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by sp332 on Monday May 12, 2014 @02:59PM
(#7734727)
They also usually keep the old copy around for a little while, or forever if you pay for the packrat option.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by _delirium on Monday May 12, 2014 @05:43PM
(#7735581)
True, 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.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by tripzilch on Tuesday May 13, 2014 @08:41AM
(#7737810)
We 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.
Re:Syncthing: Open Source Dropbox and BitTorrent Sync Replac...
by appliedluck on Tuesday May 13, 2014 @12:55PM
(#7739160)
Conflicts 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
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.
Bittorrent Sync just overwrites files based on last mod time (terrible option). What does this do? Does it support backups? Versioning?