# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 bupstash

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

## 安装

```sh
sudo av install brew:bupstash
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bupstash
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bupstash
```

  证据: MacPorts ports tree: sysutils/bupstash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bupstash
```

  证据: Alpine Linux edge package indexes: bupstash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#bupstash
```

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

- pacman (92%):

```sh
sudo pacman -S bupstash
```

  证据: Arch Linux sync databases: bupstash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:bupstash
- **软件包管理器:** Homebrew
- **版本:** 0.12.0
- **来源摘要:** Easy and efficient encrypted backups
- **主页:** <https://bupstash.io>
- **仓库:** <https://github.com/andrewchambers/bupstash>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bupstash (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Bupstash is a Rust backup tool focused on encrypted, deduplicated, incremental backups with client-side encryption and remote repositories over SSH. It occupies the same practical space as modern deduplicating backup CLIs but makes encrypted metadata, queryable tags, and offline decryption keys central features.

### 项目历史

The public repository was created in August 2020, and Andrew Chambers introduced Bupstash publicly in November 2020. The README and website describe a beta-stage tool designed for efficient deduplication, strong privacy, offline decryption keys, encrypted tag search, slow-network performance, restricted remote access controls, and low memory use.

The technical overview explains the implementation model: arbitrary data streams are chunked, deduplicated, encrypted client side, stored locally or remotely, and indexed with encrypted metadata. The design uses keyed hashes for addressing chunks, a rolling hash for split points, libsodium cryptography, hash trees for large streams, and client-side metadata sync for queries.

### 采用历史

Bupstash gained enough command-line backup interest to be packaged across several ecosystems; the input metadata records apk, Homebrew, MacPorts, Nix, and Arch packages. Its adoption is narrower than older tools such as bup or Borg, but it has a clear niche among users who want encrypted deduplication without operating a large backup service.

### 使用方式

Typical usage starts by initializing a repository, creating a key file, setting `BUPSTASH_REPOSITORY` and `BUPSTASH_KEY`, then using commands such as `put`, `list`, `get`, `diff`, `restore`, `rm`, and `gc`. Bupstash can store file trees, tar streams, and command output, and its `put` command benefits from avoiding already-sent file content.

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

Bupstash is significant because it shows the post-Borg/Restic generation of backup tooling: single-binary CLI distribution, strong default encryption, SSH-friendly self-hosting, and deduplication that still works with encrypted data. Its key-separation model is especially attractive for package nerds thinking about ransomware-resistant unattended backups.

### 时间线

- 2020-08: Public GitHub repository created.
- 2020-11-20: Introductory Bupstash blog post published.
- 2021: Project documentation covered garbage collection, encrypted metadata, and operational guides.
- 2026: Homebrew metadata lists Bupstash as a packaged encrypted-backup CLI.

### Related projects

- Bupstash is related to bup by name and backup focus, and to Borg, Restic, Attic, Tarsnap, Duplicity, and rdiff-backup as part of the wider deduplicating and encrypted backup-tool family.

### 来源

- <https://acha.ninja/blog/introducing_bupstash/>
- <https://bupstash.io/>
- <https://bupstash.io/doc/guides/Getting%20Started.html>
- <https://bupstash.io/doc/man/bupstash.html>
- <https://github.com/andrewchambers/bupstash>
- <https://raw.githubusercontent.com/andrewchambers/bupstash/master/doc/technical_overview.md>
- source_facts.package-manager


## 安全说明

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

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

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

- Nix - bupstash: normalized package name match | nixpkgs package indexes: pkgs/by-name/bu/bupstash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - bupstash - 0.12.0-r7: normalized package name match | Alpine Linux edge package indexes: bupstash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Easy and efficient encrypted backups | https://bupstash.io/
- apk - bupstash-doc - 0.12.0-r7: normalized package name match | Alpine Linux edge package indexes: bupstash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Easy and efficient encrypted backups (documentation) | https://bupstash.io/
- pacman - bupstash - 0.12.0-4: normalized package name match | Arch Linux sync databases: bupstash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool for encrypted backups | https://bupstash.io
- MacPorts - bupstash: normalized package name match | MacPorts ports tree: sysutils/bupstash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/bupstash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bupstash.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
