Skip to main content

ExportArchiveData

Exports the row data of an archive to a downloadable ZIP. Omit both --fromUtc and --toUtc to export the whole archive; supply them to export the half-open slice [fromUtc, toUtc).

Examples

Export the whole archive:

octo-cli -c ExportArchiveData `
-tid "mytenant" `
-aid "69fda707d47638c68edc7fea" `
-o "./archive-export.zip"

Export a time slice [fromUtc, toUtc):

octo-cli -c ExportArchiveData `
-tid "mytenant" `
-aid "69fda707d47638c68edc7fea" `
-from "2026-05-11T00:00:00Z" `
-to "2026-05-12T00:00:00Z" `
-o "./archive-slice.zip"

Options

ShortLongRequiredDescription
-tid--tenantIdyesId of tenant
-aid--archiveRtIdyesRuntime id of the CkArchive entity to export
-from--fromUtcnoInclusive lower bound of the exported window, ISO-8601 UTC (e.g. 2026-05-11T14:00:00Z). Omit for whole archive.
-to--toUtcnoExclusive upper bound of the exported window, ISO-8601 UTC (e.g. 2026-05-12T14:00:00Z). Omit for whole archive.
-o--outputyesDestination path of the export (*.zip)