Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

MongoDB backups to cloud Amazon S3

Project Description


$ sudo pip install s3mongobkp


All configuration located in /etc/s3mongobkp.conf:

# /etc/s3mongobkp.conf

access_key  = AKIAIK4KP&XSYHCIF*OK
secret_key  = +SqasKIMLizimFBmHJKPlJsSKldWnd1wNmSIkLvs
# Allocate a separate backup bucket, the program can remove other data from the bucket.
# Use unique name bucket.
bucket_name = mongobackup

hostname = localhost:27017
database = mybase
# Don't use this options if no password is set.
username =
password =

# Max life time backup in days
max_lifetime_backup = 3
# Template directory for backup
tmp_dir = /tmp



For periodic backup add an entry to cron:

$ crontab -e

and add an entry like:

10 */2 * * * /usr/local/bin/


Allocate a separate backup bucket, the program can remove other data from the bucket.


S3mongobkp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

S3mogobkp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with S3mongobkp. If not, see <>.


  • python (>=2.7.0)
  • boto (>=2.7.0)
  • mongodb (>=2.2)
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
s3mongobkp-0.2.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Apr 8, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting