Skip to content

Script(and docker image) for backing up sql dump to s3

Notifications You must be signed in to change notification settings

kenkoii/backup-s3-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backup-s3-sh

Requirements

  1. Docker

How to run locally

  1. Build the image first docker build -t <name:tag> .
  2. Create an env file, refer to the sample_env file and your keys
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxx
BUCKET=xxxxxxxxxxxxxxxxxxxx
MYSQL_USER=xxxxxxxxxxxxxxxxxxxx
MYSQL_PASSWORD=xxxxxxxxxxxxxxxxxxxx
MYSQL_DATABASE=xxxxxxxxxxxxxxxxxxxx
MYSQL_HOST=xxxxxxxxxxxxxxxxxxxx
  1. Run the image docker run --env-file=<env_file_name_you_created> -it <name:tag>

About

Script(and docker image) for backing up sql dump to s3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published