Heratio Help Center article. Category: Technical.
Data Migration
Technical Notes
Last Updated: 2026-10-26
Package: ahg-data-migration
- Wizard:
DataMigrationController(upload, map, preview, execute) under/admin/data-migration, behindauthandacl:import. - Upload: CSV/TXT/XLS/XLSX only.
DataMigrationService::normaliseUpload()converts every upload to a UTF-8 comma-separated CSV (chosen Excel sheet; delimiter and encoding detected or chosen), stored understorage/app/data-migration/uploads/. Every later step reads that file by absolute path. - Jobs:
DataMigrationRepository::queueImportJob()writes anatom_migration_jobrow (statuspending,source_file,mapping_snapshot,import_options) and dispatchesAhgDataMigration\Jobs\RunMigrationImporton the default queue. The job has one try and a 1800 s timeout, under the database queue'sretry_after.DataMigrationService::executeImport()claims the row atomically (pendingtoprocessing), so a job runs once. - Writes: one transaction per row; errors go to
error_logwith the row number. New archival descriptions are drafts. - Not implemented: Preservica OPEX/PAX import and export (the routes say so and queue nothing), XML import, source-system presets, digital object attachment.
User documentation: Data Migration - User Guide.