I am trying to create a backup mechanism for our server, so that if my system crashes, I should be able to create the whole system by running a single script
After going through Amazon documentation, this is my understanding of creating a backup and restoring
Backup
- Create a AMI Image (this can be updated monthly)
- Create a snapshot (This can be done using a daily script creating a snapshot)
Restore (A script to)
- Create an EBS instance using AMI
- Attach the EBS volume to Instance created
Now my Questions is
- Is it the best way to take a backup and restore?
- Do we actually need to backup 2 things, AMI and EBS volume (using snapshot), Can we just keep snapshots?
- I understand this cannot work for a local instance store instance, as there is no snapshot functionality. So how can I create a backup and restore process for local instance store instances?