How do people using Datomic Cloud handle regulatory requirements for disaster recovery? I imagine traditional backups are of less value given the immutable history, but we still need to protect against e.g. accidental (or malicious) deletion of the S3 bucket or DynamoDB table. Would it be viable to use AWS Backup to backup the bucket and table to a different account and region? (The backup account would have restricted access and I'd enable object lock on the backup bucket). Would a better approach be to dump periodically all the datoms to a file and copy this cross-account/region instead of the lower-level AWS Backups? I'm curious to know what other people are doing, so if you have any experience or insights please do share.
My understanding is that there is no sanctioned or even viable backup technique that starts from the raw storage (S3, Dynamo). Instead, people have tended to tackle the problem by siphoning off datoms on a regular basis. We have used https://github.com/kennyjwilli/datomic-backup and achieved tolerable results for one-off backup and restore jobs. I hold out hope that that one day the Datomic team will release a tool for a more comprehensive and performant solution -perhaps based on the recently released read-only node support in Datomic On-Prem.
not just the tech failing, disaster recovery is also about guarding against human actions, either accidental or malicious a malicious operator could plausibly nuke your dynamodb resources
yes, that's a worry of ours too, so we are careful who are we giving dynamodb access to.