# cat /etc/redhat-release 
CentOS release 6.8 (Final)


# yum -y install duplicity
 
# duplicity --help
 
# duplicity --help
 
Duplicity 0.6 series is being deprecated:
See http://www.nongnu.org/duplicity/
 
Usage: 
  duplicity [full|incremental] [options] source_dir target_url
  duplicity [restore] [options] source_url target_dir
  duplicity verify [options] source_url target_dir
  duplicity collection-status [options] target_url
  duplicity list-current-files [options] target_url
  duplicity cleanup [options] target_url
  duplicity remove-older-than time [options] target_url
  duplicity remove-all-but-n-full count [options] target_url
  duplicity remove-all-inc-of-but-n-full count [options] target_url
 
Backends and their URL formats:
  cf+http://container_name
  file:///some_dir
  ftp://user[:password]@other.host[:port]/some_dir
  ftps://user[:password]@other.host[:port]/some_dir
  hsi://user[:password]@other.host[:port]/some_dir
  imap://user[:password]@other.host[:port]/some_dir
  rsync://user[:password]@other.host[:port]::/module/some_dir
  rsync://user[:password]@other.host[:port]/relative_path
  rsync://user[:password]@other.host[:port]//absolute_path
  s3://other.host/bucket_name[/prefix]
  s3+http://bucket_name[/prefix]
  scp://user[:password]@other.host[:port]/some_dir
  ssh://user[:password]@other.host[:port]/some_dir
  swift://container_name
  tahoe://alias/directory
  webdav://user[:password]@other.host/some_dir
  webdavs://user[:password]@other.host/some_dir
  gdocs://user[:password]@other.host/some_dir
  mega://user[:password]@other.host/some_dir
  dpbx:///some_dir
 
Commands:
  cleanup <target_url>
  collection-status <target_url>
  full <source_dir> <target_url>
  incr <source_dir> <target_url>
  list-current-files <target_url>
  restore <target_url> <source_dir>
  remove-older-than <time> <target_url>
  remove-all-but-n-full <count> <target_url>
  remove-all-inc-of-but-n-full <count> <target_url>
  verify <target_url> <source_dir>
 
Options:
  -h, --help            show this help message and exit
  --allow-source-mismatch
  --archive-dir=path    
  --asynchronous-upload
  --compare-data        
  --dry-run             
  --encrypt-key=gpg-key-id
  --encrypt-secret-keyring=path
  --encrypt-sign-key=gpg-key-id
  --exclude=shell_pattern
  --exclude-device-files
  --exclude-filelist=filename
  --exclude-filelist-stdin
  --exclude-globbing-filelist=filename
  --exclude-if-present=filename
  --exclude-other-filesystems
  --exclude-regexp=regular_expression
  --extra-clean         
  --file-prefix=FILE_PREFIX
  --file-prefix-manifest=FILE_PREFIX_MANIFEST
  --file-prefix-archive=FILE_PREFIX_ARCHIVE
  --file-prefix-signature=FILE_PREFIX_SIGNATURE
  -r path, --file-to-restore=path
  --force               
  --ftp-passive         
  --ftp-regular         
  --full-if-older-than=time
  --gio                 
  --gpg-options=options
  --hidden-encrypt-key=gpg-key-id
  --ignore-errors       
  --imap-mailbox=imap_mailbox
  --include=shell_pattern
  --include-filelist=filename
  --include-filelist-stdin
  --include-globbing-filelist=filename
  --include-regexp=regular_expression
  --log-fd=file_descriptor
  --log-file=filename   
  --max-blocksize=number
  --name=backup name    
  --no-encryption       
  --no-compression      
  --no-print-statistics
  --null-separator      
  --num-retries=number  
  --numeric-owner       
  --old-filenames       
  --par2-redundancy=number
  --par2-options=options
  --progress            
  --progress-rate=number
  --pydevd              
  --rename=RENAME       
  -t time, --restore-time=time, --time=time
  --rsync-options=options
  --s3-european-buckets
  --s3-use-rrs          
  --s3-use-new-style    
  --s3-unencrypted-connection
  --s3-multipart-chunk-size=number
  --s3-multipart-max-procs=number
  --s3_multipart_max_timeout=number
  --s3-use-multiprocessing
  --s3-use-server-side-encryption
  --scp-command=command
  --sftp-command=command
  --cf-backend=pyrax|cloudfiles
  --short-filenames     
  --sign-key=gpg-key-id
  --ssh-askpass         
  --ssh-backend=paramiko|pexpect
  --ssh-options=options
  --ssl-cacert-file=pem formatted bundle of certificate authorities
  --ssl-no-check-certificate
  --tempdir=path        
  --timeout=seconds     
  --time-separator=char
  --use-agent           
  --use-scp             
  -v [0-9], --verbosity=[0-9]
  -V, --version         
  --volsize=number