# infra etcd cluster backup cronjob

This application is for taking snapshot of infra apiserver's etcd cluster.

It reuses the original dbaas metadb backup S3 bucket. And the S3 snapshot files will be automatically purged by S3 bucket management policy

``` shell
aws s3api put-bucket-lifecycle --bucket nightly-db-backup-e9dcd21 --lifecycle-configuration file://backup-lifecycle-policy.json
```

# TODO

Add helper script and document for restoring etcd cluster from snapshot.
