BackupSettings
BackupSettings objecttenant_idstring requireds3_endpointstring requireds3_regionstring requireds3_bucketstring requireds3_prefixstring requireds3_path_styleboolean requireds3_access_keystring requireds3_configuredboolean requiredsftp_hoststring optionalsftp_portinteger optionalsftp_userstring optionalsftp_dirstring optionalsftp_host_keystring optionalThe SFTP server's key fingerprint, SHA256:… as ssh-keygen -l prints it
sftp_authstring optionalAllowed values:"""password""key"sftp_configuredboolean optionalcloud_providerstring optionalConnected cloud account (ADR 0100)
Allowed values:"""gdrive""onedrive""dropbox"cloud_folderstring optionalcloud_accountstring optionalThe account's email or name as the service gave it
cloud_connected_atstring (date-time) | null optionalcloud_configuredboolean optionalcloud_offeredarray<string> optionalServices the provider set up
Allowed values:"gdrive""onedrive""dropbox"schedulestring requiredAllowed values:"off""daily""weekly"schedule_kindstring requiredAllowed values:"full""databases""incremental"schedule_hourinteger requiredUTC hour
full_every_daysinteger optionalWith schedule_kind incremental: a full backup starts a new chain once the chain's full backup is this many days old
schedule_serverstring requiredkeep_localinteger requiredkeep_remoteinteger requiredlast_scheduled_atstring (date-time) | null optionalupdated_atstring (date-time) optional
Used by
| GET | /api/v1/tenants/{tid}/backup-settings | The account's S3 target, schedule and retention; secrets are never returned |
| PUT | /api/v1/tenants/{tid}/backup-settings | Change the S3 target (an empty secret keeps the old one), schedule and how many to keep |