WAL-G archives and restores PostgreSQL, MySQL/MariaDB, and SQL Server, with beta support for MongoDB and Redis, storing backups in cloud object storage.
Overview
WAL-G is a command-line archival and restoration tool aimed at databases that run in cloud environments. It succeeds WAL-E with different compression, parallelism, and backup semantics, and targets PostgreSQL, MySQL/MariaDB, and Microsoft SQL Server, plus beta coverage for MongoDB and Redis and additional engines documented separately.
For PostgreSQL it can use LZ4, LZMA, ZSTD, or Brotli compression, multiple processors, and non-exclusive base backups. Backups land in configurable remote storage via environment variables or config files in formats supported by Viper, with optional client-side encryption through libsodium, OpenPGP, Yandex Cloud KMS, and related options.
Operators list, retain, prune, and fetch backups with shared commands such as backup-list and delete, plus engine-specific backup and WAL workflows. Storage can be inspected directly through wal-g st helpers, and metrics may be published to StatsD when configured.
Precompiled Linux amd64 binaries ship under Releases using names like wal-g-pg with OS suffixes, and bash or zsh shell completion is available. Documentation covers per-database install, configuration, and usage, including Greenplum and other variants.
Key features
- Multi-database backup and restore
- LZ4, LZMA, ZSTD, Brotli compression
- Cloud object storage targets
- Config via env or file
- Optional backup encryption
- Backup retention and deletion
- Direct storage inspection commands
- Precompiled Linux binaries
Use cases
- PostgreSQL disaster recovery
- Continuous WAL archiving to cloud
- MySQL and MariaDB cloud backups
- Managing backup retention policies