pub struct DatabaseBackupConfig {
pub active: Option<bool>,
pub interval: Option<String>,
pub backup_interval: Option<String>,
pub time_utc: Option<String>,
pub database_backup_time_utc: Option<String>,
pub storage_type: Option<String>,
pub backup_storage_type: Option<String>,
pub storage_path: Option<String>,
pub extra: Value,
}
Expand description
Optional. Changes Remote backup configuration details.
Fields§
§active: Option<bool>
Optional. Determine if backup should be active. Default: null
interval: Option<String>
Required when active is ‘true’. Defines the interval between backups. Format: ‘every-x-hours’, where x is one of 24, 12, 6, 4, 2, or 1. Example: “every-4-hours”
backup_interval: Option<String>
§time_utc: Option<String>
Optional. Hour when the backup starts. Available only for “every-12-hours” and “every-24-hours” backup intervals. Specified as an hour in 24-hour UTC time. Example: “14:00” is 2 PM UTC.
database_backup_time_utc: Option<String>
§storage_type: Option<String>
Required when active is ‘true’. Type of storage to host backup files. Can be “aws-s3”, “google-blob-storage”, “azure-blob-storage”, or “ftp”. See Set up backup storage locations to learn how to set up backup storage locations.
backup_storage_type: Option<String>
§storage_path: Option<String>
Required when active is ‘true’. Path to the backup storage location.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for DatabaseBackupConfig
impl Clone for DatabaseBackupConfig
Source§fn clone(&self) -> DatabaseBackupConfig
fn clone(&self) -> DatabaseBackupConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more