# 使用 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
- **版本:** 0.5.0
- **来源摘要:** Tarsnap wrapper which expires backups using a gfs-scheme
- **主页:** <https://github.com/miracle2k/tarsnapper>
- **最后更新:** 2026-07-14T17:14:17+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tarsnapper (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.5.0
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
