README.md 601 B

aws-backup

Sync a source directory to s3 in aws

Mount a volume to /source

This is what you want to backup.

Create a set of environment variable secrets

kubectl create secret generic aws-creds \
  --from-literal=AWS_ACCESS_KEY_ID=BLAH \
  --from-literal=AWS_SECRET_ACCESS_KEY=BLAH
kubectl create secret generic update-route53 \
  --from-literal=ZONEID=A1B2C3D4 \
  --from-literal=RECORDSET=host.example.com

you must set the following env variables

DEST_S3 the destination URL to sync to. s3:// expected.

AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION