Skip to main content

Simplify RDS Backups to S3

Project description


A library on top of pyodbc meant to simplify database backups from RDS to S3.


sudo apt install -y unixodbc unixodbc-dev
pip install pyrdsbackup


Make sure that RDS Backup is enabled for your RDS instance.


from pyrdsbackup.db import mssql

# Initialize Credentials
credentials = {
    'server': '',
    'username': 'adminuser',
    'password': 'password',
    'port': 1433,
    'bucket': 'bucket_name',
    'driver_version': 17

# Test if the connection works. If this statement returns True, backup is possible.

# Backup the database
mssql.backup(credentials, 'database_name')

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

pyrdsbackup-1.1.3.tar.gz (3.2 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