8,877
edits
Changes
no edit summary
{{languages/de|How to make a backup|Wie erstelle ich eine Sicherung}}
'''How to make a backupWie erstelle ich eine Sicherung''' of your meiner Gramps genealogy databaseGenealogie Datenbank.
{{Out of date|'''TODO''': check if command line uses default options on export, last used options or ignore options not set on command line. Because default options by using Gramps user interface and Exporter enable "privacy filters"...}}
==Gramps Version 3.3 und später==
[[Image:MakeBackup-GrampsXMLBackup-40.png|left|thumb|250px|FigAbb. 1. Backup OptionsSicherungsoptionen]]
{{-}}
Note that this is just a regular XML export, except that no data is filtered out. You can import these as usual with any exported file.
You can also define the pattern for the backup filename by setting the ''paths.quick-backup-filename'' in the ~/.gramps/gramps34gramps40/gramps.ini key file like the following:
[paths]
quick-backup-filename='%(filename)s_%(year)d-%(month)02d-%(day)02d.%(extension)s'
==Gramps Version 3.1.x und später==
===With media filesMit Mediendateien===
Assuming your database is called "My Family Tree", and you want the backup to include external media objects such as images and documents, the recommended method to create a backup is to use the gramps-pkg format:
gramps -O "My Family TreeMein Stammbaum" -e backupsicherung.gpkg
oder
gramps --open="My Family TreeMein Stammbaum" --export=backupsicherung.gpkg
In case of problems, you can add the format of the output to the above command. For a gramps package:
--format=gpkg
--format=gramps-pkg
===Without media filesOhne Mediendateien===
If you don't need to include the media objects in your backup, then you can make use of the [[Gramps XML]] format:
gramps -O "My Family Tree" -e backup.gramps
gramps --open="My Family Tree" --export=backup.gramps