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
and
cat /remote/encrypted.tarfile | openssl des3 -d -salt | tar -xjv

Ref:
http://ubuntuforums.org/showthread.php?t=1071398
http://snippets.dzone.com/posts/show/341

Leave a Reply