twindb_backup.configuration.destinations package

Submodules

twindb_backup.configuration.destinations.s3 module

Amazon S3 destrination configuration

class twindb_backup.configuration.destinations.s3.S3Config(aws_access_key_id, aws_secret_access_key, bucket, aws_default_region='us-east-1')[source]

Bases: object

Amazon S3 configuration.

aws_access_key_id

AWS_ACCESS_KEY_ID

aws_default_region

AWS_DEFAULT_REGION

aws_secret_access_key

AWS_SECRET_ACCESS_KEY

bucket

S3 bucket

twindb_backup.configuration.destinations.ssh module

SSH destination configuration

class twindb_backup.configuration.destinations.ssh.SSHConfig(backup_host='127.0.0.1', backup_dir='/var/backup', ssh_user='root', port=22, ssh_key='/root/.ssh/id_rsa')[source]

Bases: object

SSH destination configuration.

host

Hostname or IP address of the SSH destination

key

Path to private SSH key

path

Remote path to root directory with backups

port

SSH port

user

SSH user

Module contents