Re: Lost my gramps data base ... help!

Emyoulation--- via Gramps-users <[email protected]>
Newsgroups gmane.comp.genealogy.gramps.user
Message-ID <[email protected]>
The SQLite database is not something that is usually part of your routine OS based backup. The database files are too fragile & constantly changing. That's why Gramps has a compressed XML format keyed off a timer-based backup & upon closing the application. That file format is more robust & compact. 

So do not bother looking for the .db files... look for the .gramps or .gpkg files instead. The paths to you backup files (and the database files) is a Preferences setting. But if you hadn't changed those, you should be able to just open Gramps & look in Preferences to find the paths. Look in the Family Tree tab. 

https://www.gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Settings#Family_Tree

If you changed those paths, then you've got to play a game of hide&seek. 

-Brian 
 
  On Sun, Jan 30, 2022 at 17:14, Glenn McK<[email protected]> wrote:   Did you backup the dot directory; ie:  ~/.gramps. That's where the
configs and other important stuff are

~/.gramps/gramps51/gramps.ini

grep gramps51/gramps.ini -e backup-path

or view gramps.ini in a text editor and see where various preferences
were set to.

The database should be at...
~/.gramps/grampsdb

grep gramps51/gramps.ini -e recent-file
should return the last entry database used. (previous versions will be
in that directory.)

On 31/01/2022, John Sibert <[email protected]> wrote:
> Linux Mint 20.3 Una
> gramps 5.1.1
>
> Alas, I managed to delete my home directly, completely. I was the only
> user with root privileges and was unable to effectively fix anything. So
> after a long struggle session, committed upgrade on my OS and went from
> Mint 19.3 to 10.3 (something I had been planning to do anyhow). I keep
> habitual backups on an external NAS drive and was able to recover most
> of the deleted files. I installed a fresh copy of gramps, but was unable
> to recover my data base. All of the media files seem to be pesent, but I
> can find no trace of the sql database. I did backups two days before I
> lost anything, but they were media backups, hence no database. I did
> find an older file, Sibert-2019-2019-09-19-12-04-49.gramps, and imported
> it into gramps, but it is two year out of date.
>
> One of several questions I have is where (ie directory and file) does
> gramps write data when you "Quit" a gramps session?
>
> I have a couple of suggestions that might help other gramps users avoid
> this dilemma, but I would really like to restore my database first.
>
> Any help would be gratefully received and rewarded with beer points.
>
> Regards,
> John
>
>
> --
> Contact me on Signal at +1 808 294 3842 (text, voice, or video; UTC -8)
>
>
>
> --
> Gramps-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
> https://gramps-project.org
>


-- 
Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie


-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
  
-------------- next part --------------
An HTML attachment was scrubbed...

-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.