[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Syncthing
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 48
Thread images: 4
File: syncthing.png (185 KB, 720x493) Image search: [Google]
syncthing.png
185 KB, 720x493
What does /g/ think about Syncthing?

>Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.
- https://www.syncthing.net
- https://github.com/syncthing/syncthing
>>
>>54686862
It deleted 2 days worth of work once (in php, no great loss), and when I last used it a year and a half ago, it uses lots of CPU.

Don't have an opinion right now since I'm not using it.
>>
>>54686862
I use it between my desktop, NAS and laptop to sync documents and pictures. It has had a few hickups and annoying breaking changes over the years, but all in all the project is in great hands.

That being said, I still don't fully trust it fully, so I backup both my data and have a syncthing specific incremental local copy.

#!/bin/bash

# /etc/cron.daily/
# Differential backup on a week, one for each day
# https://wiki.archlinux.org/index.php/Rsync#Differential_backup_on_a_week

DAY=$(date +%A)
SRC="/mnt/media/syncthing"
DEST="/mnt/media/backup/syncthing"

if [ -e "$DEST/incr/$DAY" ] ; then
rm -r "$DEST/incr/$DAY"
fi

rsync -a --delete --inplace --backup \
--backup-dir=$DEST/incr/$DAY $SRC $DEST/full
>>
>>54686889
Ouch, how? Conflicting copy? That seems to be much better now.

Resource usage isn't as crazy as before because of smarter sync, but the encryption (AES) part isn't going away so it can potentially be noticed if you're on a laptop or phone.
>>
>>54686862
Used it recently, concur with above.
Setting up your own owncloud server on an rpi would be smarter, not that I've done that yet.
>>
>>54686862
Because I use OneDrive with BoxCryptor so anything that I want to keep as "my own" I simply encrypt before uploading it to the service.

I also have a NAS and can use CloudStation with that if I had a desire to run my own "Cloud" sync tool.
>>
>>54686930
Not sure really, it was almost 2 years ago now.

I can only guess there was some timing issue where the two machines couldn't agree on what the newest copy was and so picked the wrong one.
>>
>>54686862
i use it, does the job nicely

currently using it for;
- syncing porn between my phone/laptop/desktop
- syncing camera photos between my phone/desktop
- syncing documents between my laptop/desktop
>>
>>54686999
All right. It should notice that by itself now.

https://docs.syncthing.net/users/faq.html#what-if-there-is-a-conflict
>>
>>54686862
I never sync

I manually mount or update my stuff, even calendars.

Yeah its more work, but I i dont have to rely on other people like Syncthing
>>
>>54687015
>- syncing camera photos between my phone/desktop
Hm, maybe I should give this a go, or install the arm version manually.

https://openrepos.net/content/fooxl/syncthing-sf
>>
>>54686999
when i first started using syncthing, i got conflicts fairly often, but with newer versions it happens less often, for a while now i've had none
haven't really changed how i've been using it, so i guess they're just handling things better now
>>
>>54686862
I think bittorrent sync works just fine.
>>
>>54687053
yea, it's nice

can take a photo and have it available and stored on my desktop moments later, without having to do anything

i use the android version on my phone though, it's on f-droid
>>
>>54687085
>Syncthing uses an open and documented protocol, and likewise the security mechanisms in use are well defined and visible in the source code. BitTorrent Sync uses an undocumented, closed protocol with unknown security properties.
- https://docs.syncthing.net/users/faq.html#how-does-syncthing-differ-from-bittorrent-sync

I know which one I would trust.
>>
>>54687086
File system access between the android filesystem and the sailfish os can be a bit quirky sometimes, but I might be able to run the android version using the sailfish dalvik engine. Will have to look into it later, now I usually email the picture to myself and download it for later usage, or if I'm at home use sftp. Both kind of sucks.
>>
>>54687134
can't really help you with sailfish os, but i wish you luck
>>
>>54687163
thanks
>>
I like the concept, but it's a huge battery hog on Android.
>>
>>54687134
also, instead of sftp, you could consider rsync, it works with ssh as well, for example;
rsync -avh --progress -e ssh "phone-address:/path/to/photos/." ~/Pictures/Camera
>>
>>54687191
you can set it to sync only on wifi/while charging, or disable "run in background" and just open it when you want it to sync
>>
>>54687284
Yeah, I spend a lot of time on WiFi though, so that doesn't do much for me. Also I was using it to sync a KeePass database, so I'd prefer to sync via mobile data as well. I'd consider reinstalling it if they added an option to only sync when the phone wakes from sleep.
>>
>>54687317
syncthing won't prevent sleep by default (it has an option to allow it)
you can also restrict which wifi networks in particular to want it to sync on

i have mine running in the background and on wifi only, and haven't noticed it use much battery
>>
>>54687284
>>54687317
could you possibly use something like syncthing-inotify that supposedly should make syncthing sleep when there are no changes?
>>
>>54687231
Thanks, I'm aware. I use `-e ssh` all the time, but I often don't want all the pictures so it's easier to just browse using sftp.
>>
rsync is so easy, why do we need this?
just seems to make it more complicated.
>>
>>54686862
I am writing my own super robust backup tool in Python (yes meme language but stfu it works great for this kind of stuff).

So far it supports dropbox, onedrive and google drive. i am working on s3 atm. it also does sftp/scp. it has the option to just do mirrored backups to date stamped folders, compressed archives with recovery records (and par files if that is your thing). for same day multiple backups it detects changes to only backup what has changed in the past few hours. I am also working on a separate service which will monitor a list of folders and do real time backups for auto versioning.

it isnt anything special but i am just teaching myself Python atm so it is a little project for myself. it doesnt have a gui yet, it uses a simple json file for config. when it gets to something i am happy with i will stick it on github i think.
>>
>>54687551
because syncing between > 2 nodes are more complicated than using rsync

hell, even 2 nodes require some finesse that rsync does not give you, depending on your user requirements
>>
>>54687512
not sure

this only affects local changes and when they're detected though, i don't think the periodic scans would be a major resource usage when nothing has changed, using inotify is more about making syncthing more responsive to changes

>>54687551
- automatic detection and sync of changes
- multiple peers can seed a file, much like bittorrent (not just for availability, but also for speed)
you could do much the same with rsync, though your scripts to do so would probably end up being a rudimentary version of syncthing anyway

rsync is the better tool for other cases, like (one way) backups, as that's what it's made for
>>
>https://github.com/syncthing/syncthing/blob/master/CONDUCT.md

not going to be a part of this.
>>
File: 1453770027649.png (293 KB, 633x758) Image search: [Google]
1453770027649.png
293 KB, 633x758
>>54686862
>works fine after installed
>stops working after a week
>>
>>54687676
>this only affects local changes and when they're detected though, i don't think the periodic scans would be a major resource usage when nothing has changed, using inotify is more about making syncthing more responsive to changes
I suppose you're right
>>
>>54686862
cool, thanks for sharing
>>
Syncing is for retards.
>>
>>54687117
The one by hobbyists?
>>
I've been using Syncthing for a pretty long time. Hasn't fucked up, that's about all I can really say.
>>
>>54686862
It would be nice if it wasn't in Go so I could fix it. I hate Go. This program uses a lot of RAM and CPU.
>>
>>54686862

Tried it awhile back, it wasn't very good TBQH.
>>
>>54686862
Does it actually work yet?
>>
>>54692016
>>54694627
it's pretty new, if you tried it only "a while back", you should try it again
>>
>>54690514
so what do you do?
>>
>>54686862
>Syncthing replaces proprietary sync and cloud services

Ooh, that sounds good, I'm tired of using all these proprietary cloud sync programs.
> Website -> About
okay, there's no about page. Not the worst web dev I've ever seen
> Continue searching site for functionality info
> Of course there is none
> Try google:

Doesn't have dropbox support
Doesn't have google drive support
Doesn't have amazon support
Doesn't have onedrive support
Doesn't have owncloud support

How the fuck does this "replace" even one of my cloud sync services?
>>
File: a.png (112 KB, 1740x692) Image search: [Google]
a.png
112 KB, 1740x692
>>54696290
i have no idea what you're thinking

why would it support proprietary cloud services while calling itself a replacement?

you thought syncthing was a replacement /client/ for them?

syncthing works without any backend service, it's peer-to-peer

what you do is run syncthing on your computers (desktop/laptop/phone/etc), and assign folders to it, then you assign whatever other machines of yours you want to sync with that folder

pic related, if i put a file in "~/Sync", it will for example, be synced with my phone, which i've placed on my sdcard
(left: desktop, right: phone)
>>
>>54696431
>you thought syncthing was a replacement /client/ for them?
yes. This is the software I am looking for.

Something that can take the place of the desktop and mobile programs Dropbox, Google Drive, OneDrive, Amazon, OwnCloud, etc so I do not need them all running at once and can get away from the proprietary software.

Does such software exist?
>>
>>54696491
not sure, sorry. but that's not syncthings' goal
>>
>>54691021
The core developers are doing it in their free time yes, but they are hardly hobbyists.
>>
>>54696491
I can't imagine it does, or ever will.
>>
File: Swiss_Cheese_Garden_of_Eden.jpg (19 KB, 630x429) Image search: [Google]
Swiss_Cheese_Garden_of_Eden.jpg
19 KB, 630x429
>>54686942
>owncloud
Thread replies: 48
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.