To add to this. The documentation is not very clear on how to handle backups and restore. When restoring the server, it does say to stop the server, copy the data from the backup and then start again. But it doesn’t say anything about that you need to modify the permissions of the copied files in order to get the server to start again. You don’t even get error messages when you get it wrong.
Also, on Android, executing a client reset is pretty hard. The documentation says that I need to close all instances of realm before executing a client reset. How am I supposed to do this in a reliable way? I have followed the recommendations to open the realm in OnCreate, close in OnDestroy for activities and I use onStart/onStop for fragments. I kill all the activities before attempting to reset, but there is still a reference somewhere that I didn’t close and that causes the app to crash and when I don’t get a second chance when starting the app again. The user data is lost.
I think an example on how to successfully execute a client reset on Android would be super helpful! Also, if it would be possible in any way to find out what is holding on to Realm references that would also help alot. Right now, backups are pretty tricky to get right.