Open allenerenee opened 3 years ago
The file should be a SQLite file so if you can't access it with a generic SQLite tool, I'd be worried the file might be corrupt.
I can access it with an SQLite database viewer, so that's not the issue. All the data seems to be fine. I just haven't the foggiest how to get it back into Gourmet, since the DB browser can only export as sql, csv, or json.
Hi,
You should be able to open the database by running Goumet as follows, from a terminal:
gourmet --database-url sqlite:////home/cydanil/Documents/recipes.db.backup
Note the four leading ////
If these are loaded correctly, you may look at moving the backed up database to the Gourmet directory:
cp recipes.db.backup ~/.gourmet/recipes.db
I used Timeshift to make a backup of all my files in the middle of January, just before upgrading from Mint 18.3 to Mint 19.3. It made a backup of my recipe database with the extension .db.backup In the middle of February, my hard drive died. Poking around a little, I am not able to simply open the file with Gourmet 0.17 or the Python3 version, nor does following the instructions found at https://linuxhint.com/backup-restore-sqlite/ (my new system tells me the file is an SQlite database) How can I restore my (sizable) recipe collection from the .db.backup file?
Expected Behavior
Gourmet should recognize and be able to restore backups made from system utilities such as timeshift.
Current Behavior
Currently, attempting to restore the file produce no results.
Environment