Say you use AWS and you have some instances you need to backup regularly. To backup an instance of EC2, you need:
- Find out the volume id used by your EC2 instance
- create a snapshot based on that volume id, with a description
- associate tags (such as name) to the snapshot for easy reading/sorting
- delete old snapshots in order to keep the number of snapshots manageable.
I build my custom scripts based on the blog below: