duplicity package
Subpackages
- duplicity.backends package
- Submodules
- duplicity.backends._cf_cloudfiles module
- duplicity.backends._cf_pyrax module
- duplicity.backends._testbackend module
- duplicity.backends.adbackend module
- duplicity.backends.azurebackend module
- duplicity.backends.b2backend module
- duplicity.backends.boxbackend module
- duplicity.backends.cfbackend module
- duplicity.backends.dpbxbackend module
- duplicity.backends.gdocsbackend module
- duplicity.backends.gdrivebackend module
- duplicity.backends.giobackend module
- duplicity.backends.hsibackend module
- duplicity.backends.hubicbackend module
- duplicity.backends.idrivedbackend module
- duplicity.backends.imapbackend module
- duplicity.backends.jottacloudbackend module
- duplicity.backends.lftpbackend module
- duplicity.backends.localbackend module
- duplicity.backends.mediafirebackend module
- duplicity.backends.megabackend module
- duplicity.backends.megav2backend module
- duplicity.backends.megav3backend module
- duplicity.backends.multibackend module
- duplicity.backends.ncftpbackend module
- duplicity.backends.onedrivebackend module
- duplicity.backends.par2backend module
- duplicity.backends.pcabackend module
- duplicity.backends.pydrivebackend module
- duplicity.backends.rclonebackend module
- duplicity.backends.rsyncbackend module
- duplicity.backends.s3_boto3_backend module
- duplicity.backends.slatebackend module
- duplicity.backends.ssh_paramiko_backend module
- duplicity.backends.ssh_pexpect_backend module
- duplicity.backends.swiftbackend module
- duplicity.backends.sxbackend module
- duplicity.backends.tahoebackend module
- duplicity.backends.webdavbackend module
- duplicity.backends.xorrisobackend module
- Module contents
- Submodules
Submodules
- duplicity.__main__ module
- duplicity.argparse311 module
ActionArgumentDefaultsHelpFormatterArgumentErrorArgumentParserArgumentParser.__init__()ArgumentParser._add_action()ArgumentParser._check_value()ArgumentParser._get_formatter()ArgumentParser._get_kwargs()ArgumentParser._get_nargs_pattern()ArgumentParser._get_option_tuples()ArgumentParser._get_optional_actions()ArgumentParser._get_positional_actions()ArgumentParser._get_value()ArgumentParser._get_values()ArgumentParser._match_argument()ArgumentParser._match_arguments_partial()ArgumentParser._parse_known_args()ArgumentParser._parse_optional()ArgumentParser._print_message()ArgumentParser._read_args_from_files()ArgumentParser.add_subparsers()ArgumentParser.convert_arg_line_to_args()ArgumentParser.error()ArgumentParser.exit()ArgumentParser.format_help()ArgumentParser.format_usage()ArgumentParser.parse_args()ArgumentParser.parse_intermixed_args()ArgumentParser.parse_known_args()ArgumentParser.parse_known_intermixed_args()ArgumentParser.print_help()ArgumentParser.print_usage()
ArgumentTypeErrorBooleanOptionalActionFileTypeHelpFormatterHelpFormatter._SectionHelpFormatter.__init__()HelpFormatter._add_item()HelpFormatter._dedent()HelpFormatter._expand_help()HelpFormatter._fill_text()HelpFormatter._format_action()HelpFormatter._format_action_invocation()HelpFormatter._format_actions_usage()HelpFormatter._format_args()HelpFormatter._format_text()HelpFormatter._format_usage()HelpFormatter._get_default_metavar_for_optional()HelpFormatter._get_default_metavar_for_positional()HelpFormatter._get_help_string()HelpFormatter._indent()HelpFormatter._iter_indented_subactions()HelpFormatter._join_parts()HelpFormatter._metavar_formatter()HelpFormatter._split_lines()HelpFormatter.add_argument()HelpFormatter.add_arguments()HelpFormatter.add_text()HelpFormatter.add_usage()HelpFormatter.end_section()HelpFormatter.format_help()HelpFormatter.start_section()
MetavarTypeHelpFormatterNamespaceRawDescriptionHelpFormatterRawTextHelpFormatter
- duplicity.backend module
BackendBackendWrapperBackendWrapper.__do_put()BackendWrapper.__init__()BackendWrapper._do_delete()BackendWrapper._do_delete_list()BackendWrapper._do_query()BackendWrapper._do_query_list()BackendWrapper.close()BackendWrapper.delete()BackendWrapper.get()BackendWrapper.get_data()BackendWrapper.get_fileobj_read()BackendWrapper.list()BackendWrapper.move()BackendWrapper.pre_process_download()BackendWrapper.pre_process_download_batch()BackendWrapper.put()BackendWrapper.put_validated()BackendWrapper.query_info()BackendWrapper.validate()
ParsedUrl_get_code_from_exception()get_backend()get_backend_object()import_backends()is_backend_url()register_backend()register_backend_prefix()retry()strip_auth_from_url()strip_prefix()
- duplicity.backend_pool module
BackendPoolBackendPool.CmdStatusBackendPool.__init__()BackendPool._collect_finished_cmds()BackendPool._process_init()BackendPool._raise_exception_if_any()BackendPool.command()BackendPool.command_throttled()BackendPool.get_queue_length()BackendPool.get_stats()BackendPool.results_since_last_call()BackendPool.shutdown()
TrackRecordtrack_cmd()
- duplicity.cached_ops module
- duplicity.cli_data module
CommandAliasesCommandAliases.__init__()CommandAliases.backupCommandAliases.cleanupCommandAliases.collection_statusCommandAliases.fullCommandAliases.incrementalCommandAliases.list_current_filesCommandAliases.remove_all_but_n_fullCommandAliases.remove_all_inc_of_but_n_fullCommandAliases.remove_older_thanCommandAliases.restoreCommandAliases.verify
DuplicityCommandsDuplicityCommands.__init__()DuplicityCommands.backupDuplicityCommands.cleanupDuplicityCommands.collection_statusDuplicityCommands.fullDuplicityCommands.incrementalDuplicityCommands.list_current_filesDuplicityCommands.remove_all_but_n_fullDuplicityCommands.remove_all_inc_of_but_n_fullDuplicityCommands.remove_older_thanDuplicityCommands.restoreDuplicityCommands.verify
OptionAliases
- duplicity.cli_main module
- duplicity.cli_util module
AddFilelistActionAddRenameActionAddSelectionActionCommandLineErrorDoNothingActionDuplicityActionIgnoreErrorsActionSetLogTimestampActionSplitOptionsActionWarnAsyncStoreConstAction_check_int()_check_time()check_char()check_count()check_file()check_remove_time()check_source_path()check_source_url()check_target_path()check_target_url()check_time()check_time_delta()check_timeout()check_verbosity()cmd2var()command_line_error()dflt()expand_archive_dir()expand_fn()generate_default_backup_name()is_path()is_url()make_bytes()opt2var()round512()set_archive_dir()set_encrypt_key()set_encrypt_sign_key()set_hidden_encrypt_key()set_kilos()set_log_fd()set_log_file()set_megs()set_selection()set_sign_key()var2cmd()var2opt()
- duplicity.config module
- duplicity.diffdir module
DeltaTarBlockIterDiffDirExceptionDirDelta()DirDelta_WriteSig()DirFull()DirFull_WriteSig()DirSig()DummyBlockIterFileWithReadCounterFileWithSignatureSigTarBlockIterTarBlockTarBlockIterTarBlockIter.__init__()TarBlockIter.__next__()TarBlockIter.get_footer()TarBlockIter.get_previous_index()TarBlockIter.get_read_size()TarBlockIter.process()TarBlockIter.process_continued()TarBlockIter.queue_index_data()TarBlockIter.recall_index()TarBlockIter.remember_next_index()TarBlockIter.tarinfo2tarblock()
collate2iters()combine_path_iters()delta_iter_error_handler()get_block_size()get_combined_path_iter()get_delta_iter()get_delta_path()log_delta_path()sigtar2path_iter()write_block_iter()
- duplicity.dup_collections module
BackupChainBackupSetBackupSet.__init__()BackupSet.add_filename()BackupSet.check_manifests()BackupSet.delete()BackupSet.get_filenames()BackupSet.get_files_changed()BackupSet.get_jsonstat()BackupSet.get_local_manifest()BackupSet.get_manifest()BackupSet.get_missing()BackupSet.get_remote_file()BackupSet.get_remote_manifest()BackupSet.get_time()BackupSet.get_timestr()BackupSet.is_complete()BackupSet.is_missing()BackupSet.set_files_changed()BackupSet.set_info()BackupSet.set_jsonstat()BackupSet.set_manifest()
BackupSetChangesStatusCollectionsErrorCollectionsStatusCollectionsStatus.__init__()CollectionsStatus.get_all_file_changed_records()CollectionsStatus.get_backup_chain_at_time()CollectionsStatus.get_backup_chains()CollectionsStatus.get_chains_older_than()CollectionsStatus.get_changes_in_set_json()CollectionsStatus.get_extraneous()CollectionsStatus.get_file_changed_record()CollectionsStatus.get_last_backup_chain()CollectionsStatus.get_last_full_backup_time()CollectionsStatus.get_nth_last_backup_chain()CollectionsStatus.get_nth_last_full_backup_time()CollectionsStatus.get_older_than()CollectionsStatus.get_older_than_required()CollectionsStatus.get_signature_chain_at_time()CollectionsStatus.get_signature_chains()CollectionsStatus.get_signature_chains_older_than()CollectionsStatus.get_sorted_chains()CollectionsStatus.get_sorted_sets()CollectionsStatus.set_matched_chain_pair()CollectionsStatus.set_values()CollectionsStatus.sort_sets()CollectionsStatus.to_log_info()CollectionsStatus.warn()
FileChangedStatusPrintCollectionChangesInSet()PrintCollectionErrors()PrintCollectionFileChangedStatus()PrintCollectionStatus()SignatureChain
- duplicity.dup_main module
Restartcheck_last_manifest()check_resources()check_sig_chain()cleanup()do_backup()dummy_backup()full_backup()get_man_fileobj()get_passphrase()get_sig_fileobj()get_stat_fileobj()getpass_safe()incremental_backup()list_current()log_startup_parms()main()print_statistics()remove_all_but_n_full()remove_old()restart_position_iterator()restore()restore_add_sig_check()restore_check_hash()restore_get_enc_fileobj()restore_get_patched_rop_iter()sync_archive()verify()write_json_stat()write_multivol()
- duplicity.dup_tarfile module
AbsoluteLinkErrorAbsolutePathErrorCompressionErrorExtractErrorFilterErrorHeaderErrorLinkOutsideDestinationErrorOutsideDestinationErrorReadErrorSpecialFileErrorStreamErrorTarErrorTarFileTarFile.OPEN_METHTarFile.__init__()TarFile._check()TarFile._dbg()TarFile._extract_member()TarFile._extract_one()TarFile._find_link_target()TarFile._get_extract_tarinfo()TarFile._get_filter_function()TarFile._getmember()TarFile._handle_fatal_error()TarFile._handle_nonfatal_error()TarFile._load()TarFile.add()TarFile.addfile()TarFile.bz2open()TarFile.chmod()TarFile.chown()TarFile.close()TarFile.debugTarFile.dereferenceTarFile.encodingTarFile.errorlevelTarFile.errorsTarFile.extract()TarFile.extractall()TarFile.extractfile()TarFile.extraction_filterTarFile.fileobjectTarFile.formatTarFile.getmember()TarFile.getmembers()TarFile.getnames()TarFile.gettarinfo()TarFile.gzopen()TarFile.ignore_zerosTarFile.list()TarFile.makedev()TarFile.makedir()TarFile.makefifo()TarFile.makefile()TarFile.makelink()TarFile.makeunknown()TarFile.next()TarFile.open()TarFile.tarinfoTarFile.taropen()TarFile.utime()TarFile.xzopen()
TarInfoTarInfo.__init__()TarInfo._apply_pax_info()TarInfo._block()TarInfo._create_gnu_long_header()TarInfo._create_header()TarInfo._create_pax_generic_header()TarInfo._create_payload()TarInfo._decode_pax_field()TarInfo._link_targetTarInfo._posix_split_name()TarInfo._proc_builtin()TarInfo._proc_gnulong()TarInfo._proc_gnusparse_00()TarInfo._proc_gnusparse_01()TarInfo._proc_gnusparse_10()TarInfo._proc_member()TarInfo._proc_pax()TarInfo._proc_sparse()TarInfo._sparse_structsTarInfo._tarfileTarInfo.chksumTarInfo.create_gnu_header()TarInfo.create_pax_global_header()TarInfo.create_pax_header()TarInfo.create_ustar_header()TarInfo.devmajorTarInfo.devminorTarInfo.frombuf()TarInfo.fromtarfile()TarInfo.get_info()TarInfo.gidTarInfo.gnameTarInfo.isblk()TarInfo.ischr()TarInfo.isdev()TarInfo.isdir()TarInfo.isfifo()TarInfo.isfile()TarInfo.islnk()TarInfo.isreg()TarInfo.issparse()TarInfo.issym()TarInfo.linknameTarInfo.linkpathTarInfo.modeTarInfo.mtimeTarInfo.nameTarInfo.offsetTarInfo.offset_dataTarInfo.pathTarInfo.pax_headersTarInfo.replace()TarInfo.sizeTarInfo.sparseTarInfo.tarfileTarInfo.tobuf()TarInfo.typeTarInfo.uidTarInfo.uname
data_filter()fully_trusted_filter()is_tarfile()open()tar_filter()
- duplicity.dup_temp module
BlockFileobjHookedFileobjHooked.__init__()FileobjHooked.addhook()FileobjHooked.clean_up()FileobjHooked.close()FileobjHooked.flush()FileobjHooked.get_name()FileobjHooked.nameFileobjHooked.read()FileobjHooked.seek()FileobjHooked.tell()FileobjHooked.to_final()FileobjHooked.to_partial()FileobjHooked.to_remote()FileobjHooked.write()
SrcIterTempDupPathTempPathget_fileobj_duppath()new_tempduppath()new_temppath()
- duplicity.dup_time module
- duplicity.errors module
- duplicity.file_naming module
- duplicity.filechunkio module
- duplicity.globmatch module
- duplicity.gpg module
- duplicity.gpginterface module
- duplicity.lazy module
ITRBranchITRBranch.base_indexITRBranch.branch_process()ITRBranch.call_end_proc()ITRBranch.can_fast_process()ITRBranch.caught_exceptionITRBranch.end_process()ITRBranch.fast_process()ITRBranch.finishedITRBranch.indexITRBranch.log_prev_error()ITRBranch.on_error()ITRBranch.start_process()ITRBranch.start_successful
IterIterMultiplex2IterTreeReducer
- duplicity.librsync module
- duplicity.log module
Debug()DetailFormatterDupToLoggerLevel()ErrFilterError()ErrorCodeErrorCode.absolute_files_fromErrorCode.backend_code_errorErrorCode.backend_command_errorErrorCode.backend_errorErrorCode.backend_no_spaceErrorCode.backend_not_foundErrorCode.backend_permission_deniedErrorCode.backend_validation_failedErrorCode.backup_dir_doesnt_existErrorCode.bad_archive_dirErrorCode.bad_encrypt_keyErrorCode.bad_hidden_encrypt_keyErrorCode.bad_requestErrorCode.bad_sign_keyErrorCode.bad_urlErrorCode.cant_open_filelistErrorCode.command_lineErrorCode.connection_failedErrorCode.deprecated_optionErrorCode.dpbx_nologinErrorCode.empty_files_fromErrorCode.enryption_mismatchErrorCode.exceptionErrorCode.file_prefix_errorErrorCode.ftp_ncftp_missingErrorCode.ftp_ncftp_too_oldErrorCode.ftps_lftp_missingErrorCode.genericErrorCode.get_freespace_failedErrorCode.get_ulimit_failedErrorCode.gio_not_availableErrorCode.globbing_errorErrorCode.gpg_failedErrorCode.hostname_mismatchErrorCode.inc_without_sigsErrorCode.maxopen_too_lowErrorCode.mismatched_hashErrorCode.mismatched_manifestsErrorCode.no_manifestsErrorCode.no_restore_filesErrorCode.no_sigsErrorCode.not_enough_freespaceErrorCode.not_implementedErrorCode.pythonoptimize_setErrorCode.redundant_filterErrorCode.redundant_inclusionErrorCode.restart_file_not_foundErrorCode.restore_path_existsErrorCode.restore_path_not_foundErrorCode.s3_kms_no_idErrorCode.source_path_mismatchErrorCode.trailing_filterErrorCode.unreadable_manifestsErrorCode.unsigned_volumeErrorCode.user_errorErrorCode.verify_dir_doesnt_existErrorCode.volume_wrong_size
FatalError()Info()InfoCodeInfoCode.asynchronous_upload_beginInfoCode.asynchronous_upload_doneInfoCode.collection_statusInfoCode.diff_file_changedInfoCode.diff_file_deletedInfoCode.diff_file_newInfoCode.file_listInfoCode.genericInfoCode.patch_file_patchingInfoCode.patch_file_writingInfoCode.progressInfoCode.skipping_socketInfoCode.synchronous_upload_beginInfoCode.synchronous_upload_doneInfoCode.upload_progress
LevelName()Log()LoggerToDupLevel()MachineFilterMachineFormatterNotice()OutFilterPrettyProgressFormatterProgress()Warn()WarningCodeWarningCode.cannot_iterateWarningCode.cannot_processWarningCode.cannot_readWarningCode.cannot_statWarningCode.ftp_ncftp_v320WarningCode.genericWarningCode.incomplete_backupWarningCode.no_sig_for_timeWarningCode.orphaned_backupWarningCode.orphaned_sigWarningCode.process_skippedWarningCode.unmatched_sigWarningCode.unnecessary_sig
add_fd()add_file()getverbosity()setup()setverbosity()shutdown()
- duplicity.manifest module
- duplicity.patchdir module
IndexedTupleMultivol_FilelikePatch()PatchDirExceptionPatch_from_iter()PathPatcherROPath_IterWriterTarFile_FromFileobjsWrite_ROPaths()collate_iters()difftar2path_iter()empty_iter()filter_path_iter()get_index_from_tarinfo()integrate_patch_iters()normalize_ps()patch_diff_tarfile()patch_seq2ropath()tarfiles2rop_iter()
- duplicity.path module
DupPathPathPath.__init__()Path.append()Path.chmod()Path.compare_recursive()Path.contains()Path.delete()Path.deltree()Path.get_canonical()Path.get_filename()Path.get_parent_dir()Path.get_temp_in_same_dir()Path.isemptydir()Path.listdir()Path.makedev()Path.mkdir()Path.move()Path.new_index()Path.open()Path.patch_with_attribs()Path.quote()Path.regex_chars_to_quotePath.rename()Path.rename_index()Path.setdata()Path.touch()Path.unquote()Path.writefileobj()
PathDeleterPathExceptionROPathROPath.__init__()ROPath.blank()ROPath.compare_data()ROPath.compare_verbose()ROPath.copy()ROPath.copy_attribs()ROPath.exists()ROPath.get_data()ROPath.get_relative_path()ROPath.get_ropath()ROPath.get_tarinfo()ROPath.getdevloc()ROPath.getmtime()ROPath.getperms()ROPath.getsize()ROPath.init_from_tarinfo()ROPath.isdev()ROPath.isdir()ROPath.isfifo()ROPath.isreg()ROPath.issock()ROPath.issym()ROPath.open()ROPath.perms_equal()ROPath.set_from_stat()ROPath.setfileobj()
StatResult
- duplicity.progress module
- duplicity.robust module
- duplicity.selection module
SelectSelect.Iterate()Select.ParseArgs()Select.Select()Select.__init__()Select.__next__()Select.add_selection_func()Select.devfiles_get_sf()Select.exclude_older_get_sf()Select.filelist_general_get_sfs()Select.filelist_sanitise_line()Select.general_get_sf()Select.glob_get_sf()Select.literal_get_sf()Select.other_filesystems_get_sf()Select.parse_catch_error()Select.parse_files_from()Select.parse_last_excludes()Select.present_get_sf()Select.regexp_get_sf()Select.select_fn_from_literal()Select.set_iter()
- duplicity.statistics module
StatsDeltaProcessStatsExceptionStatsObjStatsObj.__init__()StatsObj.byte_abbrev_listStatsObj.get_byte_summary_string()StatsObj.get_filestats_string()StatsObj.get_miscstats_string()StatsObj.get_stat()StatsObj.get_stats_json()StatsObj.get_stats_line()StatsObj.get_stats_logstring()StatsObj.get_stats_string()StatsObj.get_statsobj_copy()StatsObj.get_timestats_string()StatsObj.increment_stat()StatsObj.read_stats_from_path()StatsObj.set_stat()StatsObj.set_stats_from_line()StatsObj.set_stats_from_string()StatsObj.set_to_average()StatsObj.space_regexStatsObj.stat_attrsStatsObj.stat_file_attrsStatsObj.stat_file_pairsStatsObj.stat_misc_attrsStatsObj.stat_time_attrsStatsObj.stats_equal()StatsObj.write_stats_to_path()
- duplicity.tempdir module
- duplicity.util module