Tarsnap
From wikinotes
Tarsnap is a tool to encrypt/backup files remotely.
You're charged for transfer, and total stored bytes.
Documentation
homepage https://www.tarsnap.com/
Locations
~/.tarsnaprc
config /etc/tarsnap/tarsnap.conf.sample
sample config
Install
pacman -S tarsnap # archlinux pkg install tarsnap # FreeBSD
Usage
tarsnap -c -f gitbox /gitrepos # create/increment backup tarsnap -d -f gitbox # delete backup tarsnap --nuke # delete all backups tarsnap -tv -f gitbox # list files in remote backup tarsnap -x -f gitbox /gitrepos # restore from tarsnap backup tarsnap --list-archives # list backups
Configuration
Config
# ~/.tarsnaprc keyfile /home/will/.tarsnap.keyEncryption Key
mkdir /usr/local/tarsnap-cache sudo chown will:will /usr/local/tarsnap-cache tarsnap-keygen --keyfile /home/will/.tarsnap.key \ --user user@domain.com `# tarsnap email account` \ --machine serenity `# arbitrary, backups categorized by machine name`