mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Changed retention section to expire.
This commit is contained in:
parent
58d6c37f4a
commit
a3604bc512
@ -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 =>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user