Skip to main content

The migration session and its report

GET 

/migrate

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/migrate"

The one migration session: its phase and, once a scan has finished, the report as rows. phase is none before any scan, scanning while a migration_scan job is queued or running, scanned once a report exists and scan_failed when the latest scan did not finish, including when its job was cancelled or dropped before it ran (its scanError says why; the report of an earlier scan, if there was one, is still returned). The rows name and count; they never quote a file's content. getMigrationReport returns the same report as a document. flashDevices lists the disks a scan can read as the Unraid USB stick (startMigrationDeviceScan): a FAT filesystem labelled UNRAID on a disk that is neither the boot disk nor in the array. It is empty, and zipOnly is true, once the session's report was made from a capture that says Unraid booted from an internal device: the Flash Backup zip is then the only source. It is empty, with zipOnly false, when no such disk is attached or this daemon cannot read one. The report's review holds what the Review step shows as data: the disk mapping table, the share preview, the boot mode and the capture's state. It comes from the same scan as the rows, which stay as they are, and is absent from a report made before it existed.

Responses​

The session.