Secure remote backup

I want to backup a system to remote drive. I want all of my date to be encrypted before it leaves my local machine and stored encrypted. I do not want to store the files locally.

I am thinking about using some driver to remote mount a filesystem. Only the authentication needs to be encrypted not the data connection itself.

Then I could just use

tar -cj directory | openssl des3 -salt > /remote/encrypted.tarfile
cat /remote/encrypted.tarfile | openssl des3 -d -salt | tar -xjv


Leave a Reply