Skip to main content

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

Project description

nback
=====

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

version 0.1.16 2014-11-15

author: nandersson900@gmail.com


Features
--------

- 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 settings.py 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.

Source Distribution

nback-0.1.16.tar.gz (7.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page