pub struct ClusterBackupBarmanObjectStoreWal {
pub compression: Option<ClusterBackupBarmanObjectStoreWalCompression>,
pub encryption: Option<ClusterBackupBarmanObjectStoreWalEncryption>,
pub max_parallel: Option<i64>,
}Expand description
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.
Fields§
§compression: Option<ClusterBackupBarmanObjectStoreWalCompression>Compress a WAL file before sending it to the object store. Available options are empty string (no compression, default), gzip, bzip2 or snappy.
encryption: Option<ClusterBackupBarmanObjectStoreWalEncryption>Whenever to force the encryption of files (if the bucket is not already configured for that). Allowed options are empty string (use the bucket policy, default), AES256 and aws:kms
max_parallel: Option<i64>Number of WAL files to be either archived in parallel (when the PostgreSQL instance is archiving to a backup object store) or restored in parallel (when a PostgreSQL standby is fetching WAL files from a recovery object store). If not specified, WAL files will be processed one at a time. It accepts a positive integer as a value - with 1 being the minimum accepted value.
Trait Implementations§
Source§impl Clone for ClusterBackupBarmanObjectStoreWal
impl Clone for ClusterBackupBarmanObjectStoreWal
Source§fn clone(&self) -> ClusterBackupBarmanObjectStoreWal
fn clone(&self) -> ClusterBackupBarmanObjectStoreWal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterBackupBarmanObjectStoreWal
impl Default for ClusterBackupBarmanObjectStoreWal
Source§fn default() -> ClusterBackupBarmanObjectStoreWal
fn default() -> ClusterBackupBarmanObjectStoreWal
Source§impl<'de> Deserialize<'de> for ClusterBackupBarmanObjectStoreWal
impl<'de> Deserialize<'de> for ClusterBackupBarmanObjectStoreWal
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 ClusterBackupBarmanObjectStoreWal
impl JsonSchema for ClusterBackupBarmanObjectStoreWal
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 ClusterBackupBarmanObjectStoreWal
impl RefUnwindSafe for ClusterBackupBarmanObjectStoreWal
impl Send for ClusterBackupBarmanObjectStoreWal
impl Sync for ClusterBackupBarmanObjectStoreWal
impl Unpin for ClusterBackupBarmanObjectStoreWal
impl UnwindSafe for ClusterBackupBarmanObjectStoreWal
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