Skip to content

Update Continuous Backups

dynamodb_update_continuous_backups R Documentation

UpdateContinuousBackups enables or disables point in time recovery for the specified table

Description

update_continuous_backups enables or disables point in time recovery for the specified table. A successful update_continuous_backups call returns the current ContinuousBackupsDescription. Continuous backups are ENABLED on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

Once continuous backups and point in time recovery are enabled, you can restore to any point in time within EarliestRestorableDateTime and LatestRestorableDateTime.

LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point in time during the last 35 days.

Usage

dynamodb_update_continuous_backups(TableName,
  PointInTimeRecoverySpecification)

Arguments

TableName

[required] The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

PointInTimeRecoverySpecification

[required] Represents the settings used to enable point in time recovery.

Value

A list with the following syntax:

list(
  ContinuousBackupsDescription = list(
    ContinuousBackupsStatus = "ENABLED"|"DISABLED",
    PointInTimeRecoveryDescription = list(
      PointInTimeRecoveryStatus = "ENABLED"|"DISABLED",
      EarliestRestorableDateTime = as.POSIXct(
        "2015-01-01"
      ),
      LatestRestorableDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$update_continuous_backups(
  TableName = "string",
  PointInTimeRecoverySpecification = list(
    PointInTimeRecoveryEnabled = TRUE|FALSE
  )
)