freezer.storage.ssh.
SshStorage
(storage_path, remote_username, remote_ip, port, max_segment_size, ssh_key_path=None, remote_pwd=None)¶Bases: freezer.storage.fslike.FsLikeStorage
backup_blocks
(backup)¶Parameters: | backup (freezer.storage.base.Backup) – |
---|---|
Returns: |
create_dirs
(path)¶Change to this directory, recursively making new folders if needed. Returns True if any folders were created.
get_file
(from_path, to_path)¶init
()¶listdir
(directory)¶Parameters: | path (str) – |
---|---|
Return type: | collections.Iterable[str] |
open
(filename, mode)¶Parameters: |
|
---|---|
Returns: |
put_file
(from_path, to_path)¶Parameters: |
|
---|
read_metadata_file
(path)¶rmtree
(path)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.