Class: Aws::Backup::Types::LocalBackupConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

Specifies how 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, 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_to_local_vault_only ⇒ 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.

Returns:

  • (Boolean)


8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8444

class LocalBackupConfiguration < Struct.new(
  :backup_to_local_vault_only,
  :delete_after_days,
  :delete_after_next_backup)
  SENSITIVE = []
  include Aws::Structure
end

#delete_after_days ⇒ Integer

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.

Returns:

  • (Integer)


8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8444

class LocalBackupConfiguration < Struct.new(
  :backup_to_local_vault_only,
  :delete_after_days,
  :delete_after_next_backup)
  SENSITIVE = []
  include Aws::Structure
end

#delete_after_next_backup ⇒ 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.

Returns:

  • (Boolean)


8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8444

class LocalBackupConfiguration < Struct.new(
  :backup_to_local_vault_only,
  :delete_after_days,
  :delete_after_next_backup)
  SENSITIVE = []
  include Aws::Structure
end