# 使用 Homebrew, chocolatey, Nix, pacman, zypper, scoop 安装 velero

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

## 安装

```sh
sudo av install brew:velero
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install velero
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#velero
```

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

- pacman (92%):

```sh
sudo pacman -S velero
```

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

- zypper (92%):

```sh
sudo zypper install velero
```

  证据: openSUSE Tumbleweed package metadata: velero from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install velero
```

  证据: Chocolatey community package catalog: velero from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.102','registrychangesview'

- Scoop (92%):

```sh
scoop install main/velero
```

  证据: Scoop official bucket manifest trees: bucket/velero.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:velero
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/velero>
- **版本:** 1.18.2
- **来源摘要:** Disaster recovery for Kubernetes resources and persistent volumes
- **主页:** <https://velero.io/>
- **仓库:** <https://github.com/velero-io/velero>
- **上游文档:** <https://velero.io/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/velero-io/velero/archive/refs/tags/v1.18.2.tar.gz>
- **最后更新:** 2026-07-26T00:30:01+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- velero (cli)
- velero (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.18.2
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/velero-io/velero
- 检测到的最新版本: v1.18.2 (当前)
## 项目历史与用法

Velero is a Kubernetes backup, restore, disaster-recovery, and migration system. It runs a server component in the cluster plus a local CLI, stores backup metadata in object storage, and integrates with volume snapshots or file-system backup tools for persistent volume data.

### 项目历史

Velero began as Heptio Ark, an open-source project from Heptio for backing up Kubernetes objects and persistent volumes. The older Ark documentation described the same core use cases that still define Velero: disaster recovery, pre-operation snapshots, and selective restore by object type, namespace, or labels.

After VMware acquired Heptio, the project was renamed from Heptio Ark to Velero in the v0.11.0 release line in early 2019. The migration guide documents the operational renaming: the CLI moved from `ark` to `velero`, the default namespace and service account changed, CRDs moved to the `velero.io` API group, and image names changed.

Velero has continued as a Kubernetes-native data-protection project under VMware Tanzu and later Broadcom stewardship. In 2026 Broadcom moved the project toward vendor-neutral governance by donating it to the CNCF Sandbox, with CNCF and Broadcom coverage presenting the move as a way to widen community trust and collaboration.

### 采用历史

Velero became one of the default open-source answers for cluster-level Kubernetes backup because it works at the Kubernetes API layer instead of treating etcd or a storage array as the only source of truth. That let platform teams back up resource definitions, restore namespaces, clone environments, and migrate workloads across clusters.

Its ecosystem grew around cloud-provider plugins, object stores, volume snapshot integrations, Restic/Kopia-style file-system backups, and operational guides from cloud vendors. AWS, Harbor, Tanzu, and many Kubernetes tutorials describe Velero as a standard tool for protecting cluster resources and persistent volumes.

The CNCF Sandbox move in 2026 is important historically because Kubernetes backup spans vendors, clouds, and storage systems. Neutral governance makes Velero more plausible as shared infrastructure rather than a VMware/Broadcom-adjacent utility.

### 使用方式

Operators install the server into a Kubernetes cluster, configure backup storage and credentials, then use the `velero` CLI to create backups, schedules, restores, and plugin configuration. Common workflows include scheduled namespace backups, ad-hoc snapshots before upgrades, restoring deleted resources, cloning a production namespace into a development cluster, and seeding migrations.

Velero is strongest when users understand the boundary between Kubernetes resources and application data. It captures API resources directly, while persistent volumes depend on snapshot support, file-system backup, or data-mover integrations. That distinction is why serious Velero runbooks also document database-native backup choices and restore testing.

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

For package users, `velero` is the CLI half of a larger cluster service, but it is the interface people reach for during stressful incidents. Its command surface is part backup tool, part migration tool, and part Kubernetes recovery console.

### 时间线

- 2018: Heptio Ark documentation describes Kubernetes object and persistent-volume backup and restore.
- December 2018: VMware acquires Heptio, bringing Ark into the VMware cloud-native portfolio.
- 2019: Ark is renamed Velero in the v0.11.0 release line.
- 2020s: Velero becomes a common open-source option for Kubernetes backup, migration, and disaster recovery across cloud and on-prem environments.
- 2026: Broadcom donates Velero to the CNCF Sandbox, shifting the project toward vendor-neutral governance.

### Related projects

- Velero sits next to cloud snapshot APIs, CSI VolumeSnapshot, Restic, Kopia, Kasten, Portworx backup products, Trilio, Stash, and storage-native backup systems. Its distinguishing role is Kubernetes API-aware recovery rather than only block-storage replication.

### 来源

- <https://aws.amazon.com/blogs/containers/back-up-and-restore-your-amazon-eks-cluster-resources-using-velero/>
- <https://blogs.vmware.com/tanzu/velero-v0-11-delivers-an-open-source-tool-to-back-up-and-migrate-kubernetes-clusters/>
- <https://github.com/cncf/sandbox/issues/457>
- <https://github.com/vmware-tanzu/velero/blob/main/changelogs/CHANGELOG-0.11.md>
- <https://velero.io/>
- <https://velero.io/docs/v0.7.0/about/>
- <https://velero.io/docs/v1.0.0/migrating-to-velero/>
- <https://www.cncf.io/news/2026/04/02/the-new-stack-why-broadcom-gave-velero-to-the-cncf-sandbox-and-what-it-means-for-kubernetes-data-protection/>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/velero/config.json

## Credential files

- Unix: ./credentials-velero
## 源数据库详情

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

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

- Nix - velero: normalized package name match | nixpkgs package indexes: pkgs/by-name/ve/velero/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - velero - 1.18.2-1: normalized package name match | Arch Linux sync databases: velero from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Backup and migrate Kubernetes applications and their persistent volumes | https://velero.io
- zypper - velero - 1.18.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: velero from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Backup program with deduplication and encryption | https://velero.io
- zypper - velero-bash-completion - 1.18.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: velero-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for velero | https://velero.io
- zypper - velero-fish-completion - 1.18.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: velero-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for velero | https://velero.io
- zypper - velero-zsh-completion - 1.18.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: velero-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for velero | https://velero.io
- Chocolatey - velero: normalized package name match | Chocolatey community package catalog: velero from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.102','registrychangesview'
- Scoop - main/velero: normalized package name match | Scoop official bucket manifest trees: bucket/velero.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure 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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ingress2gateway](https://pkg.so/zh-hans/brew/ingress2gateway/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes, migration.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [helm](https://pkg.so/zh-hans/brew/helm/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [colima](https://pkg.so/zh-hans/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k9s](https://pkg.so/zh-hans/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [kustomize](https://pkg.so/zh-hans/brew/kustomize/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [argocd](https://pkg.so/zh-hans/brew/argocd/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k3d](https://pkg.so/zh-hans/brew/k3d/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cf-terraforming](https://pkg.so/zh-hans/brew/cf-terraforming/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, migration.
- [gwctl](https://pkg.so/zh-hans/brew/gwctl/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.

## Combined YAML source

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


## 来源

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