# Export/Import Data Issue

**URL:** <https://discuss.tryton.org/t/export-import-data-issue/9236>\
**Category:** System Administrator\
**Created:** [May 18, 2026, 4:14pm UTC](https://discuss.tryton.org/t/export-import-data-issue/9236 "2026-05-18T16:14:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kengneghislain](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/k/9de053/32.png) [@kengneghislain](https://discuss.tryton.org/u/kengneghislain)\
**Post date:** [May 18, 2026, 4:14pm UTC](https://discuss.tryton.org/t/export-import-data-issue/9236/1 "2026-05-18T16:14:53Z")

</div>

Hello everyone,

We are currently migrating a GNUHealth/Tryton installation from GNUHealth 3.x (Tryton 5) to GNUHealth 5.x (Tryton 7).

The database contains:

- ~12k patients

- ~3k product templates

- ~4k products

We initially tried a direct Data migration using Proteus scripts, but we encountered multiple compatibility issues between GH3 and GH5, especially concerning:

- product UOM mappings

- category mappings

- model evolution between versions

- import stability for large datasets

We tried different strategy:

1. Export normalized data from GH3 into UTF-8 CSV files

2. Reimport them through Tryton 7 official CSV import mechanisms

But, we also have errors with some fields. The exported model is quite simple.

We would like feedback from the community on:

- recommended practices for large GH3 → GH5 migrations

- whether CSV import is preferred over Proteus for this use case

- best strategy for preserving relations between templates/products/patients

- known pitfalls concerning product.template and product.product migrations

Any advice or existing migration tooling would be greatly appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [May 19, 2026, 10:06am UTC](https://discuss.tryton.org/t/export-import-data-issue/9236/2 "2026-05-19T10:06:27Z")

</div>

> [@kengneghislain](#):
>
> Any advice or existing migration tooling would be greatly appreciated.

Upgrade in place following: [Migration — Tryton Documentation](https://docs.tryton.org/latest/migration.html#index-migration)

And of course try first on database backup and always keep one backup.

And see with GNU Health project how they manage upgrade.
