duplicity.backends.ssh_pexpect_backend module

class duplicity.backends.ssh_pexpect_backend.SSHPExpectBackend(parsed_url)[source]

Bases: Backend

This backend copies files using scp. List not supported. Filenames should not need any quoting or this will break.

__init__(parsed_url)[source]

scpBackend initializer

_delete(filename)[source]
_delete_list(filename_list)[source]
_get(remote_filename, local_path)[source]
_list()[source]
_put(source_path, remote_filename)[source]
get_scp(remote_filename, local_path)[source]
get_sftp(remote_filename, local_path)[source]
put_scp(source_path, remote_filename)[source]
put_sftp(source_path, remote_filename)[source]
run_scp_command(commandline)[source]

Run an scp command, responding to password prompts

run_sftp_command(commandline, commands)[source]

Run an sftp command, responding to password prompts, passing commands from list