Binner icon indicating copy to clipboard operation
Binner copied to clipboard

[Bug]: Restore not working corectly

Open jingsno opened this issue 11 months ago • 0 comments

Binner version

v.2.6.0

Operating System

Windows / Linux

Describe the bug and the steps to reproduce it

When trying to restore the database with the "restore function", the software states "Binner restored successfully!", but no inventory is restored. The "Your Overview" still shows zero inventory.

If I observe the filesystem during restore, I can see that the correct binner.db file is written to the filesystem, from the "binner-backup-xxxx-x-xx.bak" file. If restart the Binner service, the Inventory still shows zero parts.

I can also observe that when I stop the Binner service to restart, the binner.db file is replaced with a smaler (I presume empty) database file.

If i copy the extracted Binner.bak file from the backup file, into the correct directory, as "binner.db", when the service is stopped, the restore works fine, and the inventory is back.

I've observed this on both Windows, and the linux version.

Would you like to attach your appsetings.json configuration?

No response

Screenshots or Videos (Optional, but they help!)

No response

Are you able to contribute a PR? (No is ok!)

None

jingsno avatar Jul 23 '23 12:07 jingsno