Package duplicity :: Package backends :: Module hsibackend :: Class HSIBackend
[hide private]
[frames] | no frames]

Class HSIBackend

source code


Instance Methods [hide private]
 
__init__(self, parsed_url) source code
 
put(self, source_path, remote_filename=None)
Transfer source_path (Path object) to remote_filename (string)
source code
 
get(self, remote_filename, local_path)
Retrieve remote_filename and place in local_path
source code
 
list(self)
Return list of filenames (strings) present in backend
source code
 
delete(self, filename_list)
Delete each filename in filename_list, in order if possible.
source code

Inherited from backend.Backend: close, get_data, get_fileobj_read, get_fileobj_write, get_password, move, munge_password, popen, popen_persist, put_data, query_info, run_command, run_command_persist, subprocess_popen, subprocess_popen_persist

Inherited from backend.Backend (private): _subprocess_popen

Class Variables [hide private]

Inherited from backend.Backend: popen_persist_breaks, use_getpass

Method Details [hide private]

__init__(self, parsed_url)
(Constructor)

source code 
Overrides: backend.Backend.__init__

put(self, source_path, remote_filename=None)

source code 

Transfer source_path (Path object) to remote_filename (string)

If remote_filename is None, get the filename from the last path component of pathname.

Overrides: backend.Backend.put
(inherited documentation)

get(self, remote_filename, local_path)

source code 

Retrieve remote_filename and place in local_path

Overrides: backend.Backend.get
(inherited documentation)

list(self)

source code 

Return list of filenames (strings) present in backend

Overrides: backend.Backend.list
(inherited documentation)

delete(self, filename_list)

source code 

Delete each filename in filename_list, in order if possible.

Overrides: backend.Backend.delete
(inherited documentation)