From tarbackup
In a nutshell, the tarbackup service is more or less a free private SFTP server for people to put their encrypted backups on. If you have a crash or fire, you can download your backup, decrypt it, and restore it.
Go to http://tarbackup.com and create an account for free.
Backup your system
mkdir /backups
tar -cvpzf /backups/fullbackup.tar.gz --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backups .
Encrypt the tar file
To encrypt your backup, you need a secret key. You need to keep this key safe on a usb drive or in your email. You can’t restore your files without the key!
Create your secret encryption key
echo mysupersecretkey > /backups/key
Encrypt your backup with openssl
openssl enc -aes-256-cbc -salt -in fullbackup.tar.gz -out fullbackup.tar.gz.enc -pass file:/backups/key
Upload your backup to tarbackup.com
cd /backups
sftp USER@tarbackup.com:/storage/
put fullbackup.tar.gz.enc
quit
Restoring your data
Download your data from tarbackup via sftp
mkdir /restores
cd /restores
sftp USER@tarbackup.com:/storage/
ls
get fullbackup.tar.gz.enc
quit
Decrypt the file
openssl enc -d -aes-256-cbc -in fullbackup.tar.gz.enc -out fullbackup.tar.gz -pass file:/path/to/secret/password.txt
Extract your data
tar -xvzf fullbackup.tar.gz -C /
From tarbackup