Simplify RDS Backups to S3
Project description
pyrdsbackup
A library on top of pyodbc meant to simplify backups of Databases from RDS to S3
Installation
sudo apt install -y unixodbc unixodbc-dev
pip install pyrdsbackup
Usage
MSSQL
Make sure that RDS Bakcup is enabled for your RDS instance
from pyrds.backup import mssql
# Initialize Credentials
credentials = {
'server': 'rdsserver.amazon',
'username': 'adminuser',
'password': 'password',
'port': 1433,
'bucket': 'bucket_name',
'driver_version': 17
}
# Test if the connection works. If returns True then backup is possible
mssql.test(credentials)
# Backup the database
mssql.backup(credentials, 'database_name')
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for pyrdsbackup-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf4a52f875dd2a613be020fac4b1661d3c716f9a9ac74771b33c0f98ac84889 |
|
MD5 | a395846116feb8cef995ea7866d997d7 |
|
BLAKE2b-256 | 0f055a3bd1ce464288d357300c5817083038c68ae21a81575da75dc7cfb898db |