LocalBackupConfiguration
¶
Source code in docs_src/capo_backup/types/local_backup_configuration.py
backup_to_local_vault_only
instance-attribute
¶
backup_to_local_vault_only: NotRequired[Boolean]
If the value is true, Backup stores backups only in the local backup vault of the appliance and doesn't copy them to the target backup vault of the backup rule. The default is false.
delete_after_days
instance-attribute
¶
delete_after_days: Long
The number of days after creation that a backup in the local backup vault is deleted. This retention period applies only to the local backup, not to its copies in other backup vaults.
delete_after_next_backup
instance-attribute
¶
delete_after_next_backup: NotRequired[Boolean]
If the value is true, Backup deletes a backup in the local backup vault only when both of the following are true: a newer backup of the same resource exists in the same local backup vault, and the scheduled copy of the backup to the target backup vault has completed successfully. If BackupToLocalVaultOnly is true, there is no copy, so only the first condition applies. The backup is also deleted when the DeleteAfterDays retention period ends, whichever happens first.
This setting applies only to snapshot backups. Log backups follow the DeleteAfterDays retention period.