backup_backup_dest_option specifies parameters related to secondary backup.
Description
| Property | Description |
|---|---|
| Parameter type | String |
| Default value | Null string |
| Value range | N/A |
| Effective upon OBServer restart | No |
Parameters available in the backup_backup_dest_option configuration item are a subset of those in backup_dest_option. You cannot specify the backup_copies and log_archive_piece_switch_interval parameters in backup_backup_dest_option.
Example
obclient> ALTER SYSTEM SET backup_backup_dest_option='log_archive_checkpoint_interval=120s&recovery_window=14d&auto_delete_obsolete_backup=true';
In the command:
log_archive_checkpoint_intervalspecifies the interval for performing secondary backup on log backups. If you do not specify this parameter, the value of the cluster-level configuration itemlog_archive_checkpoint_intervalis used. If you do not specify eitherbackup_backup_dest_optionorlog_archive_checkpoint_interval, the default value120sis used. For more information aboutlog_archive_checkpoint_interval, see log_archive_checkpoint_interval.recovery_windowspecifies the retention period of secondary backup data. If you do not specify this parameter, the value of the cluster-level configuration itembackup_recovery_windowis used by default. If you do not specify eitherbackup_backup_dest_optionorbackup_recovery_window, the default value0is used, indicating that secondary backup data will never expire. For more information aboutbackup_recovery_window, see backup_recovery_window.auto_delete_obsolete_backupspecifies whether to automatically delete expired secondary backup data. If you do not specify this parameter, the value of the cluster-level configuration itemauto_delete_expired_backupis used by default. If you do not specify eitherbackup_backup_dest_optionorauto_delete_expired_backup, the default valuefalseis used, indicating that expired secondary backup data will not be automatically deleted. For more information aboutauto_delete_expired_backup, see auto_delete_expired_backup.