gramps - backup problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gramps - backup problem

Pierre Parmentier
Hello,

I have been working for some months with Gramps without problems ... and without a good knowledge of the structure.

But now I am with a folder named '59859472" that contains txt, gbkp and db files. When I open Gramps and click on 'Family Trees' I find nothing from my previous trees. 

I work in a Windows environment.

Found nothing up to now despite my research on the Web and the mailing list!
For me the explanations on https://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_family_tree#I_have_backup_gbkp_files are not clearly detailed and lack precision: 'grampsdb' file seems to be hidden, how to select a family tree with a particular name? wher is the 'repair' button?

Questions:
  1. How to reconstruct the family tree?
  2. Where do I have to look?
  3. Can I include the backup files in a new tree?
Thanks for your help.

Pierre P.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: gramps - backup problem

Dave Scheipers
Hi Pierre

I am not sure what your problem is. Is your database corrupted? Can
you not load it?

You say you are on a windows machine. Which version of Gramps are you
running? and did you recently install a newer version?

But lets see if I can offer some help.

Gramps stores the database files in directories that are randomly
named with numbers  and usually letters. Make sure that the parent
directory of this folder (you say 59859472)  is the directory that is
set in Menu >> Edit >> Preferences >> Family Tree tab. This is the
Directory that will open when you click on Menu >> Family Trees >>
Manage Family Trees. If the directory set in preferences is already
the windows directory path of the 59859472 folder then I do not know
why that database remains hidden to gramps (above my pay grade).

But you say you have a backup.

Go to Menu >> Family Trees >> Manage Family Trees and create a new
"Family Tree 1" (the default name). For now, do not rename it so there
will not be any confusion with what you may have named your original
file. Select or load this new database. It will of course be empty.
You can now import your most recent backup file into this new
database.

If you go to the windows directory set as the path for the Gramps
database files, a new folder should have been created. This contains
all of the database files gramps needs for "Family Tree 1". You never
need to access any of these files unless one of the developers directs
you to. But in the folder will be a txt file >> name.txt. This
contains the Name of the family tree database, in this case "Family
Tree 1".

If everything works fine, you can go back to Menu >> Family Trees >>
Manage Family Trees and rename your database. Whether or not you
manually delete the 59859472 directory is up to you. Others may have
ideas to 'recover' it, just make sure that any name that database has
(name.txt) is different than the database you create from the backup.

There is a file in
C:\users\<user>\AppData\roaming\gramps\recent-files-gramps.xml

This lists which files have been loaded since its creation. This list
is what displays in Menu >> Family Trees >> Open Recent. You will see
Names, locations and a time stamp. This file may give you a clue as to
what is happening. Can you see the 59859472 directory? Can you see the
Family Tree database with the name you have been using before this
problem?

I don't know if any of this helps. I hope so. If not a more detailed
explanation of the problem and which version will help.

Dave

On Thu, Nov 2, 2017 at 5:16 PM, Pierre Parmentier
<[hidden email]> wrote:

> Hello,
>
> I have been working for some months with Gramps without problems ... and
> without a good knowledge of the structure.
>
> But now I am with a folder named '59859472" that contains txt, gbkp and db
> files. When I open Gramps and click on 'Family Trees' I find nothing from my
> previous trees.
>
> I work in a Windows environment.
>
> Found nothing up to now despite my research on the Web and the mailing list!
> For me the explanations on
> https://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_family_tree#I_have_backup_gbkp_files
> are not clearly detailed and lack precision: 'grampsdb' file seems to be
> hidden, how to select a family tree with a particular name? wher is the
> 'repair' button?
>
> Questions:
>
> How to reconstruct the family tree?
> Where do I have to look?
> Can I include the backup files in a new tree?
>
> Thanks for your help.
>
> Pierre P.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
> https://gramps-project.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: gramps - backup problem

enno
In reply to this post by Pierre Parmentier

Hello Pierre,

I have been working for some months with Gramps without problems ... and without a good knowledge of the structure.

But now I am with a folder named '59859472" that contains txt, gbkp and db files. When I open Gramps and click on 'Family Trees' I find nothing from my previous trees.
H'm, a folder like that doesn't normally appear in a visible place. Can you tell me where you found it? Did you find any other folders like this? Have you ever changed the database path in preferences?

