# 使用 Homebrew, Nix 安装 tarsnapper

查看 tarsnapper 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:tarsnapper
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tarsnapper
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tarsnapper
```

  证据: nixpkgs package indexes: pkgs/by-name/ta/tarsnapper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tarsnapper
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tarsnapper>
- **版本:** 0.5.0
- **来源摘要:** Tarsnap wrapper which expires backups using a gfs-scheme
- **主页:** <https://github.com/miracle2k/tarsnapper>
- **仓库:** <https://github.com/miracle2k/tarsnapper>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/4e/c5/0a08950e5faba96e211715571c68ef64ee37b399ef4f0c4ab55e66c3c4fe/tarsnapper-0.5.0.tar.gz>
- **最后更新:** 2026-07-14T17:14:17+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tarsnapper (cli)
- tarsnapper (别名)

## 依赖

- libyaml
- python@3.14
- tarsnap

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.0
- 管理器更新时间: 2026-07-14
- 本地数据: OK
- 上游仓库: https://github.com/miracle2k/tarsnapper
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Tarsnapper is a command-line wrapper around Tarsnap that defines backup jobs and expires old archives according to flexible Grandfather-father-son-style retention intervals.

### 项目历史

The public repository dates to 2010. Tarsnapper developed as a Python utility for describing multiple backup jobs in YAML and for applying retention rules to archives whether or not Tarsnapper created them. Its design avoids fixed weekly or monthly generations and instead chooses archives that best satisfy user-supplied time deltas.

### 采用历史

A Debian changelog records an initial package release in 2012, while the official README documents pip installation. The supplied metadata records current Homebrew and Nix packages, reflecting the tool's continued niche in Unix backup automation.

### 使用方式

Users can run a one-off backup with --target, --sources, and --deltas, or pass a YAML job file with -c. The make command creates a backup and applies retention; expire can prune existing archive sets independently, and --dry-run previews deletions. Tarsnap itself remains responsible for its configuration and keyfile.

### 为什么软件包爱好者会关心

Tarsnapper is a package-nerd utility because it converts a hosted backup CLI into reproducible cron-friendly jobs with explicit retention policy, while remaining composable with archives created by other scripts.

### 时间线

- 2010: The public Tarsnapper repository was created and version 0.1 was tagged.
- 2012: The Debian changelog recorded an initial package release.
- 2020: Version 0.5 was tagged after continued retention-rule maintenance.
- Current package metadata: Homebrew and Nix distribute Tarsnapper.

### Related projects

- Tarsnap provides the underlying encrypted backup service and command; the README contrasts Tarsnapper's retention approach with tarsnap-generations.

### 来源

- <https://github.com/miracle2k/tarsnapper#readme>
- <https://github.com/miracle2k/tarsnapper/blob/master/debian/changelog>
- <https://github.com/miracle2k/tarsnapper/tags>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tarsnapper
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - tarsnapper: normalized package name match | nixpkgs package indexes: pkgs/by-name/ta/tarsnapper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched archive or compression metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [tarsnap](https://pkg.so/zh-hans/brew/tarsnap/) - Runtime dependency declared by Homebrew.
- [qrkey](https://pkg.so/zh-hans/brew/qrkey/) - Shares pkgdb curated category or tags: backup, cli, security.
- [tarsnap-gui](https://pkg.so/zh-hans/brew/tarsnap-gui/) - Shares pkgdb curated category or tags: backup, cli, security, tarsnap.
- [skm](https://pkg.so/zh-hans/brew/skm/) - Shares pkgdb curated category or tags: backup, cli, security.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [p11-kit](https://pkg.so/zh-hans/brew/p11-kit/) - Shares pkgdb curated category or tags: cli, security.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Shares pkgdb curated category or tags: cli, security.
- [bandit](https://pkg.so/zh-hans/brew/bandit/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, libyaml, python, python-3-14, security.
- [cve-bin-tool](https://pkg.so/zh-hans/brew/cve-bin-tool/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, libyaml, python, python-3-14, security.
- [cycode](https://pkg.so/zh-hans/brew/cycode/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, libyaml, python, python-3-14, security.

## Combined YAML source

View the package source record on GitHub. [combined/tarsnapper.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tarsnapper.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
