11,039
edits
Changes
no edit summary
{{-}}
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.
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 TreeMein Stammbaum" -e backup.gramps
oder
gramps --open="My Family TreeMein Stammbaum" --export=backup.gramps
The [[Generate XML]] page has further information on what can be done with the .gramps files.
==Gramps Version 3.0.x==
===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 --open="My Family TreeMein Stammbaum" --output=backup.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 --open="My Family TreeMein Stammbaum" --output=backup.gramps --format=gramps-xml
The [[Generate XML]] page has further information on what can be done with the .gramps files.
==Gramps Version 2.2.x==
===Without media filesOhne Mediendateien===
The gramps-xml data format will produce a backup of your data excluding any media objects, such as external images and documents. The following example shows how to create a gramps-xml file from a database called "MyFamilyTree.grdb":
==GEDCOM Export==
{{man warn|GEDCOM Export|Please note that Bitte beachte das GEDCOM is not recommended for backups since it is a nicht für Sicherungen empfohlen wird, da es [[Gramps_and_GEDCOM|lossy formatverlustbehaftetes Format]]ist.}}
But there are times you may need to export your data to GEDCOM. This command will attempt to export your database as a GEDCOM file:
gramps --open="My Family Tree" --output=export.ged --format=gedcom
[[Category:DE:How do I...|BackupSicherung]]