Post Apq1gN7eaE9FycXUEC by alex@social.deuill.org
 (DIR) More posts by alex@social.deuill.org
 (DIR) Post #Appp42TVhdoFUAiXc8 by mntmn@mastodon.social
       0 likes, 0 repeats
       
       are there any best practice scripts or general wisdom for using rsync or unison as a simple dropbox/drive alternative where you have files/docs on your own server and your computers auto sync to/from it? is there something a bit more advanced (merges or versioning incl? i guess auto backup tool on the server would be enough...) i want to move away from syncthing also, and don't want to use p2p stuff, just simple client/server star architecture.
       
 (DIR) Post #ApppRqVfqAYNKJ56uG by teohhanhui@mastodon.social
       0 likes, 0 repeats
       
       @mntmn https://github.com/rclone/rclone
       
 (DIR) Post #Appq04A5ac8vVrIps0 by mntmn@mastodon.social
       0 likes, 0 repeats
       
       @scott interesting, rclone has "bisync" but it's in beta
       
 (DIR) Post #Appq8LV50ckVbW4LJI by mntmn@mastodon.social
       0 likes, 0 repeats
       
       unison's "repeat watch" looks good, and rclone's bisync, which is not yet production grade apparently
       
 (DIR) Post #ApprTOONYHpobnXCE4 by cellularmoose@fosstodon.org
       0 likes, 0 repeats
       
       @mntmn Do you know which file monitoring program you are using? I was trying to do the exact same thing when I saw your post.
       
 (DIR) Post #ApprulSHucHzxLPmQC by praxeology@post.lurk.org
       0 likes, 0 repeats
       
       @mntmn You could look at git-annex or git-lfs. They do suffer from some of the general awkwardness and complexity of git.rsync if you pull, then push should work ok but you may get some unhappy results if you delete or overwrite a file on on node and expect it to exist on the other node. In that case, the last push to the server will win. Something that does snapshots on the server might help, while keeping the complexity lower. Otherwise, you'll need something akin to git to deal with those conflicts.
       
 (DIR) Post #AppsvRq4QmJ3MQQe0G by battlegarden@fosstodon.org
       0 likes, 0 repeats
       
       @mntmn I use git-annex, at the moment only for a syncthing-scenario, but works fine. I know someone who uses it as dropbox replacement and is very happy with it.
       
 (DIR) Post #AppuZNeDX63ftpUPxo by fmn@mastodon.social
       0 likes, 0 repeats
       
       @mntmn matter of taste and use-case, but what you describe sounds like Syncthing to me. it allows versioning, LAN-oriented discovery of peers. nice thing is that learning curve is gentle and it's usable for non-nerds; has decent web ui too. one drawback is that recently project killed android client, and most of users migrated to most well known fork. very reliable in my experience.
       
 (DIR) Post #AppuvTrj5ytVYSLYDw by mntmn@mastodon.social
       0 likes, 0 repeats
       
       @cellularmoose appears to be built in for unison's repeat=watch, at least on linux
       
 (DIR) Post #AppxkkMxh6GbPwWvUO by n2o@23.social
       0 likes, 0 repeats
       
       @mntmn For backup I have been a very happy https://restic.net/ user for years. For getting rid of my Nextcloud sync client, I have also eyed towards rclone bisync. Will test soon.
       
 (DIR) Post #AppxnHmESMldbmYpAu by serapath@mastodon.gamedev.place
       0 likes, 0 repeats
       
       @mntmn why not "p2p stuff"?what if it worked?you could run one peer on your server and one peer on your client and jusy pretend it has nothing to do with p2p stuff 🙂
       
 (DIR) Post #Apq1gN7eaE9FycXUEC by alex@social.deuill.org
       0 likes, 0 repeats
       
       @mntmn I've been using bisync for a while, no issues at all with keeping two computers in sync with each other via a WebDAV share (also running on RClone). Here's the systemd service and timer I use:https://github.com/deuill/dotfiles/blob/master/.config/systemd/user/rclone-bisync%40.servicehttps://github.com/deuill/dotfiles/blob/master/.config/systemd/user/rclone-bisync%40.timerI use this to sync a specific folder in my home directory (e.g. `rclone-bisync@Music`for `~/Music`) and only need to kick off once with a manual run of the command in the service file and the addition of the `--resync` option. Here's my server setup, backed by LDAP, for good measure:https://github.com/deuill/coreos-home-server/tree/trunk/service/rcloneHope this helps!
       
 (DIR) Post #Apq1gNoY0kSY7ebk5Q by mntmn@mastodon.social
       0 likes, 0 repeats
       
       @alex cool, this is the kind of stuff i was hoping for!