archiveRecovery
Purpose and behavior
Section titled “Purpose and behavior”Upload a verified snapshot of a local recovery transfer in 4 MiB chunks, publish its manifest last and return the manifest reference. The source directory is kept. An interrupted upload can leave unreferenced chunks but never publishes a manifest.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsRequiredRecoveryArchiveOptionsVerified local recovery transfer, destination transport and total payload bound.options.directoryRequiredstringExisting recovery transfer containing state.json, checksums.json and all required patches, bundles and extra files.options.maxBytesOptionalnumber | undefinedTotal payload bound, default 1 GiB; applies to the local snapshot and to the upload.options.transporterRequiredTransportCaller-owned object transport used by the store or operation. Closing a workflow or sandbox does not close this transport.observationOptionalObservationHub | undefinedHub that receives the start and end events of the archive upload.