How to take RDS MySQL Database backup and put it in Amazon s3 directly
You can also use STDOUT and the AWS CLI tool to pipe the output of your mysqldump straight to S3: For example: The mysqldump command outputs to STDOUT by default. Using – as the input argument for aws s3 cp tells the AWS CLI tool to use STDIN for the input.