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 details)

Uploaded Source

File details

Details for the file nback-0.1.16.tar.gz.

File metadata

  • Download URL: nback-0.1.16.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nback-0.1.16.tar.gz
Algorithm Hash digest
SHA256 d4cc28a8b56d2a88f91969f34a31520bbe1af10a1d318fccb05216c150ed0ca6
MD5 e474c66067d277e224a0efcf4102fff4
BLAKE2b-256 2d3475843813698c820b134869bdd9eb705c5418ea17ee3527295928fef1e1e6

See more details on using hashes here.

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