Metadata-Version: 2.1
Name: flush
Version: 0.3
Summary: Archive PostgreSQL tables to S3
Home-page: http://github.com/bcollazo/flush
Author: Bryan Collazo
Author-email: bcollazo2010@gmail.com
License: MIT
Description: # flush
        
        Archive PostgreSQL tables to S3.
        
        CLI tool that flushes (exports and deletes) all database rows of a PostgreSQL table into a CSV in a specified S3 bucket. Useful for archiving data and saving money in small infrastructure environments.
        
        ## Usage
        
        Ensure you are using correct AWS credentials (as if you were using BOTO: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#configuration).
        
        Then:
        
        ```
        pip install -e .
        flush postgres://localhost:5432/mydatabase tablename mybucket --truncate
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
