https://github.com/goruck/ec2-restore
bash script to restore files from an aws ec2 backup.
https://github.com/goruck/ec2-restore
Last synced: 11 days ago
JSON representation
bash script to restore files from an aws ec2 backup.
- Host: GitHub
- URL: https://github.com/goruck/ec2-restore
- Owner: goruck
- License: mit
- Created: 2015-05-03T15:03:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-03T15:26:19.000Z (about 11 years ago)
- Last Synced: 2025-02-25T23:13:12.223Z (over 1 year ago)
- Language: Shell
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
# Script to restore files from an aws snapshot.
# Lindo St. Angel 2014.
# Script assumes an existing aws account and aws cli tools have been installed on client.
# This script generally follows these steps (with error checking).
# 1. Get external IP address of host (also serves to check for Internet connection.)
# 2. Create a volume to store backup data before snapshot.
# 3. Create an ec2 security group.
# 4. Create an machine instance with ec2.
# 5. Attach a volume to it.
# 6. Mount the volume.
# 7. rsync some directories to the volume mounted on the remote machine
# 8. Unmount and detach the volume.
# 9. Terminate the machine.
# 10. Delete security group.
# 11. Delete the volume.