View a markdown version of this page

LocalBackupConfiguration - AWS Backup

LocalBackupConfiguration

Specifies how AWS Backup handles backups of resources that you register with a backup appliance. Backups of these resources are stored in the local backup vault of the appliance. By default, AWS Backup then copies each backup to the target backup vault of the backup rule.

Retention that you set here applies only to the backup in the local backup vault. It doesn't apply to copies in other vaults. Local backup vaults don't support cold storage.

Contents

DeleteAfterDays

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.

Type: Long

Required: Yes

BackupToLocalVaultOnly

If the value is true, AWS 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.

Type: Boolean

Required: No

DeleteAfterNextBackup

If the value is true, AWS 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.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: