Skip to main content

Backups files and databases (MySQL, MongoDB) to AWS S3

Project description


Backups files and databases (MySQL, PostgreSQL, MongoDB) to AWS S3

version 0.1.16 2014-11-15



- backups any given files/directories
- uses mysqldump to take complete SQL dump of all mysql dbs
- uses pg_dump to take complete SQL dump of all postgresql dbs
- uses mongodump to take complete BSON dump of all mongodb dbs
- saves backups for 7 days back and the first of every month indefinitely
- choose between gzip and bzip2 compression algorithms for fastest or
smallest possible footprint
- notifies any given email address every time backup is done
- use bash shell for prettier log coloring

System requirements

It might work with other versions of the software given below,
however this is what I've tested with.

- *nix-like environment
- bzip2 or gzip
- Python >= 2.7.3 (only dep. python-boto)
- MySQL >= 5.0 (optional)
- PostgreSQL >= 9.3 (optional)
- MongoDB >= 2.0.4 (optional)

Getting started

- install python-boto if you haven't already (on Debian/Ubuntu, $ sudo
apt-get install python-boto)
- edit with your settings/credentials
- add a job to your crontab, and set it to run as often as you want backups

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
nback-0.1.16.tar.gz (7.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page