Saturday 14 October 2017

backup - How do I setup rsync and any other scripts to mimic a minimal viable replica of DropBox?


The tools I use to mimic the service are not as important as creating a reliable replacement in case something happens to the DropBox company (price flux, acquisition, etc)


My original question was focused on using couchDB replication, but this isn't a requirement just a potential path.



Answer



Project lipsync uses lsyncd to watch a folder for changes, and then kicks off a command, which is rsync by default. For examples, see "Lsyncd (Live Syncing Daemon) synchronizes local directories with a remote targets"


So, you could set it up to issue the curl command to kick off CouchDB replication, instead of rsync, to have lysncd call that instead - I haven't done it, but it should work. Is this what you were talking about?


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...