-
Notifications
You must be signed in to change notification settings - Fork 243
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
Ability to Dump Application's Database #2360
Comments
@jingtang10 please feel free to review the PR On OpenSRP. I think we want to move that kind of functionality to the SDK |
@jingtang10 We would like to revisit this issue and have the feature in the SDK. Please review the issue and share your thoughts. |
We are happy to add this ability. Along with this there should also be a way for application to modify data before dump - so a plugin which application can implement and register. Can you tell us how you are doing this in the PR linked above. |
@qiarie |
Hello @MJ1998.
This is noted. Do you mind giving more information on there should also be a way for application to modify data before dump - so a plugin which application can implement and register.
I will check with my team and share an update |
In our current use case and implementation, a user is able to initiate a raw database download to the file system. For debug versions, the database is unencrypted and is saved as is to the file system. In both cases, the database is zipped and a ZIP password set. |
After internal discussions and careful evaluation, we've decided not to implement the database dump feature at this time. This decision aligns with our core principle of maintaining a secure, encrypted database environment. Additionally, we believe this feature may become less relevant as our sync capabilities mature. |
Is your feature request related to a problem? Please describe.
We have experienced sync issues due to malformed resources, caused by some references not properly set such as missing the resource type before the reference. Resources with such issues fail to sync since the referenced resources are not found on the server.
Identifying the cause of the failing sync has proven hard, especially when we are unable to reproduce the issue on our staging environment.
Describe the solution you'd like
To make troubleshooting possible for cases that are hard to reproduce, we would like a copy of the application's database to be downloadable to device storage for further investigations.
The dumped database file should be encrypted with a password that is defined by the app calling the database download SDK API.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
The text was updated successfully, but these errors were encountered: