AWS-Amplify DynamoDB EnablePointInTimeRecovery

Dynamo DB có 1 chức năng cho phép recover dữ liệu ở bất kỳ thời điểm nào trong khoảng 35 ngày trước đó.
Mà điều tiện lợi là KHÔNG cần phải lo maintain hay schedule cho việc setting backup.
Khi dùng AWS-Amplify có thể setting trong /amplify/backend/api/{{your graphql api name}}/parameters.json
{
"AppSyncApiName": "{{your graphql api name}}",
"DynamoDBBillingMode": "PAY_PER_REQUEST",
"DynamoDBEnableServerSideEncryption": false,
"DynamoDBEnablePointInTimeRecovery": true <--- thêm vào dòng này
}
Kết quả:

Thử chức năng restore
Click Restore:

Chỉ định time muốn restore

Chờ restore

Check kết quả restore

Link tham khảo:
Point-in-time recovery for DynamoDB - Amazon DynamoDB
Protect your DynamoDB tables from accidental write or delete operations with point-in-time recovery.