twindb_backup.configuration.destinations package

Submodules

twindb_backup.configuration.destinations.gcs module

Google Cloud Storage destination configuration

class twindb_backup.configuration.destinations.gcs.GCSConfig(**kwargs)[source]

Bases: object

Google Cloud Storage configuration.

property bucket

GCS bucket

property gc_credentials_file

GC_CREDENTIALS_FILE

property gc_encryption_key

GC_ENCRYPTION_KEY

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.

property aws_access_key_id

AWS_ACCESS_KEY_ID

property aws_default_region

AWS_DEFAULT_REGION

property aws_secret_access_key

AWS_SECRET_ACCESS_KEY

property 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.

property host

Hostname or IP address of the SSH destination

property key

Path to private SSH key

property path

Remote path to root directory with backups

property port

SSH port

property user

SSH user

Module contents