I’d like to allow users to store backups in the app. My app is offline first. This feature has to work when they are not logged in as well as when they are logged in.
The case where they have never logged in is easily manageable, so far I can see. Just copy the Realm to another location and when restoring I replace The Realm at my default location with the backup Realm.
But what to do when there’s a synced Realm? Can I do a clientside backup of this (of course only the Realm pertinent to the user… in my app each user has their own Realm, no shared data)? If yes, how?
I know that there’s the possibility to do server side backups too, but I don’t want to have to manage all this myself - the idea is that if the db of single users get corrupted they can restore their Realms themselves and of course without affecting the db for other users.