API referenceSections

BackupSettings

BackupSettings object
  • tenant_id string required
  • s3_endpoint string required
  • s3_region string required
  • s3_bucket string required
  • s3_prefix string required
  • s3_path_style boolean required
  • s3_access_key string required
  • s3_configured boolean required
  • sftp_host string optional
  • sftp_port integer optional
  • sftp_user string optional
  • sftp_dir string optional
  • sftp_host_key string optional

    The SFTP server's key fingerprint, SHA256:… as ssh-keygen -l prints it

  • sftp_auth string optional
    Allowed values: "" "password" "key"
  • sftp_configured boolean optional
  • cloud_provider string optional

    Connected cloud account (ADR 0100)

    Allowed values: "" "gdrive" "onedrive" "dropbox"
  • cloud_folder string optional
  • cloud_account string optional

    The account's email or name as the service gave it

  • cloud_connected_at string (date-time) | null optional
  • cloud_configured boolean optional
  • cloud_offered array<string> optional

    Services the provider set up

    Allowed values: "gdrive" "onedrive" "dropbox"
  • schedule string required
    Allowed values: "off" "daily" "weekly"
  • schedule_kind string required
    Allowed values: "full" "databases" "incremental"
  • schedule_hour integer required

    UTC hour

  • full_every_days integer optional

    With schedule_kind incremental: a full backup starts a new chain once the chain's full backup is this many days old

  • schedule_server string required
  • keep_local integer required
  • keep_remote integer required
  • last_scheduled_at string (date-time) | null optional
  • updated_at string (date-time) optional

Used by

GET/api/v1/tenants/{tid}/backup-settingsThe account's S3 target, schedule and retention; secrets are never returned
PUT/api/v1/tenants/{tid}/backup-settingsChange the S3 target (an empty secret keeps the old one), schedule and how many to keep