CLI reference
A practical reference for every command exposed by the Gaet CLI.
Global options
-q, --quiet | --plain | --json | -y, --yesUse gaet help <command> for command-specific help. JSON output is command-specific.
Command flags
CommandFlags
gaet init--preset=name, -y, --yesgaet push--dry-run, --json, --auto[=N], --cron, --notify=URLgaet fetch--dry-run, --json, -y, --yesgaet restore[target|latest], --dry-run, --json, -y, --yesgaet snapshots--jsongaet status--jsongaet check--jsongaet doctor--jsongaet diff--jsongaet remoteshow, set-url, remove, optional URLgaet get[KEY...], --list, --jsongaet setKEY=value [...]gaet auto[interval_hours], default 6gaet serve--port=6161, --host=127.0.0.1, --no-open, --auto, --stopgaet log[N], --filter=KW, --since=DATE, --followgaet completionbash, zsh, fish, powershellgaet update--force, -fgaet uninstall--save, -y, --yesCommands
CommandPurpose
gaet initInteractive setup wizardgaet pushBackup local database to remotegaet fetchOverwrite local database from remotegaet restoreRestore a local snapshotgaet snapshotsList local snapshotsgaet statusShow sync statusgaet checkValidate configuration and connectionsgaet doctorRun a comprehensive health checkgaet diffCompare local and remote table stategaet remoteManage the remote URLgaet getRead configuration valuesgaet setWrite configuration valuesgaet exportPrint configuration as shell exportsgaet autoEnable scheduled backupsgaet stopStop the backup schedulergaet serveStart the web dashboardgaet logView backup history logsgaet completionGenerate shell completiongaet updateUpdate Gaetgaet uninstallRemove Gaet