Import

Last modified 11 Mar 2024 12:39 +01:00

Import command allow users to import objects to midPoint. Objects can be read from SYSOUT or file (-i, --input) and uncompressed using ZIP if needed (-z, --zip). Import also support multi-threading (-l, --multi-thread). Use -O, --overwrite switch if you wish to overwrite existing objects in midPoint. Object read from input (file or sysout) can be filtered in several ways:

  • by oid (--oid)

  • by type (-t, --type) and filter (-f, --filter)

Example of import from XML file using 4 threads with raw and overwrite option
./bin/ninja.sh import -O -i midpoint/samples/objects/user-ceresnickova.xml -l 4 -r
Was this page helpful?
YES NO
Thanks for your feedback