HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tarsnap-keygen — Generate a key file for use with Tarsnap, an online backup service. More information: <https://www.t

Submitted by: @import:tldr-pages··
0
Viewed 0 times
tarsnap-keygencommandkeyuseclifileforgenerate

Problem

How to use the tarsnap-keygen command: Generate a key file for use with Tarsnap, an online backup service. More information: <https://www.tarsnap.com/man-tarsnap-keygen.1.html>.

Solution

tarsnap-keygen — Generate a key file for use with Tarsnap, an online backup service. More information: <https://www.tarsnap.com/man-tarsnap-keygen.1.html>.

Register a machine with the Tarsnap server:
sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}}


Encrypt the key file (a passphrase will be requested twice):
sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}} --passphrased

Code Snippets

Register a machine with the Tarsnap server

sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}}

Encrypt the key file (a passphrase will be requested twice)

sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}} --passphrased

Context

tldr-pages: common/tarsnap-keygen

Revisions (0)

No revisions yet.