Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Turn off PITR for an Amazon Keyspaces table
You can turn off PITR for an Amazon Keyspaces table at any time using the console, CQL, or the Amazon CLI.
Disabling PITR deletes your backup history immediately, even if you reenable
PITR on the table within 35 days.
To learn how to restore a table, see Restore a table from backup to a specified point in time in Amazon Keyspaces.
- Console
-
Disable PITR for a table using the console
-
Sign in to the Amazon Web Services Management Console, and open the Amazon Keyspaces console at https://console.amazonaws.cn/keyspaces/home.
-
In the navigation pane, choose Tables and select the
table you want to edit.
-
On the Backups tab, choose
Edit.
-
In the Edit point-in-time recovery settings section,
clear the Enable Point-in-time recovery check
box.
Choose Save changes.
- Cassandra Query Language (CQL)
-
Disable PITR for a table using CQL
-
To disable PITR for an existing table, run the following CQL command.
ALTER TABLE mykeyspace.mytable
WITH custom_properties = {'point_in_time_recovery': {'status': 'disabled'}}
- CLI
-
Disable PITR for a table using the Amazon CLI
-
To disable PITR for an existing table, run the following Amazon CLI command.
aws keyspaces update-table --keyspace-name 'myKeyspace' --table-name 'myTable' --point-in-time-recovery 'status=DISABLED'