gramps --open="My Family Tree" --output=backup.gramps --format=gramps-xml
</div>
This is equivalent to selecting the following menu options זהה לחלוטין לבחירת אפשרויות התפריט הבאות {{man menu|Family Trees אילנות יוחסין -> Export יצוא -> "Gramps חבלת גרמפס XML database(אילן יוחסין)" -> "Entire Databaseהכללת כל האנשים שנבחרו"}}
The בעמוד [[Generate XML]] page has further information on what can be done with the קיים מידע נוסף על כל מה שניתן לבצע עם קובצי '''.gramps files'''.
==גרמפס גרסה 2.2.x==
===ללא קובצי מדיה===
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 ממסד נתונים שנקרא "<code>MyFamilyTree.grdb</code>":
<div dir="ltr">
gramps -O MyFamilyTree.grdb -o backup.gramps -f gramps-xml
{{man warn|יצוא GEDCOM|לתשומת לב, לא מומלץ להשתמש ב-GEDCOM לביצוע גיבוי בגלל צורת תבנות הנתונים [[Gramps_and_GEDCOM|בתבנות 'רופף' (lossy)]].}}
There are times you may need to export your data to לעיתים יעלה הצורך לייצוא נתוני אילן היוחסים לקובץ מסוג- GEDCOM. This command will attempt to export your database as a פקודה זו תנסה לייצא את מסד הנתונים כקובץ GEDCOM file:
<div dir="ltr">
gramps --open="My Family Tree" --output=export.ged --format=gedcom
{{grampsmanualcopyright}}
[[Category:How do I...|HE:גיבוי]]