.. include:: /Includes.rst.txt .. _feature-1791053717: ======================================================== Feature: Run the import from Horilla in resumable stages ======================================================== Description =========== The import runs in stages. ``app:migration:horilla:import `` runs one stage once the stages it depends on completed without errors; ``app:migration:horilla:run-all`` runs all of them in dependency order and stops after a stage with errors unless ``--continue`` is given. Each stage commits in batches (``--batch-size``) and continues after the last committed batch when it was interrupted. A second run creates nothing that was already imported, updates only rows that changed in Horilla, and leaves a record alone that was changed in adsum since (``changedInBothSystems``). With ``--dry-run`` nothing is written but the run and its issues. Every run writes a report to ``MIGRATION_REPORT_DIR`` with the count per outcome and skip rule and one line per issue, without field values. Writes are audited with the source ``migration``. Impact ====== Only with ``MIGRATION_ENABLED=1``. The stages themselves follow. .. index:: CLI, package:adsum-migration