Quickstart

Get Gaet installed, connect it to a local PostgreSQL database, and make your first snapshot.

Before you begin

Gaet is a command-line toolkit for managing PostgreSQL backups. You will need a working PostgreSQL installation and access to the database you want to protect.

Source of truth

These docs describe the current Go engine in the Gaet repository. When in doubt, verify behavior with gaet doctor and gaet status.

Install Gaet

Download the binary for your platform from the latest release page ↗, or use the install script, then confirm the binary is available:

gaet --version

Initialize a workspace

From the machine that will create backups, initialize Gaet:

gaet init

The initializer creates the local configuration and backup workspace. Follow its prompts, or use gaet init --yes for a non-interactive setup.

Create your first backup

gaet push

Inspect the result with:

gaet status
gaet snapshots