Found nothing up to now despite my research on the Web and the mailing list!
For me the explanations on https://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_family_tree#I_have_backup_gbkp_files are not clearly detailed and lack precision: 'grampsdb' file seems to be hidden, how to select a family tree with a particular name? wher is the 'repair' button?
When you look a bit higher on that page, you can see a dialog showing a couple of trees and a repair button. And in general, that button will only be active when Gramps finds files that need repair, so if it's greyed out, you probably don't need it.


Questions:
  1. How to reconstruct the family tree?
It depends on what went wrong, and you haven't told us yet.
  1. Where do I have to look?
It depends. If you haven't changed the database path, you'll find folders like the one you mentioned in a hidden folder named like C:\Users\ennob\AppData\Roaming\gramps\grampsdb where you have to replace my user name (ennob) with the user name you have on Windows. This may be different from the name that you use to log in.

If you have changed paths, the grampsdb folder can be virtually anywhere, and in that case, you need to look where you put it.

  1. Can I include the backup files in a new tree?
If you mean the files in that numbered folder, I strongly recommend against any messing with those. Using any other tools than the ones available in the Family Trees screen is not recommend unless you a database specialist. I never use them myself, and I have never needed to.

If you don't mess with the grampsdb folder, Gramps will normally find all trees that you made, and activate Repair buttons when they are really needed. If you have messed with it, please tell us what you did first.

Thanks,

Enno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: gramps - backup problem

Pierre Parmentier
In reply to this post by Pierre Parmentier
Hello Dave,

I have to thank you a lot for your explanations. I succeeded to restore all my data and to continue to work.

All the steps to follow were explained by you with precision and it worked perfectly.

May I suggest to add this in the Documentation pages or in the Wiki: a list of files and folders to have and the places where to have them plus all the checks to do. Sure it will help.

Precision - Yes I had uploaded the last version (4.2.6) after my problems started.

Best regards.

Pierre





Hi Pierre

I am not sure what your problem is. Is your database corrupted? Can
you not load it?

You say you are on a windows machine. Which version of Gramps are you
running? and did you recently install a newer version?

But lets see if I can offer some help.

Gramps stores the database files in directories that are randomly
named with numbers  and usually letters. Make sure that the parent
directory of this folder (you say 59859472)  is the directory that is
set in Menu >> Edit >> Preferences >> Family Tree tab. This is the
Directory that will open when you click on Menu >> Family Trees >>
Manage Family Trees. If the directory set in preferences is already
the windows directory path of the 59859472 folder then I do not know
why that database remains hidden to gramps (above my pay grade).

But you say you have a backup.

Go to Menu >> Family Trees >> Manage Family Trees and create a new
"Family Tree 1" (the default name). For now, do not rename it so there
will not be any confusion with what you may have named your original
file. Select or load this new database. It will of course be empty.
You can now import your most recent backup file into this new
database.

If you go to the windows directory set as the path for the Gramps
database files, a new folder should have been created. This contains
all of the database files gramps needs for "Family Tree 1". You never
need to access any of these files unless one of the developers directs
you to. But in the folder will be a txt file >> name.txt. This
contains the Name of the family tree database, in this case "Family
Tree 1".

If everything works fine, you can go back to Menu >> Family Trees >>
Manage Family Trees and rename your database. Whether or not you
manually delete the 59859472 directory is up to you. Others may have
ideas to 'recover' it, just make sure that any name that database has
(name.txt) is different than the database you create from the backup.

There is a file in
C:\users\<user>\AppData\roaming\gramps\recent-files-gramps.xml

This lists which files have been loaded since its creation. This list
is what displays in Menu >> Family Trees >> Open Recent. You will see
Names, locations and a time stamp. This file may give you a clue as to
what is happening. Can you see the 59859472 directory? Can you see the
Family Tree database with the name you have been using before this
problem?

I don't know if any of this helps. I hope so. If not a more detailed
explanation of the problem and which version will help.

Dave

On Thu, Nov 2, 2017 at 5:16 PM, Pierre Parmentier
<[hidden email]> wrote:
> Hello,
>[...]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org