Upload database backup from mysql to Amazon S3 or Glacier without creating local file

Posted by Rubem Azenha on Server Fault See other posts from Server Fault or by Rubem Azenha
Published on 2012-12-18T19:27:31Z Indexed on 2012/12/18 23:04 UTC
Read the original article Hit count: 274

Is there a tool that makes possible to backup a Mysql database to Amazon S3 or Amazon Glacier without having o create a local file with the database contents?

Something like that:

mysqldump -u root -ppass -h host --all-databases | magical-s3-tool s3-bucket backup-yyyy-mm-dd.sql

This magical tool would use the pipe data and transfer the backup data directly to S3, without creating a local file.

© Server Fault or respective owner

Related posts about mysql

Related posts about backup