How to Install Duplicity on RHEL 7 Easily and Quickly
Installing
Installing Duplicity
For the Duplicity can run, you must Install depedencis
# yum install gcc librsync-devel python-devel python-lockfile wget
![]() |
Install Duplicity on RHEL 7 |
Installing Duplicity
# yum install duplicity -y
Configure
Generate Key
This feature
# gpg --gen-key # gpg --list-keys
Trying
Encrypt all file in folder
# PASSPHRASE=[passphrase] duplicity --encrypt-key [encrypt key] [Source] [Destination] # PASSPHRASE=123456 duplicity --encrypt-key [your-encrypt key] /home/kitsake/Source file:///home/kitsake/Destination
Decrypt file your choice
# PASSPHRASE=[passphrase] duplicity --file-to-restore [filename] [SourceEncrypt] [DestinationDecript] # PASSPHRASE=123456 duplicity --file-to-restore kitsake file:///home/kitsake/Destination /home/kitsake/Restore
Decrypt all file
# PASSPHRASE=[passphrase] duplicity --file-to-restore [foldername] [SourceEncrypt] [DestinationDecript] # PASSPHRASE=123456 duplicity --file-to-restore script file:///home/kitsake/Destination /home/kitsake/Restore/script
Post a Comment for "How to Install Duplicity on RHEL 7 Easily and Quickly"