API referenceSections

BackupSettingsInput

BackupSettingsInput object
  • s3_endpoint string optional
  • s3_region string optional
  • s3_bucket string optional
  • s3_prefix string optional
  • s3_path_style boolean optional
  • s3_access_key string optional
  • s3_secret_key string optional

    Write only; empty keeps the stored one

  • sftp_host string optional

    SFTP instead of S3 (ADR 0078); empty turns SFTP off

  • sftp_port integer optional
  • sftp_user string optional
  • sftp_dir string optional
  • sftp_host_key string optional

    Required: SHA256:… fingerprint of the server's host key

  • sftp_password string optional

    Write only; empty keeps the stored login

  • sftp_private_key string optional

    Write only, PEM; instead of a password

  • schedule string required
    Allowed values: "off" "daily" "weekly"
  • schedule_kind string required
    Allowed values: "full" "databases" "incremental"
  • schedule_hour integer optional
  • full_every_days integer optional

    1 to 60; 0 or missing is 7

  • schedule_server string optional
  • keep_local integer required
  • keep_remote integer required

Used by

PUT/api/v1/tenants/{tid}/backup-settingsChange the S3 target (an empty secret keeps the old one), schedule and how many to keep