birv2,
@birv2@pkm.social avatar

Looking forward to setting up my used with next week. Looking for recos for easy syncing, mainly for my and stuff. What have you used that you could recommend? I do have GDrive working well on my Windows machines, so could go that route,, though not familiar with how to do that on linux. Thanks!

publicvoit,
@publicvoit@graz.social avatar
bananabob,
@bananabob@mastodon.nz avatar

@publicvoit @birv2 +1 for syncthing

birv2,
@birv2@pkm.social avatar

@publicvoit What's your setup and workflow? I've got 2 Windows machines and 2 Linux. Have looked at syncthing but it seemed overwhelming.

publicvoit,
@publicvoit@graz.social avatar

@birv2 3 Linux hosts, 2 Android, a Linux server. I also used same setup with Windows 10 as well for a couple of years.

I would not say overwhelming. It's a couple of hours playing around with the concept, trying out features with test data and then it's much easier than any cloud-driven security threat. 😉

birv2,
@birv2@pkm.social avatar

@publicvoit Thanks very much! I think it might be the ticket. Question -- does it only sync on startup on each device? When does it happen?

publicvoit,
@publicvoit@graz.social avatar

@birv2 By default, it's checking constantly. With Linux, there is a kernel feature to notify on changes. On Windows, I guess it does check each xx seconds but I don't know for sure since I don't need to use that any more.

debajit,

@publicvoit @birv2 Curious, how do you handle an accidental file/directory deletion with Syncthing?

(I store my Org Mode docs/notes in a git repo — I think Syncthing would fit nicely on top of it to sync to my local machines)

publicvoit,
@publicvoit@graz.social avatar

@debajit @birv2 Well, Syncthing does have an archive feature I'm not using myself.

My solution is backup in combination with https://karl-voit.at/2014/08/20/org-losses-determining-post-commit/ - a perfect combination that is able to deal with all situations.

birv2,
@birv2@pkm.social avatar

@publicvoit @debajit Karl, do you have any privacy/security concerns with keeping your files on Git? I wonder about even private repos there.

publicvoit,
@publicvoit@graz.social avatar

@birv2 @debajit I think you mix up a local git repository (which I was referring to) with the Microsoft service GitHub or even GitLab.com 🤷

tivasyk,
@tivasyk@mastodon.social avatar

@publicvoit could you explain in some detail (or point to a good detailed write-up) about how exactly this works for you? setting between two local machines is relatively strightforward, but you mention multiple machines with at least one server; is the server your cetral storage? what exactly do you expose to the internet to be able do sync from outside your lan? etc., etc.

i'm with , but looking for a simpler setup.

@birv2

publicvoit,
@publicvoit@graz.social avatar

@tivasyk @birv2 Well, with Syncthing, you don't need any public IP or firewall hole even if they are not in the same LAN.

In my case, my home computer is running 24/7 and it is my server as well. So it holds everything including phone syncthing shares and shares from my wife with her data. So I only need to backup one single machine.

HTH

tivasyk,
@tivasyk@mastodon.social avatar

@publicvoit eh, having a networking background, i don't see how the first part of your statement works :-(

e.g.: with owncloud, i need (very simplified) to use dynamic dns to point to my setup AND expose ports 443 on the router AND have port redirection to the owncloud server on lan AND a reverse proxy to resolve url to the corresponding docker container AND have the proxy manage the tls certificate from let's encrypt…

i just don't see how syncthing «just works». any details?

@birv2

publicvoit,
@publicvoit@graz.social avatar

@tivasyk @birv2 I'd say you'll find your answers on https://docs.syncthing.net/users/faq.html

TL;DR: from a user's perspective, it just works.

In case you don't trust the public discovery servers, you can host your own since it is FOSS.

tivasyk,
@tivasyk@mastodon.social avatar

@publicvoit alternatively, i could vpn into my own lan instead of dealing with 443 & tls, and that could be a good setup for syncthing (again, if it doesn't require 80/443). is that what you do? yet still: a dynamic or static ip, the on-router port redirection for vpn (unless it's configured on the router), etc., etc?

@birv2

publicvoit,
@publicvoit@graz.social avatar

@tivasyk @birv2 Too complicated for my personal taste.

If I'd go down that road (I would not as long as I can use Syncthing), I'd probably take a look at wireguard, although this would require an Android ROM that has network firewalls built-in (no Google stock ROM has that) so that I don't have to "use up" that single VPN slot for NetGuard.

birv2,
@birv2@pkm.social avatar

@publicvoit @tivasyk I'm getting my used Thinkpad tomorrow. First I'll put linux and emacs on it. Then I'll start to work on putting SyncThing on that and my desktop. Hoping for the best! Thanks for the discussion and suggestions.

publicvoit,
@publicvoit@graz.social avatar

@birv2 @tivasyk Glad that I could help you. Have fun with the setup process!

birv2,
@birv2@pkm.social avatar

@publicvoit @tivasyk Also, does this work if your home computer doesn't run 24/7?

publicvoit,
@publicvoit@graz.social avatar

@birv2 @tivasyk I would guess so. I'd just boot up the one host that is down at the moment, wait for the sync to be finished and put it to sleep again.

birv2,
@birv2@pkm.social avatar

@publicvoit @tivasyk So whichever one is "live" is the current host?

publicvoit,
@publicvoit@graz.social avatar

@birv2 Just read about Syncthing on https://docs.syncthing.net/users/faq.html and try it out with test data. 😉

publicvoit,
@publicvoit@graz.social avatar

@birv2 @tivasyk Syncthing hosts do sync to each other as soon as both sides are connected to the Internet or the same LAN and you didn't limit to a set of pre-defined WiFi networks or similar.

With my home computer running 24/7 and all of my many many shares also hosted on that machine, my sync works 24/7 with all of my shares.

TheSecondVariation,
@TheSecondVariation@graz.social avatar

What was your trouble?
@birv2 @publicvoit

birv2,
@birv2@pkm.social avatar

@TheSecondVariation @publicvoit If you're asking me, I'm trying to figure out how to sync my stuff across multiple devices: Windows, LinuxMint, iPhone, iPad..... so that I can do #emacs and #orgmode on all of them.

TheSecondVariation,
@TheSecondVariation@graz.social avatar

Yeah so syncthing usually just worked for me on Linux and android (on android the webui is better or needed). Windows I have no experience. I was wondering why it seemed overwhelming to you.
@birv2 @publicvoit

publicvoit,
@publicvoit@graz.social avatar

@TheSecondVariation @birv2 Windows, Linux, Android: no issue on my side.

However, Apple is different - as always. They don't want services like that because they compete with their cloud and therefore it's only working with a fragile fork, as far as I understood it.

One of the major reasons I'm not going to use any of their devices again. 🤷

  • All
  • Subscribed
  • Moderated
  • Favorites
  • thinkpad
  • DreamBathrooms
  • magazineikmin
  • cubers
  • InstantRegret
  • cisconetworking
  • Youngstown
  • vwfavf
  • slotface
  • Durango
  • rosin
  • everett
  • kavyap
  • thenastyranch
  • mdbf
  • megavids
  • khanakhh
  • modclub
  • tester
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • Leos
  • anitta
  • tacticalgear
  • normalnudes
  • provamag3
  • JUstTest
  • All magazines