Metadata-Version: 2.0
Name: aws-rds-manager
Version: 1.0.3
Summary: CLI tool providing sunsetting of RDS snapshots
Home-page: https://github.com/drewsonne/aws-rds-manager
Author: Drew J. Sonne
Author-email: drew.sonne@gmail.com
License: GPLv2
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Database
Classifier: Topic :: System :: Archiving :: Backup
Requires-Dist: aws-auth-helper
Requires-Dist: six

.. image:: https://badge.fury.io/py/aws-rds-manager.svg
  :target: https://badge.fury.io/py/aws-rds-manager

.. image:: https://img.shields.io/pypi/pyversions/aws-rds-manager.svg
  :target: https://pypi.python.org/pypi/aws-rds-manager

.. image:: https://www.quantifiedcode.com/api/v1/project/cc9c76aff11b4442b0dae86ffdd9d69f/badge.svg
  :target: https://www.quantifiedcode.com/app/project/cc9c76aff11b4442b0dae86ffdd9d69f
  :alt: Code issues

.. image:: https://travis-ci.org/nordcloud/aws-rds-manager.svg?branch=master
  :target: https://travis-ci.org/nordcloud/aws-rds-manager

.. image:: https://codecov.io/gh/nordcloud/aws-rds-manager/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/nordcloud/aws-rds-manager

===============
aws-rds-manager
===============

Provides some utilities for the management of RDS snapshots

Installation
============
::

    pip install aws-rds-manager

Utilities
=========

aws-rds-snapshot-cleanup
------------------------
With a defined sunset period, removes instances based on a threshold to maintain a set number of snapshots.

Example
~~~~~~~
The following command will look for all snapshots created from the RDS database drew2,
and remove all snapshots leaving a minimum of 2. If less than 2 snapshots exist, then no
snapshots will be removed. ::

    aws-rds-snapshot-cleanup --sunset-period 2 --database-name drew2 \
            --profile myaccount --role arn:aws:iam::123456789012:role/RDSAccess \
            --region ap-southeast-2


