Created
April 22, 2016 20:07
-
-
Save leemason/91c6b0e1c344627b9baef8905630f7ed to your computer and use it in GitHub Desktop.
Sync backups to Amazon S3 via trickle and s3cmd.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#send sync request to s3 bucket | |
/usr/bin/trickle -s -u 4000 -d 4000 /usr/bin/s3cmd --config=/home/{{user}}/.s3cfg sync /backups s3://{{bucketname}}/{{location}}/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment