OS Manuals

/usr/bin/duplicity

Encrypted backup using rsync algorithm

From duplicity 3.2.2-r5 (enterprise-packages), captured 2026-11-08 by running duplicity --help (exit 31) · terse output. permalink

GPGError: failed to determine gnupg version of None from b''
Options (123)
OptionDescriptionSource
--allow-source-mismatchDo not abort on attempts to use the same archive dir or remote backend to back up different directories.man
--archive-dir pathThe archive directory.man
--asynchronous-upload(DISCONTINUED) This option is discontinued because of instability.man
--azure-blob-tierStandard storage tier used for backup files (Hot|Cool|Cold|Archive).man
--azure-max-single-put-sizeSpecify the number of the largest supported upload size where the Azure library makes only one put call.man
--azure-max-block-sizeSpecify the number for the block size used by the Azure library to upload blobs if it is split into multiple blocks.man
--azure-max-connectionsSpecify the number of maximum connections to transfer one blob to Azure blob size exceeds 64MB.man
--b2-hide-filesCauses Duplicity to hide files in B2 instead of deleting them.man
--backend-retry-delay numberSpecifies the number of seconds that duplicity waits after an error has occurred before attempting to repeat the operation.man
--check-remoteTurn on validation of the remote manifest (default).man
--cf-backend backendAllows the explicit selection of a cloudfiles backend.man
--concurrency numberGive the number of background process that should be use to run concurrent backend task.man
--config-dir pathAllows selection of duplicity's configuratin dir.man
--copy-blocksize kilosAllows selection of blocksize in kilobytes to use in copying.man
--compare-dataEnable data comparison of regular files on action verify.man
--compressionUse GZip to compress files on remote system (default).man
--copy-linksResolve symlinks during backup.man
--dry-runCalculate what would be done, but do not perform any backend actionsman
--encryptionUse GnuPG to encrypt files on remote system (default).man
--encrypt-key key-idWhen backing up, encrypt to the given public key, instead of using symmetric (traditional) encryption.man
--encrypt-secret-keyring filenameThis option can only be used with --encrypt-key, and changes the path to the secret keyring for the encrypt key to filename This keyring is not used when creating a backup.man
--encrypt-sign-key key-idConvenience parameter.man
--exclude shell_patternExclude the file or files matched by shell_pattern.man
--exclude-device-filesExclude all device files.man
--exclude-filelist filenameExcludes the files listed in filename, with each line of the filelist interpreted according to the same rules as --include and --exclude.man
--exclude-if-present filenameExclude directories if filename is present.man
--exclude-older-than timeExclude any files whose modification date is earlier than the specified time.man
--exclude-other-filesystemsExclude files on file systems (identified by device number) other than the file system the root of the source directory is on.man
--exclude-regexp regexpExclude files matching the given regexp.man
--file-prefix prefixman
--file-prefix-manifest prefixman
--file-prefix-archive prefixman
--file-prefix-signature prefixman
--file-prefix-jsonstat prefixman
--file-prefix-statistics prefixAdds a prefix to either all files or only manifest, archive, signature, jsonstat or statistics files.man
--files-changedCollect file names and change action in memory (add, del, chg) during backup (default).man
--files-from filenameRead a list of files to backup from filename rather than searching the entire backup source directory.man
--filter-globbingman
--filter-ignorecaseman
--filter-literalman
--filter-regexpman
--filter-strictcaseChange the interpretation of patterns passed to the file selection condition option arguments --exclude and --include (and variations thereof, including file lists).man
--forceProceed even if data loss might result.man
--ftp-passiveUse passive (PASV) data connections.man
--ftp-regularUse regular (PORT) data connections.man
--full-if-older-than timePerform a full backup if an incremental backup is requested, but the latest full backup in the collection is older than the given time.man
--full-if-n-inc numberPerform a full backup if an incremental backup is requested, but the latest backup chain already has number or more incremental backups.man
--gioUse the GIO backend and interpret any URLs as GIO would.man
-h, --help, --usagePrint a help message and quit.man
--gpg-binary file_pathAllows you to force duplicity to use file_path as gpg command line binary.man
--gpg-options 'options'Allows you to pass options to gpg encryption.man
--hidden-encrypt-key key-idSame as --encrypt-key, but it hides user's key id from encrypted file.man
--ignore-errorsTry to ignore certain errors if they happen.man
--ignore-mdc-errorInsecure option to ignore MDC (Modification Detection Code) errors during GnuPG decryption.man
--imap-full-address email_addressThe full email address of the user name when logging into an imap server.man
--imap-mailbox optionAllows you to specify a different mailbox.man
--idr-fakerootidrived uses the concept of a "fakeroot" directory, defined via the --idr-fakeroot=...man
--include shell_patternSimilar to --exclude but include matched files instead.man
--include-filelist filenameLike --exclude-filelist, but include the listed files instead.man
--include-regexp regexpInclude files matching the regular expression regexp.man
--jsonstatRecord statistic data similar to the default stats printed at the end of a backup job, addtional it includes some meta data about the backup chain e.g. when the full backup was created and how many…man
--log-fd numberWrite specially-formatted versions of output messages to the specified file descriptor.man
--log-file filenameWrite specially-formatted versions of output messages to the specified file.man
--log-timestampWrite the log with timestamp and log level before the message, similar to syslog.man
--max-blocksize numberlimits the maximum size of the blocks examined for changes during the diff process.man
--mf-purgeOption for mediafire to purge files on delete instead of sending to trash.man
--mp-segment-size megsSwift backend segment size in megabytesman
--name symbolicnameSet the symbolic name of the backup being operated on.man
--no-check-remoteTurn off validation of the remote manifest.man
--no-compressionDo not use GZip to compress files on remote system.man
--no-encryptionDo not use GnuPG to encrypt files on remote system.man
--no-files-changedBy default duplicity will collect file names and change action in memory (add, del, chg) during backup.man
--no-print-statisticsBy default duplicity will print statistics about the current session after a successful backup.man
--no-restore-ownershipIgnores the uid/gid from the archive and keeps the current user's one.man
--null-separatorUse nulls (0) instead of newlines (n) as line separators, which may help when dealing with filenames containing newlines.man
--numeric-ownerOn restore always use the numeric uid/gid from the archive and not the archived user/group names, which is the default behaviour.man
--num-retries numberNumber of retries to make on errors before giving up.man
--par2-options 'options'Verbatim options to pass to par2.man
--par2-redundancy percentAdjust the level of redundancy in percent for Par2 recovery files (default 10%).man
--par2-volumes numberNumber of Par2 volumes to create (default 1).man
--path-to-restore pathThis option may be given in restore mode, causing only path to be restored instead of the entire contents of the backup archive.man
--print-statisticsPrint statistics about the current session after a successful backup (default).man
--progressWhen selected, duplicity will output the current upload progress and estimated upload time.man
--progress-rate numberSets the update rate at which duplicity will output the upload progress messages (requires --progress option).man
--rename originalTreats the path orig in the backup as if it were the path new.man
--restore-ownershipRestore uid/gid from the archive when finished (default).man
--rsync-options 'options'Allows you to pass options to the rsync backend.man
--s3-endpoint-url urlSpecifies the endpoint URL of the S3 storage.man
--s3-multipart-chunk-sizeChunk size (in MB, default is 20MB) used for S3 multipart uploads.man
--s3-multipart-max-procsMaximum number of concurrent uploads when performing a multipart upload.man
--s3-region-nameSpecifies the region of the S3 storage.man
--s3-unencrypted-connectionDisable SSL for connections to S3.man
--s3-use-deep-archiveStore volumes using Glacier Deep Archive S3 when uploading to Amazon S3.man
--s3-use-glacierStore volumes using Glacier Flexible Storage when uploading to Amazon S3.man
--s3-use-glacier-irStore volumes using Glacier Instant Retrieval when uploading to Amazon S3.man
--s3-use-iaStore volumes using Standard - Infrequent Access when uploading to Amazon S3.man
--s3-use-onezone-iaStore volumes using One Zone - Infrequent Access when uploading to Amazon S3.man
--s3-use-rrsStore volumes using Reduced Redundancy Storage when uploading to Amazon S3.man
--s3-use-server-side-encryptionEnable server-side encryption.man
--s3-use-server-side-kms-encryptionman
--s3-kms-key-id key_idman
--s3-kms-grant grantEnable server-side encryption using key management service.man
--skip-if-no-change commandBy default an empty incremental backup is created if no files have changed.man
--scp-command command(only ssh pexpect backend with --use-scp enabled)man
--sftp-command command(only ssh pexpect backend)man
--sign-key key-idThis option can be used when backing up, restoring or verifying.man
--ssh-askpassTells the ssh backend to prompt the user for the remote system password, if it was not defined in target url and no BACKEND_PASSWORD env var is set.man
--ssh-options 'options'Allows you to pass options to the ssh backend.man
--ssl-cacert-file file(only webdav & lftp backend) Provide a cacert file for ssl certificate verification.man
--ssl-cacert-path path/to/certs/(only webdav backend and python 2.7.9+ OR lftp+webdavs and a recent lftp) Provide a path to a folder containing cacert files for ssl certificate verification.man
--ssl-no-check-certificate(only webdav & lftp backend) Disable ssl certificate verification.man
--swift-storage-policyUse this storage policy when operating on Swift containers.man
--metadata-sync-mode modeThis option defaults to 'partial', but you can set it to 'full'man
--tempdir directoryUse this existing directory for duplicity temporary files instead of the system default, which is usually the /tmp directory.man
-t, --time, --restore-time timeSpecify the time from which to restore or list files.man
--time-separator charUse char as the time separator in filenames instead of colon (":").man
--timeout secondsUse seconds as the socket timeout value if duplicity begins to timeout during network operations.man
--use-agentIf this option is specified, then --use-agent is passed to the GnuPG encryption process and it will try to connect to gpg-agent before it asks for a passphrase for --encrypt-key or --sign-key if…man
--use-gpgsmIf this option is specified, then GnuPG encryption process uses binary gpgsm instead of gpg.man
--verbosity, -vlevel levelSpecify output verbosity level (log level).man
--versionPrint duplicity's version and quit.man
--volsize numberChange the volume size to number MB.man
--webdav-headers csvThe input format is comma separated list of key,value pairs.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.