What do you think of this calendar backup chain?

Hello everyone,

I have tested EteSync and DecSync in the past, and am now using free Nextcloud.

I am ok editing on one device only, so am considering switching to local Fossify calendar due to auto export backups.

Would you consider it secure to use DroidFS and schedule transfer with AutoPie to RSAF?

Thanks for any opinions

Or DroidFS → Resticopia

Both encrypted, to obfuscate

I don’t use any of these apps besides Fossify, but I’m also curious how people handle this kind of thing.

I ended up using Resilio Sync to pass everything I want to back up to:

  1. Desktop, where I already have a chain of apps for backup. Photos go through compression and into Ente, notes go to a restic backup, etc.
  2. A VPS as a reserve backup — Resilio has a feature for syncing with untrusted devices where it handles encryption without bothering the user.

My main idea was that automation and backups is so much easier on desktop than on mobile OS. And since we need backups on desktop anyway, I find it more reasonable to use the desktop backup chain and just bring the phone into it, rather than reinventing it for mobile.

Other than that, I don’t see why your approach isn’t good enough if those apps work for you.

I guess you prefer FOSS apps, and AFAIK Syncthing could do the same, I just don’t like their android app(apps)

Since DroidFS and Resticopia both encrypt, stacking them doesn’t buy you much extra security; it mostly adds another place for the chain to break. If Fossify Calendar is already writing automatic exports to a folder, pointing a single encrypted backup tool like Resticopia at that folder seems like the simpler setup to me. Whatever you pick, do a test restore every so often, because automated backups on Android tend to fail silently when the system kills a background task or an update resets a permission.

One thing I’d also consider is keeping older backup versions. If a calendar event gets deleted by mistake, an automatic backup might just preserve that deletion. Being able to go back to an earlier version could be more useful than adding another layer of encryption.

That is a cool workflow! I have been more mobile lately, so am trying to set it up as phone-only. As an example, for documents I work in Cryptomator with cloud storage being the main drive, then sync it one way to phone local storage, then back out to other cloud storages as backups. This is with RoundSync (RCX fork). I was going to replace it with the gulp79 fork, but apparently these all expose the rclone config credentials, so I may revamp this too.

Thanks, that is a good point. Using free cloud storage though, I kind of like the dual-encryption. Is that technically stupid? I don’t know much about this and figure the encryption itself isn’t at risk of being broken, but if one app gets compromised in some other way then it’s redundant security. Plus if someone gets into the storage, they won’t see from the structure what’s being used.

Yes I was hoping to retain multiple export files. I believe restic manages this, but have yet to test it (or Resticopia). I was also hoping to run a parallel backup to phone SD storage so it lives on two separate storage mediums in my pocket. In addition to multiple cloud backups, I would also sync to desktop storage, then through to its own external backups. This would not always be on though, so it’s a secondary pipeline.

Got it, I’m not sure it can be done but would be interested to see someone succeed at this on a phone. My few attempts to automate multi-app workflows on a phone turned out to be too fragile for reliable backups, but that could be my skill issue.

As I understand it, you’re going to use AutoPie as a scheduler. Since Resticopia has its own scheduler, that seems like a reasonable thing to try first — one less step in the chain that can go wrong.

Using free cloud storage though, I kind of like the dual-encryption. Is that technically stupid?

Not stupid, it’s actually how some institutions do encryption. It might be a bit much for personal use, but that’s for each person to decide.

It does reduce Restic’s deduplication effectiveness, since encrypted files can’t be handled like regular ones. But as long as we’re talking about a bunch of small files rather than a few large ones, it’ll work. Restic devs don’t discourage this:

Hey, thanks for your help again… I will report back, as it’s nice to bounce off someone who knows more. Hopefully others who see any flaws will chime in too… Are people just using Proton and Tuta calendars now? I rely on an old calendar notification snoozing apk and need a real calendar. I have a fairly low threat model, luckily…

I posted the AutoPie and RSAF idea since I’m not sure if RSAF is more secure than Resticopia. I also leave my phone on overnight and rarely reboot. So hopefully it will stay unlocked and ok.

Thank you for this! Yes the storage is just a few GB at most and not heavily edited, besides these very small regular export backups. Since I’m shooting it off to various free cloud storages, double encryption definitely seems to make sense.

Currently I have to transition phones, then will start setting it up.

Ok I figured Google knows Android pretty well, so I had Gemini code a scheduled exporter app that would avoid exposing the .ics file in regular storage. I then had ChatGPT prepare it for Github, then it built the apk.

I have not installed it yet, because I searched which open source calendars are under active development and might accept a pull request if I prepared some basic code to enable their export features to reach DroidFS.

This led me to Calendula Calendar, which already works :slight_smile:

It could be used purely as an exporter with notifications off.

However, it looks pretty nice.

Resticopia next!

Recent and relevant:

I guess it won’t work for backups: their Document Provider requires unlocking the encrypted vault on every read/write. That makes sense for Cryptomator, but not so much for automated backups, if I understand your idea correctly.

From what I’ve tried, Filen can work as a document provider without requiring biometrics or a password. Proton Drive does too, but unlike Filen/Cryptomator, it’s read-only.

Oh, wow… what is the point of document provider then? If you are forced into that manual step, you might as well just manually upload a file to it. I thought it already allows editing files within the vault…

I am not sure if you noticed my reply above regarding Calendula. Its automatic exporter seems to be working into DroidFS. I set it to the minimum for testing (every 30 minutes) and it overwrites the backup file each time. I expect Resticopia can provide versioning (though of the encrypted files) and the rclone connection to various cloud storage providers.

So I will report back. It seems promising so far.

Bonus: contacts backup!! This one works with DroidFS and is automatic.

The automatic backup for Tasks dot org works as well.

And Joplin can do it manually. I don’t think you can schedule automatic backups on Android though, so its backup plugin would have to be used on a computer.

Not bad overall! This really solves a lot of issues. The main problem I see is this is a single-device setup.

However, it looks like ICSx5 can read from a local file… I have been using this for my work’s Exchange calendar for years (to avoid Outlook calendar).

https://f-droid.org/en/packages/at.bitfire.icsdroid/

The real bonus…

I should correct myself: it’s possible to enter biometrics/password only once per vault unlock if you turn off autolock. But then Cryptomator has to keep running in the background forever.

They could probably make it possible to access vaults without user interaction by using saved credentials without biometrics/password, the way KeePassDX make it possible (not recommended, though). But currently even in the app itself you have to provide credential in to unlock a vault, so the Document Provider just does the same as the main app.

I thought it already allows editing files within the vault…

From my understanding, it only allowed editing text files, with Cryptomator own editor. The document provider lets external apps read and write files without exporting them.

my reply above regarding Calendula

That is nice, hopes it will work for you.

a scheduled exporter app that would avoid exposing the .ics file in regular storage

If you do not have untrusted apps with full disk access, isn’t exporting files to regular storage fine too?