# Before GEDCOM7 ZIPs become a common situation

**URL:** <https://gramps.discourse.group/t/before-gedcom7-zips-become-a-common-situation/3771>\
**Category:** Ideas\
**Tags:** gedcom\
**Created:** [July 5, 2023, 2:18am UTC](https://gramps.discourse.group/t/before-gedcom7-zips-become-a-common-situation/3771 "2023-07-05T02:18:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 5, 2023, 2:18am UTC](https://gramps.discourse.group/t/before-gedcom7-zips-become-a-common-situation/3771/1 "2023-07-05T02:18:02Z")

</div>

The project has gained a lot of real-world experience about Media problems in the years since the .gpkg (including Media objects) was implemented.

Generally, using the feature to import a backup for the same computer works pretty well … although there are some surprises.

Before GEDCOM’s new zip with media become common, maybe we should discuss strategies for resolving the issues that will affect importing those too?

* * *
We probably need Import options for:
- GEDCOM ZIPs and .gpkg that allows ‘only media’ or ‘only genealogy tree data’
- harmonization of slash or backslashes to the target OS’es standard
- conversion of absolute paths to a subdirectory of a relative path root
- option to redefine the Relative Media Path (that could be handled in the workflow instead of in code)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 5, 2023, 2:18am UTC](https://gramps.discourse.group/t/before-gedcom7-zips-become-a-common-situation/3771/2 "2023-07-05T02:18:38Z")

</div>

Some issues:

- [0012407](https://gramps-project.org/bugs/view.php?id=12407): Segmented .gpkg archives
- [0012407](https://gramps-project.org/bugs/view.php?id=12407): Segmented .gpkg archives - Gramps - Bugtracker – Free Genealogy…
- [0009667](https://gramps-project.org/bugs/view.php?id=9667): Gramps package import won’t work if media directory already exists…
- [0009232](https://gramps-project.org/bugs/view.php?id=9232): Default base path for relative media paths is inappropriate. - Gramps…
- [0007156](https://gramps-project.org/bugs/view.php?id=7156): Gramps package import won’t work if media directory already exists -…

> [@Import/convert old database](https://gramps.discourse.group/t/import-convert-old-database/3768/4):
>
> Note that the final output of recovering a database file is normally a.gramps or .gpkg file. Then you can import that into a new, blank tree. It is important to note that the database only has filename & path pointers (some may be relative, some may be absolute, some may be internet URLs)… the database does NOT store the actual media objects. So your recovery process must include restoring the recovered file to the original machine. Then you can [make a backup](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Manage_Family_Trees#Backing_up_a_Family_Tree) INCLUDING media. This backup file…

> [@Since Gramps Web does not support importing gpkg file, how to import media files?](https://gramps.discourse.group/t/since-gramps-web-does-not-support-importing-gpkg-file-how-to-import-media-files/3593):
>
> Hi, I did used for a long time the portable version of Gramps. I paused for a couple of years and now I want to start where I left. My setup is a raspberry pi 4 with 8GB RAM on which I have a NFS share from my NAS. I wanted to try the new GrampsJS interface and so made the execution as described on the documents (Deployment \> Docker). I’m using the proposed docker-compose.yml file (though I changed the port 80 to keep 5000). The execution was perfect. My only issue is that the import only su…
