logoalt Hacker News

edg5000today at 11:57 AM0 repliesview on HN

For my desktop systems I do a nighly rsync to a central onsite server, which does nighly encrypted ZFS send to an offsite archive. I suppose a script could trigger on file change using Linux file watch features (exposed via CLI and C headers). What I'm not sure about is wether two way sync with rsync is possible. This could run as a simple daemonized bash script. On error the script would just retry. Rsync would have to handle conflicts, it probably has features for it. Paste this comment into a coding CLI and boom, you have your solution :). Does need rooted Android for running shell scripts on boot. But a good coding CLI can log into your phone and set everything up.