duplicity.backends._boto_single module

class duplicity.backends._boto_single.BotoBackend(parsed_url)[source]

Bases: Backend

Backend for Amazon’s Simple Storage System, (aka Amazon S3), though the use of the boto module, (http://code.google.com/p/boto/).

To make use of this backend you must set aws_access_key_id and aws_secret_access_key in your ~/.boto or /etc/boto.cfg with your Amazon Web Services key id and secret respectively. Alternatively you can export the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

__init__(parsed_url)[source]
_close()[source]
_delete(filename)[source]
_get(remote_filename, local_path)[source]
_list()[source]
_put(source_path, remote_filename)[source]
_query(filename)[source]
_retry_cleanup()[source]
list_filenames_in_bucket()[source]
pre_process_download(remote_filename, wait=False)[source]
pre_process_download_batch(remote_filenames)[source]
resetConnection()[source]
upload(filename, key, headers)[source]
duplicity.backends._boto_single.get_connection(scheme, parsed_url, storage_uri)[source]