Linux command
tarsnap-keygen 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Generate new key
tarsnap-keygen --keyfile [/root/tarsnap.key] --user [email@example.com] --machine [hostname]
Generate with passphrase
tarsnap-keygen --keyfile [/root/tarsnap.key] --user [email@example.com] --machine [hostname] --passphrased
说明
tarsnap-keygen generates encryption keys for Tarsnap backup service. Creates machine-specific keys for encrypted, deduplicated backups. Keys are required for tarsnap operations.
参数
- --keyfile _path_
- Output key file path.
- --user _email_
- Tarsnap account email.
- --machine _name_
- Machine name identifier.
- --passphrased
- Encrypt key with passphrase.
FAQ
What is the tarsnap-keygen command used for?
tarsnap-keygen generates encryption keys for Tarsnap backup service. Creates machine-specific keys for encrypted, deduplicated backups. Keys are required for tarsnap operations.
How do I run a basic tarsnap-keygen example?
Run `tarsnap-keygen --keyfile [/root/tarsnap.key] --user [email@example.com] --machine [hostname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --keyfile _path_ do in tarsnap-keygen?
Output key file path.