Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . dynamodb ]

update-continuous-backups

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 with a 1-minute granularity.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  update-continuous-backups
--table-name <value>
--point-in-time-recovery-specification <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--table-name (string)

The name of the table.

--point-in-time-recovery-specification (structure)

Represents the settings used to enable point in time recovery.

Shorthand Syntax:

PointInTimeRecoveryEnabled=boolean

JSON Syntax:

{
  "PointInTimeRecoveryEnabled": true|false
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

ContinuousBackupsDescription -> (structure)

Represents the continuous backups and point in time recovery settings on the table.

ContinuousBackupsStatus -> (string)

ContinuousBackupsStatus can be one of the following states : ENABLED, DISABLED

PointInTimeRecoveryDescription -> (structure)

The description of the point in time recovery settings applied to the table.

PointInTimeRecoveryStatus -> (string)

The current state of point in time recovery:

  • ENABLING - Point in time recovery is being enabled.
  • ENABLED - Point in time recovery is enabled.
  • DISABLED - Point in time recovery is disabled.

EarliestRestorableDateTime -> (timestamp)

Specifies the earliest point in time you can restore your table to. It is equal to the maximum of point in time recovery enabled time and CurrentTime - PointInTimeRecoveryPeriod .

LatestRestorableDateTime -> (timestamp)

LatestRestorableDateTime is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore times.