docs
docs copied to clipboard
How to setup backups manually
It would be good to document how to setup comprehensive backups for amplify until there is a way to do it from the cli.
How to backup:
- S3
- Dynamo
- Cognito
- others???
How to restore:
- S3
- Dynamo
- Cognito
- others???
aws-amplify/amplify-category-api#235
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Seems important...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I
Seems important...
I second that it's important for any commercial application to have a solution to this problem. I am wondering why there isn't any activity on this? Is there another way that we don't know?
I would add functions to the list! Along with sound sound Disaster recovery design
I'll just add that having now tried to actually backup and restore a cognito instance it is actually almost impossible...
- If you are restoring to a new instance there are all sorts of gotchas (including needing to setup SES, getting out of sandbox mode)
- The CSV import in cognito has no export function...
- The CSV import does not handle groups
- It seems to send an email to each user asking them to reset via pin...(which eventually fails if 1 is not complete)
- It's not clear when importing if there are setup problems with custom. fields or other associated setting differences
Backup doesn't seem to be available out of the box with cognito...so you are at the mercy of API's and non AWS developers....
I just published a blog in the AWS Storage channel last week that provides the definition for a CDK custom resource to setup backups with AWS Backup. Take a look and see if this solves for your need.
https://aws.amazon.com/blogs/storage/automate-backups-for-aws-amplify-graphql-backends-with-aws-backup/