gramps --open="My Family Tree" --export=backup.gpkg
</div>
This is equivalent to selecting the following menu options: זהה לחלוטין לבחירת אפשרויות התפריט הבאות {{man menu|Family Trees אילנות יוחסין -> Export יצוא -> "GRAMPS package חבלת גרמפס XML(portable XMLאילן יוחסין)" -> "Entire Databaseהכללת כל האנשים שנבחרו"}}
In case of problemsבמקרה של בעיות, you can add the format of the output to the above commandניתן להוסיף את תבנית הפלט לפקודה לעיל. For a gramps packageלחבילת גרמפס:
<div dir="ltr">
--format=gpkg
--format=gramps-pkg
</div>
===ללא קובצי מדיה===
במידה ואין עניין בהכללת פריטי המדיה בגיבוי, ניתן להשתמש בתבנית [[Gramps XML]]: