![]() There’s a docker image by resilio for x86 architectures. Resilio Sync works with the Bittorrent P2P protocol and is even compatible to the Bittorrent Sync app, although I used the official Resilio Sync app. At that point I remembered Resilio Sync, an app which looked promising but the official documentation and website didn’t make it clear if it was appropriate for my usecase – I wanted to have a look at it for quite some time and now the timing seemed right. So I would have to create a custom image or set up a reverse proxy on my own. The images from the example where only compiled for x86 architectures, but the Odroid was running on ARM. However finally setting it up on the Odroid I noticed this way was not as easy as I thought. I have setup a test environment on a Digitalocean droplet, reproduced the error I was getting on premise and fixed it by adding the containers from the example. The fix should be quick, I thought to myself, when I found an example on the official Github repository which featured an nginx reverse proxy with some custom foo – just something to add to my docker-compose.yaml and I’m good to go. For some reason the app didn’t allow unencrypted connections anymore (I never bothered setting up TLS for Nextcloud, as I was only using it in my LAN) and an error message appeared:ĬLEARTEXT communication not permitted by network security policy FolderSync, 2020, colorized The issue appeared after an update of the app. One day FolderSync refused to synchronize data. I wasn’t happy with this solution but there wasn’t a better solution possible – or so I thought. So to see the actual state of the process, after opening the app or passing the lock screen of the phone, I had to wait a couple of seconds for FolderSync to display what it was doing – and even if it was doing anything. Moreover when running the synchronization, the app feeled sluggish and at times it took about 10 seconds to display what it was doing – it looked as if there was no synchronization happening. When working with larger amount of files, the time it took to check what already was added, and if there was a delta, was much longer than the actual upload time. When synchronizing a folder with ~5000 files the app ran for hours, even when most of the files have already been synchronized and only a single new files was added. It worked okay-ish for a only a couple of small files, but the transfer rate was most of the time below 1 MB/s. This was a working solution, but as I witnessed after a few days, not a very good one. I created folders with server encryption in Nextcloud and added a folder pair in the FolderSync app to sync specific folders. While most apps, like the official Nextcloud app at that time, didn’t allow to synchronize selected folders with encryption, FolderSync featured this by using the Webdav protocol, which made it a very versatile app. This app featured exactly every aspect I was looking for in a backup solution. Having both features at the same time was not possible in most apps, except one: FolderSync. Apps that work with Nextcloud and can make use of the server encryption Nextcloud features but never allow to select only specific subfolders.Encryption can only the used with newly created folders and / or on premise hosting was not possible. Apps that feature encryption of files and folders, but do not work with Nextcloud and are proprietary solutions.In my research I found 2 types of Android apps: The issue here lay with the combination of two features I required: encryption at rest and the backup of specific, already existing folders. an Android app to only backup specific, already existing foldersĪs Nextcloud is a widespread solution for sharing files and backups, I figured my use case should be very easy to implement.Although it was far from perfect, the usage of Nextcloud fulfilled all features I required: On the Raspberry I’ve used a bare metal installation of Nextcloud, the Odroid ran a Docker image of Nextcloud. Requirementsįor months I’ve been using a selfhosted Nextcloud on a Raspberry Pi 3 and an Odroid N2. Nextcloud is far slower and the FolderSync app, which I used to transfer only specific folders, is unreliable. Tl dr: Resilio Sync hosted on a Raspberry Pi / Odroid / NUC does the job perfectly with their app. The backup has to be done locally inside the LAN and encryption at rest is a must-have. Issue: I want to backup specific, existing folders of multiple Android devices.
0 Comments
Leave a Reply. |