diff --git a/lib/BackRest/Config.pm b/lib/BackRest/Config.pm index 25e67e371..92d1615d3 100644 --- a/lib/BackRest/Config.pm +++ b/lib/BackRest/Config.pm @@ -77,7 +77,7 @@ use constant CONFIG_SECTION_LOG => 'log', CONFIG_SECTION_RESTORE_RECOVERY_SETTING => 'restore:recovery-setting', CONFIG_SECTION_RESTORE_TABLESPACE_MAP => 'restore:tablespace-map', - CONFIG_SECTION_RETENTION => 'retention', + CONFIG_SECTION_EXPIRE => 'expire', CONFIG_SECTION_STANZA => 'stanza' }; @@ -85,7 +85,7 @@ push @EXPORT, qw(CONFIG_GLOBAL CONFIG_SECTION_ARCHIVE CONFIG_SECTION_BACKUP CONFIG_SECTION_COMMAND CONFIG_SECTION_GENERAL CONFIG_SECTION_LOG CONFIG_SECTION_RESTORE_RECOVERY_SETTING - CONFIG_SECTION_RETENTION CONFIG_SECTION_STANZA CONFIG_SECTION_RESTORE_TABLESPACE_MAP); + CONFIG_SECTION_EXPIRE CONFIG_SECTION_STANZA CONFIG_SECTION_RESTORE_TABLESPACE_MAP); #################################################################################################################################### # Option constants @@ -807,7 +807,7 @@ my %oOptionRule = { &OPTION_RULE_TYPE => OPTION_TYPE_INTEGER, &OPTION_RULE_REQUIRED => false, - &OPTION_RULE_SECTION => CONFIG_SECTION_RETENTION, + &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_RETENTION_MIN, OPTION_DEFAULT_RETENTION_MAX], &OPTION_RULE_OPERATION => { @@ -821,7 +821,7 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_REQUIRED => true, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RETENTION_ARCHIVE_TYPE, - &OPTION_RULE_SECTION => CONFIG_SECTION_RETENTION, + &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_OPERATION => { &OP_BACKUP => true, @@ -843,7 +843,7 @@ my %oOptionRule = { &OPTION_RULE_TYPE => OPTION_TYPE_INTEGER, &OPTION_RULE_REQUIRED => false, - &OPTION_RULE_SECTION => CONFIG_SECTION_RETENTION, + &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_RETENTION_MIN, OPTION_DEFAULT_RETENTION_MAX], &OPTION_RULE_OPERATION => { @@ -856,7 +856,7 @@ my %oOptionRule = { &OPTION_RULE_TYPE => OPTION_TYPE_INTEGER, &OPTION_RULE_REQUIRED => false, - &OPTION_RULE_SECTION => CONFIG_SECTION_RETENTION, + &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_RETENTION_MIN, OPTION_DEFAULT_RETENTION_MAX], &OPTION_RULE_OPERATION => {