Gramps creates a hidden directory in your home directory called .gramps containing all the user-specific data. There is a directory in that directory called grampsdb (eg /Users/yourname/.gramps/grampsdb) that contains all your data stored in individual directories for each family tree. The directory names are not obvious matches to the family tree. How do I tell which directory goes with which family tree?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
In each directory are many files ending in *.db that are the database tables. There is also a file called name.txt that contains the name of the family tree as it is known thru the gramps gui (eg "Family Tree 1").
If you have many directories, then from grampsdb directory on Linux or Unix-based systems (eg MacOS):
and then ":n" thru each file until you find the one you are looking for.
You can let Gramps tell you by using a command-line flag:
If you are using Gramps on Windows then search for name.txt through the File Explorer to generate a list of files and then preview the contents of each file found within a Gramps folder (typically named with 8 apparently random alphanumeric characters).
If you don't like where Gramps chooses to put the data (on Windows) you can specify another location through the menu sequence Edit | Preferences | Family Tree.