Sailfish + Linux (+Android) - How to synchronize across devices

Hi.

While I am waiting for my batch #3 Jolla phone, I am currently working to update my current workflows to better fit the new OS infrastructure (e.g. I switched from a banking app to QR Tan)…

A thing I am currently working on is on how to synchronize my images and documents across devices.
Currently, I am using immich to automatically upload photos to a dedicated server.
For documents (mostly Markdown) I am currently using Nextcloud, but I am not happy with that. a= You have to open the Nextcloud app to trigger a synchronization of documents. b) local documents have to manually uploaded and than marked for synchronization. This is pretty painful when trying to use obsidian (while I don’t want to use obsidian cloud)

Now my question: Has anybody a good solution on how to seamlessly synchronize data between all kind of devices? I mean, webdav and stuff is pretty old, there should already be a common way to copy data back and forth…

I’ve got a linux dedicated server at hand, my desktop and laptop are running on linux, and there’s a boox ebook reader on android which I want to exchange data between. Can you help me find an easy way to sync those without the use of any proprietary cloud service?

Best regards,
Dirk

PS: The next pain point is password management. I am currently using bitwarden, but I guess that will be quite painful to migrate, too, because I am relying on OTP and passkeys. I guess KeypassXC can do this, too, but than I need a very good database synchronization working…

1 Like

For this I use Nextcloud Passwords - to my knowledge there is not a dedicated SailfishOS app for it, but it is easy enough to access from the browser which makes it ideal for using from any device.

There are of course Android and iOS apps for it, among other platforms and the web interface.

I’ve been personally using Syncthing for my synchronization needs, and it works quite well for me. It’s free software, cross-platform, and doesn’t rely on a central server. I know there are bundled versions available on OpenRepos, but I personally just installed the ARM (64‑bit) binary from the official website.

If you want your dedicated server to act as a central storage location, the first thing that comes to mind is an rsync or rclone based solution. If you don’t want to mess around with the terminal, there are native frontends like Ferry Sync, which lets you use rclone through a graphical interface.

3 Likes

For password manager, Bitwarden is great as it has native app called Bitsailor that I love :slight_smile:

1 Like

Thanks for your advice.

I am currently unsure whether to use a centralized server or try p2p…On the one hand, copying photos to the server the moment they are taken is quite nice when your phone is lost or stolen. On the other hand, each centralized data storage is a potential risk of being hacked…

I guess I will try Syncthing or Resilio Sync first, and check if data is relyable copied in background. I don’t want to manually trigger any kind of copy process…

Syncthing is mostly set and forget. The only time there are conflicts is sometimes if incoming modifications from two different devices conflict. For a more-or-less one way sync, or if you’re not doing anything strange like leaving the phone off for long periods while documents are unsynced, it should be fine.

I use native ownKeepass which uses .kdbx databases.

I synchronize simplistically - assuming that the remote database, which is in turn synced from my laptop, always takes precedence - with scp before ownKeepass is started.

I should really look into syncthing.