stakater / aws-terraform

CoreOS, Terraform, Shell Scripting
MIT License
1 stars 3 forks source link

add a unit (app) to take backup, upload, download & restore backup from s3 #24

Open rasheedamir opened 8 years ago

rasheedamir commented 8 years ago

create unit which offers following features:

  1. take backup of a volume
  2. tag the backup
  3. upload the backup to s3
  4. download and restore the backup from s3
  5. create configurable cron job which will run and take care of first 3 steps...

we will use this unit to take backup & restore databases e.g. mysql; and anyother database

this will be efficient and fast;

ideally this unit should find all volumes attached to the host on which it is running; it should do the above

rasheedamir commented 8 years ago

explore this:

Use this to setup backup and restore: https://github.com/stakater/dockup

Docker image to backup/restore your Docker container volumes to AWS S3

Use in combination with https://github.com/tutumcloud/mysql-backup

  1. one container which takes backup
  2. other container uploads to s3
rasheedamir commented 8 years ago
  1. auto deletion of old backups