Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some additional documentation about record ownership during import #29

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doc/import-export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ Figure out the Team ID by looking at the Team from the Sysconfig panel, where th
# import in team 42, force everything to be of type "Resources" with category "6"
docker exec -it elabftw bin/console import:eln --type items --category 6 your.eln 42

By default (if no ``--userid`` setting is provided), the ownership of the items will be
determined by comparing the email addresses of users between the export and import
servers. This allows for simple migration of data from one eLabFTW instance to another,
even if users have differing ``userid`` values on the two instances. If the user that owns
an item in the exported data is not present on the destination (import) instance, the
import process will create users as necessary.


.. _csvimport:

Expand Down
Loading