Skip to content

Instantly share code, notes, and snippets.

@codemilli
Last active June 25, 2017 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codemilli/0e2d9a5fb59d10feba940d76f3f53b2f to your computer and use it in GitHub Desktop.
Save codemilli/0e2d9a5fb59d10feba940d76f3f53b2f to your computer and use it in GitHub Desktop.
#!/bin/bash
AWS_ACCESS_KEY_ID=my_key \
AWS_SECRET_ACCESS_KEY=my_secret \
AWS_DEFAULT_REGION=us-west-2 \
S3_BUCKET=my_bucket \
MYSQL_HOST=host \
MYSQL_PORT=port \
MYSQL_USER=myuser \
MYSQL_PASS=pass \
MYSQL_DB=db \
mysqlbackup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment