What is Gaet?

Gaet is a Go command-line tool that moves PostgreSQL data between a local database and a remote PostgreSQL database, and keeps a local snapshot of every step.

What a push does

Gaet dumps the local database with pg_dump -Fc, validates the archive with pg_restore --list, writes the snapshot to the backup directory, then resets and restores the remote database from that archive.

A fetch runs the same pipeline in reverse: dump the remote database, save a safety snapshot locally, reset the local target, and restore the remote dump into it. A restore replays a snapshot that is already on disk.

What Gaet manages

LocationContents
~/.gaet/.envConfiguration, written with 0600 permissions
~/.gaet/backups.dump snapshots, lock file, and logs
gaet.log and cron.logOperation history read by gaet log
~/.local/binUser-local launcher installed by the install script

Command surface

AreaCommands
Setupinit
Data movementpush, fetch, restore
Snapshotssnapshots
Diagnosticsstatus, check, doctor, diff, log
Configurationremote, get, set, export
Schedulingauto, stop
Interfacesserve, completion
Maintenanceupdate, uninstall

Requirements

Gaet shells out to the PostgreSQL client tools. pg_dump, pg_restore, and psql must be installed on the machine that runs Gaet, and the machine needs network access to the remote database.

Scope

Gaet is a snapshot tool, not a replication system. It does not stream changes, provide point-in-time recovery, or replace a managed backup service. The dashboard has no built-in authentication, so keep it on a trusted interface.