-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Automatic export of vault for backing up to cloud #1464
Comments
You can already manually export a |
I'm aware of the manual export option, what I'm suggesting is an option to enable automatic exports be it either periodically or when new cards are added. That way the backup on a remote location always has all your cards even if you forgot to manually export your collection. I'm not sure what you mean with "importer refactor", I have no coding experience. However I can understand if this seems a bit overkill since people probably don't constantly expand their collection unlike the 2FA app I mentioned. Still I think it would be neat :)) |
Yes you are correct. Another reason I would like a backup function to my nextcloud instance is that I semi-regularly change ROM and not all custom ROMs support seedvault/default android backup. I wasn't aware Google doesn't like apps writing to local (internal) storage though, or has this changed since then? |
We're planning to improve the import/export functionality, which includes running it in the background instead of the way it runs now. Which is a change we would probably need for automatic backups. I know orgzly has this kind of "sync to local folder" functionality. Not sure about Play vs F-Droid. But IIRC it uses the storage permission that only gives access to a specific folder, which Google might allow (but we should make 100% sure). So this might be possible, at least on android versions that support that. |
That is something that makes me wonder whether this is worth implementing. I would assume people don't add cards so often that a manual export is too much work. And that losing a card would be a lot less bad than losing a 2FA token. |
From what I can gather from other apps I use with automatic export, they only needed 1 exposed directory (on android 13). So security risks should be nil right? However they're all F-Droid apps or sideloaded... It seems there is some interest considering earlier issues requesting the same thing. I'll let it up to you guys to decide, I'm not really of any use development wise. |
To add some info if it is worth implementing, for me is one of the top selection criteria for FOSS apps. Can it automatically export my user data to a folder I can backup via Syncthing or Nextcloud. (Personally preferably in |
It's clear a lot of people want this. Given multi-device/sync is not likely to happen any time soon (which could have also been used to restore a single device) and nobody seems interested in picking that up, maybe this would be picked up by someone. It would first require fixing #513 though. Until we can generate an export in the background, we can't possibly schedule it. |
I have been looking into this a bit more. Indeed Android is walling off app data more and more, so automatically writing to a generic folder such as Documents (for syncting e.g.) isn't easy without dragging in more permissions. I guess a Nextcloud sync is the way to go. I will look into this more, there must be an example implementation that could be used by many apps. Another was is using LineageOS with https://calyxinstitute.org/projects/seedvault-encrypted-backup-for-android, but that only covers backups, not syncing with other devices. |
FWIW: Catima already works with Seedvault as that just hooks into the default Android backup system and I've seen several people on fedi explicitly talk about it working. |
Nice, perhaps worth mentioning support for SeedVault on https://catima.app/ |
I'd honestly rather not. There are several issues with Android's backup system:
I'd much rather people use Catima's built-in backup system as I can test and debug issues with that very easily (and users could send me their backup files so I can see exactly what went wrong). Android's backup system (and Seedvault) I just do not trust enough to always work reliably to promote the support for. I've made a PR to update the documentation of that here, let's continue any further documentation discussion on the current backup situation there :) |
For example when you add a new card, make an automatic export of the vault to a set directory. You can then sync that directory to a cloud service so you never lose your cards.
For inspiration you can take a look at Aegis 2FA, where this feature has come in handy when I bricked my phone.
Thanks
The text was updated successfully, but these errors were encountered: