Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 wal-g

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wal-g

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#wal-g

nixpkgs package indexes · pkgs/by-name/wa/wal-g/package.nix · 来源: api.github.com

概览

软件包摘要

Archival restoration tool for databases

命令和别名

  • wal-g-etcd
  • wal-g-fdb
  • wal-g-gp
  • wal-g-mongo
  • wal-g-mysql
  • wal-g-pg
  • wal-g-redis
  • wal-g-sqlserver

历史

项目历史与用法

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.

时间线

  • 2017-08-18: WAL-G v0.1.0 was released on GitHub, the same day Citus published its introduction of WAL-G as a Go successor to WAL-E.
  • 2017-12-19: v0.1.3 added encryption support and delta backups.
  • 2018-11-13: v0.2.0 introduced WAL-delta technology and page-prefault work for faster restore/replay workflows.
  • 2024-03-17: v3.0.0 shipped as a major accumulated release.
  • 2024-08-08: v3.0.3 added full OrioleDB support.
  • 2025-01-10: v3.0.5 listed Cloudberry database support and MongoDB 8.0 support among its major features.
  • 2026-01-21: v3.0.8 continued the 3.x stable line with infrastructure, PostgreSQL, Redis, MongoDB, Greenplum/Cloudberry, and other database updates.

Related projects

  • WAL-E is the direct predecessor in concept and archive model, while pgBackRest and Barman are adjacent PostgreSQL backup systems. WAL-RUS is a later Rust implementation designed for WAL-G-compatible PostgreSQL archival with a different memory-management profile.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:database,sql,server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pgpass~/.aws/credentials

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wal-g-etcdcli全局可执行文件
wal-g-fdbcli全局可执行文件
wal-g-gpcli全局可执行文件
wal-g-mongocli全局可执行文件
wal-g-mysqlcli全局可执行文件
wal-g-pgcli全局可执行文件
wal-g-rediscli全局可执行文件
wal-g-sqlservercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.0.8
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v3.0.8

https://github.com/wal-g/wal-g

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namewal-g
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

wal-g

nix profile install nixpkgs#wal-g
  • normalized package name match
  • 匹配方式:Wal G
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wa/wal-g/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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