duplicity.cli_data module

Data for parse command line, check for consistency, and set config

class duplicity.cli_data.CommandAliases[source]

Bases: object

commands and aliases

__init__() None
backup = ['bu']
cleanup = ['cl']
collection_status = ['st']
full = ['fb']
incremental = ['incr', 'inc', 'ib']
list_current_files = ['ls']
remove_all_but_n_full = ['ra']
remove_all_inc_of_but_n_full = ['ri']
remove_older_than = ['ro']
restore = ['rb']
verify = ['vb']
class duplicity.cli_data.DuplicityCommands[source]

Bases: object

duplicity commands and positional args expected

NOTE: cli_util must contain a function named check_* for each positional arg,

for example check_source_path() to check for source path validity.

__init__() None
backup = ['source_path', 'target_url']
cleanup = ['target_url']
collection_status = ['target_url']
full = ['source_path', 'target_url']
incremental = ['source_path', 'target_url']
list_current_files = ['target_url']
remove_all_but_n_full = ['count', 'target_url']
remove_all_inc_of_but_n_full = ['count', 'target_url']
remove_older_than = ['remove_time', 'target_url']
restore = ['source_url', 'target_path']
verify = ['source_url', 'target_path']
class duplicity.cli_data.OptionAliases[source]

Bases: object

__init__() None
path_to_restore = ['-r']
restore_time = ['-t', '--time']
verbosity = ['-v']
version = ['-V']