Difference between revisions of "De:Wie erstelle ich eine Sicherung"
Leonhaeuser (talk | contribs) m (Leonhaeuser moved page Wie erstelle ich eine Sicherung to De:Wie erstelle ich eine Sicherung: forgot prefix) |
Leonhaeuser (talk | contribs) |
||
Line 3: | Line 3: | ||
{{languages/de|How to make a backup|Wie erstelle ich eine Sicherung}} | {{languages/de|How to make a backup|Wie erstelle ich eine Sicherung}} | ||
− | ''' | + | '''Wie erstelle ich eine Sicherung''' meiner Gramps Genealogie 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"...}} | {{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"...}} | ||
Line 9: | Line 9: | ||
==Gramps Version 3.3 und später== | ==Gramps Version 3.3 und später== | ||
− | + | Wähle einfach "Sicherung erstellen..." aus dem Untermenü "Stammbaum" in der Menüleiste. | |
− | [[Image:MakeBackup-GrampsXMLBackup-40.png|left|thumb|250px| | + | [[Image:MakeBackup-GrampsXMLBackup-40.png|left|thumb|250px|Abb. 1. Sicherungsoptionen]] |
{{-}} | {{-}} | ||
Line 21: | Line 21: | ||
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. | 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/ | + | You can also define the pattern for the backup filename by setting the ''paths.quick-backup-filename'' in the ~/.gramps/gramps40/gramps.ini key file like the following: |
[paths] | [paths] | ||
quick-backup-filename='%(filename)s_%(year)d-%(month)02d-%(day)02d.%(extension)s' | quick-backup-filename='%(filename)s_%(year)d-%(month)02d-%(day)02d.%(extension)s' | ||
− | + | Du kannst jedes der folgenden Schlüsselwörter in der Vorlage verwenden: year(Jahr), month(Monat), day(Tag), hour(Stunde), minutes(Minuten), seconds(Sekunden), filename(Dateiname), extension(Erweiterung). | |
− | + | Für Version 3.3 solltest du entsprechen die ~/.gramps/gramps33/gramps.ini Schlüsseldatei verwenden. | |
==Gramps Version 3.1.x und später== | ==Gramps Version 3.1.x und später== | ||
− | === | + | ===Mit 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: | 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 " | + | gramps -O "Mein Stammbaum" -e sicherung.gpkg |
oder | oder | ||
− | gramps --open=" | + | gramps --open="Mein Stammbaum" --export=sicherung.gpkg |
− | + | Dies entspricht der Auswahl folgender Menüoptionen: | |
− | + | Stammbäume -> Export -> "GRAMPS package (portable XML)" -> "Gesamte Datenbank". | |
In case of problems, you can add the format of the output to the above command. For a gramps package: | In case of problems, you can add the format of the output to the above command. For a gramps package: | ||
--format=gpkg | --format=gpkg | ||
− | + | oder | |
--format=gramps-pkg | --format=gramps-pkg | ||
− | === | + | ===Ohne Mediendateien=== |
If you don't need to include the media objects in your backup, then you can make use of the [[Gramps XML]] format: | 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 -O "My Family Tree" -e backup.gramps | ||
− | + | oder | |
gramps --open="My Family Tree" --export=backup.gramps | gramps --open="My Family Tree" --export=backup.gramps |
Revision as of 13:18, 4 February 2014
Spezielle Copyright Notiz: Alle Änderungen auf dieser Seite müssen unter zwei copyright Lizenzen stehen:
Diese Lizenzen ermöglichen es dem Gramps-Projekt die bestmögliche Verwendung dieses Handbuchs als freien Inhalt in zukünftigen Gramps Versionen. Wenn du mit dieser dual Lizenzierung nicht einverstanden bist, bearbeite diese Seite nicht. Du darfst zu anderen Seiten des Wiki die nur unter die GFDL Lizenz fallen nur über externe Links (verwende die Syntax: [http://www.gramps-project.org/...]), nicht über interne Links verlinken. |
Wie erstelle ich eine Sicherung meiner Gramps Genealogie Datenbank.
This page's factual accuracy may be compromised due to out-of-date information. Please help improve the Gramps Wiki as a useful resource by updating it. |
Contents
Gramps Version 3.3 und später
Wähle einfach "Sicherung erstellen..." aus dem Untermenü "Stammbaum" in der Menüleiste.
You can enter the path where the backup should be stored. You can enter a file name.
You can either choose to include the media or not.
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/gramps40/gramps.ini key file like the following:
[paths] quick-backup-filename='%(filename)s_%(year)d-%(month)02d-%(day)02d.%(extension)s'
Du kannst jedes der folgenden Schlüsselwörter in der Vorlage verwenden: year(Jahr), month(Monat), day(Tag), hour(Stunde), minutes(Minuten), seconds(Sekunden), filename(Dateiname), extension(Erweiterung).
Für Version 3.3 solltest du entsprechen die ~/.gramps/gramps33/gramps.ini Schlüsseldatei verwenden.
Gramps Version 3.1.x und später
Mit 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 "Mein Stammbaum" -e sicherung.gpkg
oder
gramps --open="Mein Stammbaum" --export=sicherung.gpkg
Dies entspricht der Auswahl folgender Menüoptionen:
Stammbäume -> Export -> "GRAMPS package (portable XML)" -> "Gesamte Datenbank".
In case of problems, you can add the format of the output to the above command. For a gramps package:
--format=gpkg
oder
--format=gramps-pkg
Ohne 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
oder
gramps --open="My Family Tree" --export=backup.gramps
This is equivalent to selecting the following menu options:
Family Trees -> Export -> "Gramps XML database" -> "Entire Database".
The Generate XML page has further information on what can be done with the .gramps files.
Gramps Version 3.0.x
With media files
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 Tree" --output=backup.gpkg --format=gramps-pkg
This is equivalent to selecting the following menu options:
Family Trees -> Export -> "GRAMPS package (portable XML)" -> "Entire Database".
Without media files
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 Tree" --output=backup.gramps --format=gramps-xml
This is equivalent to selecting the following menu options:
Family Trees -> Export -> "Gramps XML database" -> "Entire Database".
The Generate XML page has further information on what can be done with the .gramps files.
Gramps Version 2.2.x
Without media files
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":
gramps -O MyFamilyTree.grdb -o backup.gramps -f gramps-xml
GEDCOM Export
GEDCOM Export Please note that GEDCOM is not recommended for backups since it is a lossy format. |
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