Your dream project - Programming On Unix

Users browsing this thread: 7 Guest(s)
z3bra
Grey Hair Nixers
(25-07-2017, 08:38 AM)jkl Wrote:
Quote: a decentralized online backup solution with other people

So, basically, Revilo Sync (formerly Bittorrent Sync)?

Resilio Sync you mean? I use that at work already, and I considered this solution yeah. My main problem with it is that they only provide pre-compiled binaries, and there all users have the same access to the data. I'd prefer a solution with builtin encryption support, so that even if my data is spread amongst 10 servers, I'm still the only one able to access it (given that I don't loose the key of course).
I like the idea of using bittorrent underneath though, as it's pretty efficient network-wise, and fault-tolerant as well. I considered syncthing as well, but many users reported loosing data because of it, which makes it a pretty bad backup tool!

I started cooking something on my own for this purpose (see synk). For now it's just a multihost rsync, but I plan on having it support directory recursion, and non-POSIX systems as well. I would love to implement it over bittorrent, but couldn't find a simple library to use the protocol in C, so for now I keep calling ssh + rsync (and it works rather well for now).
With this solution, encryption needs to be done outside the tool, for example:

Code:
# tar cj /etc /home | openssl enc -e -aes256 -pass file:/etc/secret > /var/backup/$(hostname)-$(date +%Y%m%d).tbz.enc
# synk /var/backup/*.enc -h jkl.nixers.net -h dcat.nixers.net -h xero.nixers.net -h venam.nixers.net

That's no rocket science as you can see, but still require external tools.

(25-07-2017, 08:38 AM)jkl Wrote: Mine's still a machine to slap people over the internet. My main problem is not how to control the GPIO stuff (that looks pretty easy), but I suck at hardware robotics.

Now that's a good idea. I'd had fist bump as well, to keep entertaining the suspense when the arm moves ;)
To go slap only, a servomotor and a rubber band would be enough I guess. Then to slap, you perform a full rotation with the rubber band.

Now you need to create and RFC for that protocol


Messages In This Thread
Your dream project - by z3bra - 25-07-2017, 08:01 AM
RE: Your dream project - by jkl - 25-07-2017, 08:38 AM
RE: Your dream project - by z3bra - 25-07-2017, 09:14 AM
RE: Your dream project - by jkl - 25-07-2017, 09:43 AM
RE: Your dream project - by z3bra - 25-07-2017, 10:18 AM
RE: Your dream project - by r4ndom - 25-07-2017, 04:06 PM
RE: Your dream project - by z3bra - 25-07-2017, 05:20 PM
RE: Your dream project - by darthlukan - 26-07-2017, 02:43 PM
RE: Your dream project - by z3bra - 26-07-2017, 03:16 PM
RE: Your dream project - by Tmplt - 17-10-2017, 03:12 PM
RE: Your dream project - by grah - 27-02-2019, 04:33 AM
RE: Your dream project - by z3bra - 27-02-2019, 11:45 AM
RE: Your dream project - by grah - 28-02-2019, 12:56 AM
RE: Your dream project - by z3bra - 19-04-2019, 07:28 AM
RE: Your dream project - by wolf - 01-05-2019, 11:55 PM
RE: Your dream project - by Doom - 13-05-2019, 01:21 PM
RE: Your dream project - by venam - 14-05-2019, 12:30 AM
RE: Your dream project - by Doom - 14-05-2019, 01:56 PM
RE: Your dream project - by evbo - 15-05-2019, 01:55 PM
RE: Your dream project - by Doom - 15-05-2019, 10:38 PM
RE: Your dream project - by seninha - 07-05-2021, 02:00 PM
RE: Your dream project - by venam - 07-05-2021, 02:56 PM
RE: Your dream project - by freem - 11-05-2021, 09:16 AM
RE: Your dream project - by TheAnachron - 11-05-2021, 10:26 AM
RE: Your dream project - by freem - 11-05-2021, 11:06 AM
RE: Your dream project - by s0kx - 24-05-2021, 03:09 PM