Remote backup system put in place. RAID5 and rack that magically appeared from a Fediverse friend (thanks!). #backup
**first note: running syncthing remotely kinda sucks, because syncthing requires local browser access to see status of what's going on on the remote node. No obvious/easy cli commands. May revert back to rsync. #syncthing
I've got a syncing feeling. (well... it's working, but slowly). #backup #remote #diy #syncthing
@ai6yr I've done port-forward-through-ssh for setup in that situation, but yeah, a pain.
@ai6yr Tailscale. The answer is always Tailscale.
@ai6yr also I believe you can override that via config.
@ai6yr Wait. Are you using syncthing as backup? I’d recommend restic or borg. Syncthing is more like Dropbox than backup tool.
@stabbylambda Mirror to a remote site, really.
@ai6yr ah. Gotcha. The only note I have for you is that sometimes stuff like Dropbox and syncthing don’t play too nice with stuff like SQLite’s write ahead log files.
@stabbylambda Oh, syncing database files would be foolish, LOL.
@ai6yr nebula / lighthouse then browser UI to syncthing via it's nubula IP, turn on syncthing password protection of course. I am doing this on Debian / Linux, nebula is part of the distro.
SSH Tunneling — Syncthing documentation

@ai6yr Apologies. This is only half the answer I intended to provide…

@ai6yr

Port Forwarding for Headless Machines

"My main use case for tunneling has been to access the web gui of my primary Syncthing node but SSH tunneling can be used for any other program presents data from a specific port on a remote machine."
With thanks to the author

https://www.jm.technology/post/ssh_tunneling_april_2019/

#sshtunnel #syncthing #ssh

SSH Tunneling - Port Forwarding for Syncthing

Port Forwarding for Headless Machines. In my quest to find a DropBox like solution for local file sync between my machines, I found and fell in love with Syncthing. It is an excellent piece of software that gives you total control over how your data is synced and has proven itself to be extremely reliable. I will cover my Syncthing setup in another post but for context here; I maintain one master node running on a headless CentOS 7 virtual machine (VM) on my server and all of my other machines sync to it.

JM Tech Blog
@me Thanks!

@ai6yr

You're welcome.

@me Looks like that works, but you have to disable the config in syncthing that limits GUI access from localhost or 127.0.0.1 (and also need to add password/etc.)

@ai6yr

I don't think you would necessarily have to disable anything to access the GUI from localhost. Which is what you would be doing with an SSH tunnel.

Adding a password and forcing HTTPS should then be done before changing the configuration to allow access to the GUI from the network.

https://docs.syncthing.net/users/guilisten.html

#syncthing #ssh #sshtunnel

The GUI Listen Address — Syncthing documentation

@me
I've done it over ssh. I don't remember the exact command, but it works.
@ai6yr
@ai6yr I’ve only run it locally, so not sure if it’s different remotely, but I can open the local Syncthing webui, click on the name of the remote device and it will expand to show more details like upload or download activity. It doesn’t show the free space, though. But that should be easy enough to see from the command line using `df`