Metadata-Version: 1.0
Name: bacman
Version: 0.1.2
Summary: Easily take snapshots of Postgres and MySQL databases and upload to AWS S3.
Home-page: https://github.com/willandskill/bacman
Author: Will & Skill AB
Author-email: info@willandskill.se
License: BSD licence, see LICENCE.txt
Description: # django-bacman #
        
        A simple library that takes a snapshot of a Postgres or MySQL database and uploads it to AWS S3.
        
        ## Installation ##
        
        1. Install it
        
        ```bash
        pip install bacman boto dj-database-url
        ```
        
        2. Create .py file with the contents below
        
        ```python
        from bacman.postgres import Postgres
        
        Postgres(remove_old_tmp=True)
        ```
        
        ## Settings ##
        
        ### DATABASE
        
        **DATABASE_URL**
        
        Please add the `DATABASE_URL` variable to your `/etc/environment` or `.pam_environment`
        
        Read more at https://github.com/kennethreitz/dj-database-url
        
        
        ### Amazon Web Services
        
        **AWS_ACCESS_KEY_ID**
        
        Please add the `AWS_ACCESS_KEY_ID` variable to your `/etc/environment` or `.pam_environment`
        
        **AWS_SECRET_ACCESS_KEY**
        
        Please add the `AWS_SECRET_ACCESS_KEY` variable to your `/etc/environment` or `.pam_environment`
        
        
        ### BacMan ###
        
        #### BACMAN_BUCKET
        
        Please add the `BACMAN_BUCKET` variable to your `/etc/environment` or `.pam_environment`
        
        #### BACMAN_DIRECTORY
        * default: `/tmp/bacman`
        
        #### BACMAN_PREFIX
        * default (Postgres): `pgdump`
        * default (MySQL): `mysqldump`
        
Keywords: backup,database,mysql,postgres
Platform: UNKNOWN
