Duplicity is one of the most
flexible data backup application software available to backup entire directories in a tar format and then encrypts them using the GPG. This ensures that the data cannot be viewed or tampered while in transit by any third-party.
This means the data is not stored in plain text and only the owner of the GPG key will be able to decrypt the information. This adds to the security measures and eliminates possibilities of any security lapses while storing in multiple locations. GPG applies strict hash checking to make sure there is no data lost while in transmission.
You must download the Duplicity source files from the launchpad.net and store them to the home directory. Create a package directory and upload the source. Use command python setup.py install. Create SSH keys to authenticate with the remote system and GPG to encrypt the data before transfer.
Create a root password configured on the
VPS servers to which you intend to transfer your files. You can do it by logging in via SSH issuing command: passwd. You can also create password less SSH key with the default settings. Create a folder of files to be backed up and run commands. Move the files to the remote server using sftp to replicate the functionalities of ftp.