API referenceSections

AccountBackup

AccountBackup object
  • id string required
  • tenant_id string required
  • server_id string required
  • kind string required
    Allowed values: "full" "databases" "incremental"
  • trigger string required
    Allowed values: "manual" "schedule"
  • state string required
    Allowed values: "running" "succeeded" "failed"
  • job_id string required
  • size integer required
  • sha256 string required
  • local boolean required

    A copy is kept on the server

  • remote boolean required

    A copy is in the account's S3 bucket or on its SFTP server

  • remote_target string optional

    Where the remote copy went ('' is S3, from before ADR 0078)

    Allowed values: "" "s3" "sftp"
  • base_id string optional

    The backup an incremental one builds on (ADR 0088)

  • chain_depth integer optional

    0 for a full backup, 1..14 for an incremental one

  • chain_root string optional

    The full backup the chain starts from, when the backup is part of a chain

  • dependents integer optional

    How many backups build on this one

  • snapshot object optional

    How files were read (ADR 0113): vss from a shadow copy, or live; warning is why not, or a cleanup that failed. Absent in older backups.

    • method string required
      Allowed values: "vss" "live"
    • warning string optional
  • upload_error string required
  • error_code string required
  • created_at string (date-time) required
  • finished_at string (date-time) | null required
  • parts array<BackupPart> required

Used by

GET/api/v1/tenants/{tid}/backupsThe account's backups, newest first (ADR 0041)
POST/api/v1/tenants/{tid}/backups 202Start a backup of the account on a server, full or databases only