tarsnap-keygen

Generate Tarsnap encryption keys

TLDR

Generate new key
$ tarsnap-keygen --keyfile [/root/tarsnap.key] --user [[email protected]] --machine [hostname]
Generate with passphrase
$ tarsnap-keygen --keyfile [/root/tarsnap.key] --user [[email protected]] --machine [hostname] --passphrased

SYNOPSIS

tarsnap-keygen [options]

DESCRIPTION

tarsnap-keygen generates encryption keys for Tarsnap backup service. Creates machine-specific keys for encrypted, deduplicated backups. Keys are required for tarsnap operations.

PARAMETERS

--keyfile path

Output key file path.
--user email
Tarsnap account email.
--machine name
Machine name identifier.
--passphrased
Encrypt key with passphrase.

INSTALL

sudo pacman -S tarsnap
brew install tarsnap
nix profile install nixpkgs#tarsnap

CAVEATS

Keep the key file secure and backed up. Losing the key means losing access to backups.

SEE ALSO

tarsnap(1)