duplicity.backends.s3_boto3_backend module

class duplicity.backends.s3_boto3_backend.S3Boto3Backend(parsed_url)[source]

Bases: Backend

Backend for Amazon’s Simple Storage System, (aka Amazon S3), though the use of the boto3 module. (See https://boto3.amazonaws.com/v1/documentation/api/latest/index.html for information on boto3.)

Pursuant to Amazon’s announced deprecation of path style S3 access, this backend only supports virtual host style bucket URIs. See the man page for full details.

To make use of this backend, you must provide AWS credentials. This may be done in several ways: through the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, by the ~/.aws/credentials file, by the ~/.aws/config file, or by using the boto2 style ~/.boto or /etc/boto.cfg files.

__init__(parsed_url)[source]
_delete(remote_filename)[source]
_get(remote_filename, local_path)[source]
_list()[source]
_put(local_source_path, remote_filename)[source]
_query(remote_filename)[source]
reset_connection()[source]
class duplicity.backends.s3_boto3_backend.UploadProgressTracker[source]

Bases: object

__init__()[source]
progress_cb(fresh_byte_count)[source]