r/gramps • u/luoc • Feb 17 '19
Solved database backend
I started digitalizing our family tree data and some family members were excited by that idea. Now it would be great if all of us could work on a common state rather than just me working on a local database. Is it possible to use a database management system such as postgres or mysql as a backend for gramps and if so, is there any tutorial on how to set this up? Syncing the local files via a service like Dropbox is no option! Thanks in advance!
P.S.: I have a CS background and don't mind rather technical answers ;)
2
u/slayerlob Feb 17 '19
Sorry I will not be too helpful here but wanted to let you know what I know. I have been told you can host the database on cloud. However there is a slight issue with multiple access. Actually you cannot work on the database at the same time. There is a new repo started on github called "gramps-onlone" which seem svery promising and possibly exactly what you are looking for. I am looking for the same too.
Currently you can have store the DB on the cloud and my plan was to get an excel sheet filled by all the help from family. Somehow magically import this spreadsheet.
Again only info and still searching for some help with this. Format of the spreadsheet?saving the DB on the cloud...and so on.
2
u/sam-m888 Gramps 6.0.8 (Linux/Win) Feb 17 '19
Somehow magically import this spreadsheet.
Have a read of Gramps:Manage Family Trees: CSV Import and Export for examples and supported fields fo import.
3
u/sam-m888 Gramps 6.0.8 (Linux/Win) Feb 17 '19 edited Feb 17 '19
The Sqlite database backend is the only builtin one recommended for testing use as mentioned here it supports single or multi-users on a single operating system
Provided instructions for those wanting to test with SQLite https://sourceforge.net/p/gramps/mailman/message/36516462/
The general idea of the new SQLite backend is that if it has enough testing then it will become the default backend for the future Gramps 5.1.x release.
Any issues please raise an issue on the Gramps bug tracker.
Postgres backend is available as an addon but is not as well tested so only for those of you prepared to test and report back issues. Can handle local or remote, single or multi-user.
mysql backend was created as an addon but never finished or released.
MongoDB - was released as an addon then withdrawn by the developer
More reading: https://www.gramps-project.org/wiki/index.php/DB-API_Database_Backend