public interface IBackupRestoreConfig
Modifier and Type | Method and Description |
---|---|
default boolean |
enableV2Backups()
Enable the backup version 2.0 in new format.
|
default boolean |
enableV2Restore()
If restore is enabled and if this flag is enabled, we will try to restore using Backup V2.0.
|
default java.lang.String |
getBackupNotifyComponentIncludeList()
Returns a csv of backup component file types
AbstractBackupPath.BackupFileType on which to send backup
notifications. |
default int |
getBackupTTLMonitorPeriodInSec()
Monitoring period for the service which does TTL of the backups.
|
default java.lang.String |
getBackupVerificationCronExpression()
Cron expression to be used for the service which does verification of the backups.
|
default int |
getBackupVerificationSLOInHours()
The default backup SLO for any cluster.
|
default java.lang.String |
getSnapshotMetaServiceCronExpression()
Cron expression to be used for snapshot meta service.
|
default java.lang.String getSnapshotMetaServiceCronExpression()
default boolean enableV2Backups()
default int getBackupTTLMonitorPeriodInSec()
IConfiguration.getBackupRetentionDays()
. Use -1 to disable this service.
NOTE: This should be scheduled on interval rather than CRON as this results in entire fleet to start deletion of files at the same time and remote file system may get overwhelmed.
default java.lang.String getBackupVerificationCronExpression()
default int getBackupVerificationSLOInHours()
default boolean enableV2Restore()
default java.lang.String getBackupNotifyComponentIncludeList()
AbstractBackupPath.BackupFileType
on which to send backup
notifications. Default value of this filter is an empty string which would imply that backup
notifications will be sent for all component types see AbstractBackupPath.BackupFileType
. Sample filter :
"SNAPSHOT_VERIFIED, META_V2"