Skip to content

Instantly share code, notes, and snippets.

@viebig
Created June 29, 2016 13:31
Show Gist options
  • Save viebig/a9109c8c75656e97888970871d386de0 to your computer and use it in GitHub Desktop.
Save viebig/a9109c8c75656e97888970871d386de0 to your computer and use it in GitHub Desktop.
Amazon EC2 Pipe to S3 with s3cmd
sudo yum install unzip python-pip -y && \
wget https://github.com/s3tools/s3cmd/archive/master.zip && \
unzip master.zip && \
cd s3cmd-master && \
sudo python setup.py install && \
cd .. && \
s3cmd --configure
# Pipe example
# mysqldump ... | s3cmd put - s3://bucket/file-name.sql
@FedericoPonzi
Copy link

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment