CmdID / aws / aws dynamodb
aws dynamodb update-continuous-backups
UpdateContinuousBackups enables or disables point in time recovery for the specified table. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To update continuous backup settings for a DynamoDB table
The following update-continuous-backups example enables point-in-time recovery for the MusicCollection table.
aws dynamodb update-continuous-backups --table-name MusicCollection --point-in-time-recovery-specification PointInTimeRecoveryEnabled=trueIdentify--table-nameThe name of the table.--point-in-time-recovery-specificationRepresents the settings used to enable point in time recovery.Its output
{
"ContinuousBackupsDescription": {
"ContinuousBackupsStatus": "ENABLED",
"PointInTimeRecoveryDescription": {
"PointInTimeRecoveryStatus": "ENABLED",
"EarliestRestorableDateTime": 1576622404.0,
"LatestRestorableDateTime": 1576622404.0
}
}
}For more information, see Point-in-time backups for DynamoDB in the Amazon DynamoDB Developer Guide.
Options
--point-in-time-recovery-specificationRepresents the settings used to enable point in time recovery.--table-nameThe name of the table.