He:איך לבצע גיבוי

From Gramps
Revision as of 08:42, 15 May 2021 by Avma (talk | contribs) (Undo revision 83926 by Avma (talk))
Jump to: navigation, search
סרגל תפריט - אילנות יוחסין > יצירת גיבוי..."

כללי

גיבוי בטכנולוגיית המידע משמעותו יצירת עותקים (גיבויים) של נתונים כך שאלו יכולים לשמש לשחזור המידע המקורי לאחר אירוע (פיזי או לוגי) הגורם לאובדן הנתונים המקוריים מאמצעי לאחסון נתונים בו הם הוחזקו. גיבויים אלו משמשים בעיקר לשתי מטרות:

  • שחזור מידע בעקבות אסון (התאוששות מאסון)
  • שחזור מידע שנמחק או הושחת. לרוב יהיו הגיבויים קו ההגנה האחרון כנגד איבוד נתונים וזאת מכיוון שהם השיטה הכי פחות נוחה והכי פחות ממוקדת להתגברות על אובדן כזה.

בסעיפים שלהלן ננסה להסביר בפשטות כיצד לגבות את אילן היוחסין ומסד נתוני גרמפס.

גרמפס גרסה 3.3 ואילך

מהתפריט נא לבחור באפשרות אילן יוחסין > ביצוע גיבוי..."

החלון הבא יופיע גיבוי גרמפס XML.

אפשרויות גיבוי

ניתן להזין באופן ידני את הנתיב שבו מעוניינים לאחסן את הגיבוי, או באמצעות לחצן בורר הנתיב. ניתן להזין שם קובץ באופן ידני או להשתמש בשם הקובץ שנוצר באופן אוטומטי. ניתן לבחור בין הכללה או החרגה של קובצי המדיה:.

Gramps-notes.png
הערה

זהו ייצוא XML רגיל, ללא סינון נתונים כלל . ניתן לייבא נתונים אלו כרגיל כמו כל קובץ יצוא.

גרסאות גרמפס 3.1.x עד 3.2.x

עם קובצי מדיה

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 Tree" -e backup.gpkg

או

gramps --open="My Family Tree" --export=backup.gpkg

This is equivalent to selecting the following menu options: Family Trees -> Export -> "GRAMPS package (portable XML)" -> "Entire Database"

In case of problems, you can add the format of the output to the above command. For a gramps package:

--format=gpkg

or

--format=gramps-pkg

ללא קובצי מדיה

במידה ואין עניין בהכללת פריטי המדיה בגיבוי, ניתן להשתמש בתבנית Gramps XML:

gramps -O "My Family Tree" -e backup.gramps 

או

gramps --open="My Family Tree" --export=backup.gramps 

זהה לחלוטין לבחירת אפשרויות התפריט הבאות אילן יוחסין -> ייצוא -> "מסד נתוני גרמפס XML" -> "כל מסד הנתונים"

ניתן למצוא מידע נוסף בעמוד Generate XML על כל מה שניתן לעשות עם קובץ .gramps

גרמפס גרסה 3.0.x

עם קובצי מדיה

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"

ללא קובצי מדיה

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.

גרמפס גרסה 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 "MyFamilyTree.grdb":

gramps -O MyFamilyTree.grdb -o backup.gramps -f gramps-xml

יצוא GEDCOM

Gnome-important.png
יצוא GEDCOM

לתשומת לב, לא מומלץ להשתמש ב-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:

gramps --open="My Family Tree" --output=export.ged --format=gedcom

ראו גם

Gnome-important.png Special copyright notice: All edits to this page need to be under two different copyright licenses:

These licenses allow the Gramps project to maximally use this wiki manual as free content in future Gramps versions. If you do not agree with this dual license, then do not edit this page. You may only link to other pages within the wiki which fall only under the GFDL license via external links (using the syntax: [https://www.gramps-project.org/...]), not via internal links.
Also, only use the known Typographical conventions