Skip to main content
POST
Export the filesystem changes to a presigned URL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Export options

async
boolean

Async starts the export and answers immediately, leaving it to run: an archive of a large filesystem takes longer than a request may be held open. Its progress is reported by /archive/status.

Example:

false

dryRun
boolean

DryRun reports what would be archived, and its exact size, without stopping anything and without uploading.

Example:

false

excludes
string[]

Excludes are added to the paths excluded by default.

headers
object

Headers are sent with the upload request as given. A presigned URL only accepts the headers it was signed for, so these have to match what the caller signed: sending one that was not signed, or signing one that is not sent, is rejected as a signature mismatch. Typical use is a storage class, x-amz-storage-class: GLACIER_IR.

imageDevice
string

ImageDevice is the device holding the pristine image, /dev/vda by default. A generation that attaches the image elsewhere names its device here.

Example:

"/dev/vda"

imageMountPoint
string

ImageMountPoint is a directory where the pristine image is already mounted. When set the image device is neither mounted nor unmounted.

Example:

"/mnt/lower"

multipart
object

Multipart uploads the archive part by part instead, which is how an archive larger than the 5 GB a single PUT accepts is stored. It takes precedence over URL.

saveProcesses
boolean

SaveProcesses stores the process list in the archive so restore can relaunch the workload. Defaults to true; set it to false to archive storage only.

Example:

true

stopTimeoutSeconds
integer

StopTimeoutSeconds bounds the graceful stop of each process.

Example:

30

url
string

URL is a presigned S3 PUT URL the archive is streamed to. Empty is only valid with DryRun, or with Multipart.

Example:

"https://bucket.s3.amazonaws.com/key?..."

Response

Export result

manifest
object
required
changes
object[]

Changes lists every path in the archive. Only filled for a dry run, where it is the point of the call.

duration
string
Example:

"4.2s"

size
integer

Size is the exact number of bytes uploaded, known before the upload starts since the archive is not compressed.

Example:

3074211

stoppedProcesses
string[]

StoppedProcesses are the processes stopped to freeze the filesystem.

uploaded
boolean

Uploaded is false for a dry run.

Example:

true

Last modified on August 26, 2026