pub struct ClusterExternalClustersBarmanObjectStoreWal {
pub compression: Option<ClusterExternalClustersBarmanObjectStoreWalCompression>,
pub encryption: Option<ClusterExternalClustersBarmanObjectStoreWalEncryption>,
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<ClusterExternalClustersBarmanObjectStoreWalCompression>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<ClusterExternalClustersBarmanObjectStoreWalEncryption>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 ClusterExternalClustersBarmanObjectStoreWal
impl Clone for ClusterExternalClustersBarmanObjectStoreWal
source§fn clone(&self) -> ClusterExternalClustersBarmanObjectStoreWal
fn clone(&self) -> ClusterExternalClustersBarmanObjectStoreWal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ClusterExternalClustersBarmanObjectStoreWal
impl Default for ClusterExternalClustersBarmanObjectStoreWal
source§fn default() -> ClusterExternalClustersBarmanObjectStoreWal
fn default() -> ClusterExternalClustersBarmanObjectStoreWal
source§impl<'de> Deserialize<'de> for ClusterExternalClustersBarmanObjectStoreWal
impl<'de> Deserialize<'de> for ClusterExternalClustersBarmanObjectStoreWal
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 ClusterExternalClustersBarmanObjectStoreWal
impl JsonSchema for ClusterExternalClustersBarmanObjectStoreWal
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more