codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.23k stars 540 forks source link

Backup failed #846

Closed d687r02j8g closed 4 years ago

d687r02j8g commented 4 years ago

Steps to reproduce the behaviour

  1. Settings > backup and export > create backup

Expected behaviour

Backup gets created

Actual behaviour

Get a message that says backup failed. There is a zero bytes file in the backup location.

This has started to happen since the beta version was installed.

Software specifications

d687r02j8g commented 4 years ago

When I try to export XML via Export > XML

I get the following message which may be related to the backup as they're both XML backups?

Error exporting XML file Failed to generate GNUCash XML-guid not exists in commodity db

d687r02j8g commented 4 years ago

Is there any way to back up the app data other than exporting the XML?

I've tried "adb backup -f org.gnucash.android.ab -apk org.gnucash.android " however it creates an empty backup file. The manifest says that allowBackup is set to true so this should work?

d687r02j8g commented 4 years ago

I restored a backup from before this issue occurred and manually entered missing transactions. The backups now work on the beta version of the app.