macOS
brew install wal-glocal Homebrew formula metadata
安装
brew install wal-glocal Homebrew formula metadata
nix profile install nixpkgs#wal-gnixpkgs package indexes · pkgs/by-name/wa/wal-g/package.nix · 来源: api.github.com
概览
Archival restoration tool for databases
历史
WAL-G is a cloud-oriented database backup and restore tool best known in the PostgreSQL world, where it archives WAL segments and base backups for point-in-time recovery. It began as a Go rewrite and successor to WAL-E, the older Python tool used for continuous PostgreSQL archiving, and its identity is closely tied to faster restore paths, parallelism, compression choices, and object-storage workflows.
Citus Data introduced WAL-G publicly in August 2017 as a successor to WAL-E and described it as a complete rewrite in Go. The launch rationale was not just language churn: Citus reported restore performance improvements over WAL-E, highlighted parallel restore work, compatibility with existing WAL-E archives, and additional safety checks for incomplete restores.
The first GitHub release, v0.1.0, was published on August 18, 2017. Early 0.1 releases established the PostgreSQL-focused feature set, including encryption and delta backups in v0.1.3 in December 2017, then continued through safety and performance work around WAL prefetching, parallel reads, delta backup behavior, and WAL-E compatibility during 2018 and 2019.
WAL-G later grew beyond its original PostgreSQL-only niche. The project README now presents it as an archival and restoration tool for PostgreSQL, MySQL/MariaDB, SQL Server, MongoDB, Redis, and related database variants, with separate binaries named for target database families. The release stream also shows ecosystem expansion: v3.0.0 in March 2024 collected a large set of changes, while later 3.x releases mention OrioleDB, Cloudberry, MongoDB 8.0, Greenplum, Redis, and SQL Server work.
WAL-G's adoption followed the operational pattern created by WAL-E: use object storage as the durable archive for physical database backups and transaction logs. The WAL-E repository now calls WAL-E obsolete and points users to alternatives including WAL-G, noting that WAL-G can read, but not write, WAL-E archives and that it is a broader system supporting more databases and compression formats.
The tool became a common package-ecosystem fixture for self-managed PostgreSQL backup setups because it fits common cloud storage and PITR designs without requiring a full backup server. Community and operator writeups describe it as a practical way to stream PostgreSQL backups and WAL to S3-compatible storage and restore to a specific point in time.
By 2026, WAL-G was mature enough to be the compatibility target for newer experiments. ClickHouse's WAL-RUS announcement described WAL-G as mature, battle-tested, and well served in the PostgreSQL community, while proposing a Rust implementation mainly for more predictable memory behavior rather than for replacing WAL-G's backup model.
For PostgreSQL, WAL-G is typically wired into backup scripts and PostgreSQL archiving settings: operators run base-backup commands, push WAL segments as they are generated, and later fetch backups and WAL for recovery. Its documentation frames the PostgreSQL mode around encrypted and compressed full or incremental backups pushed to remote storage rather than staged locally.
Package nerd significance comes from the way WAL-G sits between database internals and cloud object stores. It is not a generic compression tool; it encodes the operational assumptions of WAL archiving, PITR, restore prefetching, backup retention, and compatibility with earlier WAL-E archive layouts.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Credential-bearing paths to review before unattended agent runs.
~/.pgpass~/.aws/credentials可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wal-g-etcd | cli | 全局可执行文件 | |
wal-g-fdb | cli | 全局可执行文件 | |
wal-g-gp | cli | 全局可执行文件 | |
wal-g-mongo | cli | 全局可执行文件 | |
wal-g-mysql | cli | 全局可执行文件 | |
wal-g-pg | cli | 全局可执行文件 | |
wal-g-redis | cli | 全局可执行文件 | |
wal-g-sqlserver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/wal-g/wal-g
安装元数据
| 软件包键 | brew:wal-g |
|---|---|
| 版本 | 3.0.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/wal-g |
| 主页 | https://github.com/wal-g/wal-g |
| 仓库 | https://github.com/wal-g/wal-g |
| 上游文档 | https://github.com/wal-g/wal-g#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/wal-g/wal-g/archive/refs/tags/v3.0.8.tar.gz |
| 依赖 | brotli, libsodium, lzo |
| 构建依赖 | go, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wal-g |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
wal-g
nix profile install nixpkgs#wal-g来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.