→Moving a Gramps 2.2 databases to Gramps 3.x
== Moving a Gramps 2.2 databases to Gramps 3.x ==
There are two ways of moving your Gramps data from version 2.2 to version 3; either directly importing your version 2.2 grdb file or by exporting to XML format first. Because of complexity in the way that version 2.2 stores data, exporting to XML is usually the most convenient and problem free way of moving your data to version 3.
*Import 2.2 grdb file: In a Gramps 2.2 database, your data is stored in a grdb file along with one or more log files that are kept in directories found in the .gramps/env directory. To import your 2.2 data directly into Gramps 3, create a new database and select the option to import a Gramps 2.2 database. You need to make sure that you are running Gramps 3 from the same user you used to run Gramps 2.2 so that it has access to the same .gramps/env directory containing the log files that supplement your database. If you are running Gramps 3 from a different user or on another machine you need to make provisions to make the same .gramps/env directory and log files available. If you get an error saying "/tmp/tmpDkI5pO could not be opened" or something similar when attempt to import your database then it means that Gramps 3 cannot see all of the files that constitute your database.