Restore Fails to Restore All Company Information

Version ie <v5.10.30>

5.12.4

Environment

Docker (UnRaid)

Checklist

Describe the bug

Had issues with taxes when creating Quotations, Purchase Orders, Invoices where taxes began calculating per line item instead of subtotal amount of all items. Option changed in Settings to “One Tax” for line item and did not have option anymore for invoices. When changing option for line item, change would not save and always revert back to “One Tax”.
Created a backup of Company as .zip file. Selected “Purge Data” and “Delete Account”. Re-installed Invoice Ninja with new database and restored from backup but only Company Information and logo would restore (no invoices, quotes, etc.). Copied backup file and extracted .zip file and can see all documents within backup file.

Steps To Reproduce

Went to demo.invoiceninja.com and restored company successfully restored all documents and information. There was no option to purge data on demo website so manually deleted all information.

Expected Behavior

Restore to work successfully on my copy.

Additional context

Will try to create new instance to correct issue

Screenshots

N/A

Logs

No log errors

Hi,

It sounds like it may be a bug, I suggest asking in a discussion on GitHub.

If you can post a screenshot of the health check dialog it may be helpful.

Note: if you’re selfhosting the app it’s better to use mysqldump to backup the database.