mongodb backup out to s3 code example
Example 1: backup mongodb to s3
wget -O- -q http://s3tools.org/repo/deb-all/stable/s3tools.key | sudo apt-key add -sudo wget -O/etc/apt/sources.list.d/s3tools.list http://s3tools.org/repo/deb-all/stable/s3tools.listsudo apt-get install s3cmd
Example 2: backup mongodb to s3
s3cmd --configure