pub struct ClusterBackupBarmanObjectStore {
pub azure_credentials: Option<ClusterBackupBarmanObjectStoreAzureCredentials>,
pub data: Option<ClusterBackupBarmanObjectStoreData>,
pub destination_path: String,
pub endpoint_ca: Option<ClusterBackupBarmanObjectStoreEndpointCa>,
pub endpoint_url: Option<String>,
pub google_credentials: Option<ClusterBackupBarmanObjectStoreGoogleCredentials>,
pub history_tags: Option<BTreeMap<String, String>>,
pub s3_credentials: Option<ClusterBackupBarmanObjectStoreS3Credentials>,
pub server_name: Option<String>,
pub tags: Option<BTreeMap<String, String>>,
pub wal: Option<ClusterBackupBarmanObjectStoreWal>,
}
Expand description
The configuration for the barman-cloud tool suite
Fields§
§azure_credentials: Option<ClusterBackupBarmanObjectStoreAzureCredentials>
The credentials to use to upload data to Azure Blob Storage
data: Option<ClusterBackupBarmanObjectStoreData>
The configuration to be used to backup the data files When not defined, base backups files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy.
destination_path: String
The path where to store the backup (i.e. s3://bucket/path/to/folder) this path, with different destination folders, will be used for WALs and for data
endpoint_ca: Option<ClusterBackupBarmanObjectStoreEndpointCa>
EndpointCA store the CA bundle of the barman endpoint. Useful when using self-signed certificates to avoid errors with certificate issuer and barman-cloud-wal-archive
endpoint_url: Option<String>
Endpoint to be used to upload data to the cloud, overriding the automatic endpoint discovery
google_credentials: Option<ClusterBackupBarmanObjectStoreGoogleCredentials>
The credentials to use to upload data to Google Cloud Storage
HistoryTags is a list of key value pairs that will be passed to the Barman –history-tags option.
s3_credentials: Option<ClusterBackupBarmanObjectStoreS3Credentials>
The credentials to use to upload data to S3
server_name: Option<String>
The server name on S3, the cluster name is used if this parameter is omitted
Tags is a list of key value pairs that will be passed to the Barman –tags option.
wal: Option<ClusterBackupBarmanObjectStoreWal>
The configuration for the backup of the WAL stream. When not defined, WAL files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy.
Trait Implementations§
Source§impl Clone for ClusterBackupBarmanObjectStore
impl Clone for ClusterBackupBarmanObjectStore
Source§fn clone(&self) -> ClusterBackupBarmanObjectStore
fn clone(&self) -> ClusterBackupBarmanObjectStore
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ClusterBackupBarmanObjectStore
impl Default for ClusterBackupBarmanObjectStore
Source§fn default() -> ClusterBackupBarmanObjectStore
fn default() -> ClusterBackupBarmanObjectStore
Source§impl<'de> Deserialize<'de> for ClusterBackupBarmanObjectStore
impl<'de> Deserialize<'de> for ClusterBackupBarmanObjectStore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ClusterBackupBarmanObjectStore
impl JsonSchema for ClusterBackupBarmanObjectStore
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterBackupBarmanObjectStore
impl RefUnwindSafe for ClusterBackupBarmanObjectStore
impl Send for ClusterBackupBarmanObjectStore
impl Sync for ClusterBackupBarmanObjectStore
impl Unpin for ClusterBackupBarmanObjectStore
impl UnwindSafe for ClusterBackupBarmanObjectStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more