importing data from GRM 0.13.4 into 0.17.4?

Asked by Michele

I have a new computer running Windows 7 and would like to import the recipe data from version 0.13.4 on my old computer into version 0.17.4 that I just downloaded onto the new computer. Is this possible, and if so, how would I do it? If not, can I somehow move the old version 0.13.4 folder into the Programs folder on my new computer? I have a lot of recipes and use the program often, so it would be wonderful to get all this info transferred.

Thanks in advance!

Michele

Question information

Language:
English Edit question
Status:
Solved
For:
Gourmet Edit question
Assignee:
No assignee Edit question
Solved by:
Bernhard Reiter
Solved:
Last query:
Last reply:
Revision history for this message
Bernhard Reiter (ockham-razor) said :
#1

We do have an automatic recipe database upgrade routine that is run the first time a new version of Gourmet is launched, so ideally, all you have to do is run the new version of Gourmet.

Unfortunately, there have been reports that these automatic upgrades sometimes fail, but in order to provide some sort of safety net, the upgrade routine creates a backup of the previous state of the database. When run, Gourmet will inform you in which directory and under which name you can find that backup (along with you other Gourmet data).

Revision history for this message
Michele (michele9443) said :
#2

Thank you for your prompt reply. Do I need to move a file(s) from the
old 0.13.4 folder into the new Gourmet folder before launching the new
version, and if so, which file(s)? The filenames in 0.13.4 look
different than 0.17.4, so I'm not sure where the recipes are stored.

Thanks in advance for your help.

Michele

On 10/26/2014 7:06 AM, Bernhard Reiter wrote:
> Your question #256198 on Gourmet changed:
> https://answers.launchpad.net/gourmet/+question/256198
>
> Status: Open => Answered
>
> Bernhard Reiter proposed the following answer:
> We do have an automatic recipe database upgrade routine that is run the
> first time a new version of Gourmet is launched, so ideally, all you
> have to do is run the new version of Gourmet.
>
> Unfortunately, there have been reports that these automatic upgrades
> sometimes fail, but in order to provide some sort of safety net, the
> upgrade routine creates a backup of the previous state of the database.
> When run, Gourmet will inform you in which directory and under which
> name you can find that backup (along with you other Gourmet data).
>

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Revision history for this message
Best Bernhard Reiter (ockham-razor) said :
#3

Theoretically, you shouldn't have to move anything -- simply launching the new program version should auto-detect the files' location and start the DB upgrade. (BTW, the recipes are in a SQLite database called recipes.db which IIRC under Windows normally should be in %appdata%/gourmet)

If the upgrade doesn't work, feel free to report here.

Revision history for this message
Michele (michele9443) said :
#4

Replacing the recipes.db file on my new computer with the recipes.db file from my old computer did the trick. I can now view the old recipe file from my old computer using version 0.17.4 on the new computer.

Thanks for your help, and for the great recipe program!

Michele