Gramps version: 5.1.5 - OS: Linux Mint 21.2 with Mate 1.26.0
When I create a backup of my Gramps database I get the backup file where I have directed:
Brown Family_2023-11-24.gramps 16.1 kb Gramps XML database
But I also get a file in my user home folder:
Brown Family-2023-11-21-14-21-20.gramps 16.1 k Gramps XML database
I used the Linux “Meld” app to compare the two file, they are not the same. I have used the first file to import the database to a different computer, seems to work fine.
Why the 2nd file? Is this a bug or a feature?
Should I save the 2nd file are can I delete all of them?
Can I use the 2nd file as a database import? If so does it give me something more or less then the 1st file?
The 2nd file is an automatic backup, made when you close Gramps, and it knows that the file was changed.
Backup files are compressed in Gzip format, and the archive stores the timestamp of the uncompressed file, which is the actual Gramps XML. The actual XML files are most likely identical, because they only contain the export or backup date, no time.
Yes it does. I see no automatic back-up when I don’t make changes.
There is a problem in 5.1 though, when I make changes, and then load another tree. In that case, it will not make a backup on exit when I don’ make a change in that other tree, and it won’t backup the 1st, because I didn’t exit Gramps when I switched.
In other words, backup on exit is exactly what it is, on exit, not on close.