Skip to content

flagshipcompany/aws-mysql-backups

Repository files navigation

aws-mysql-backups

How to leverage the AWS PHP2 API to backup mysql

##Installation##

  • pull this repo
  • composer.phar install to get all the dependencies
  • rename config.sample.json to config.json with appropriate info

Usage

Make sure that awsbackup.php is executable

  • awsbackup.php mysql:fullbackup will create a gzip backup of the database set in the config, with the credentials.
  • Use --help to see how to overwrite parameters at run time.
  • Use the --aws switch to upload the resulting gzip to AWS S3.

Todo (very soon)

  • Binary log rotation and backup

About

How to leverage the AWS PHP2 API to backup mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages