Skip to content

goback agent

Run a machine’s scheduled backups from one config file

The config file names the store once. It lists each backup with its kind and schedule. A global flag or its environment variable overrides the matching store setting in the file.

Terminal window
goback [global flags] agent <command>

Run the backups until SIGTERM; SIGHUP reloads the backups from the config

Terminal window
goback [global flags] agent run [flags]
Flag Description Environment Default
--config value the agent’s YAML config file GOBACK_CONFIG

Check the config, the store and each backup’s database

check validates the config and opens the store. It prints each job’s last run and next due time. It connects to each backup’s database and lists what the database lacks for the backup.

Terminal window
goback [global flags] agent check [flags]
Flag Description Environment Default
--config value the agent’s YAML config file GOBACK_CONFIG

Print the status file of a running agent without opening the store

Terminal window
goback [global flags] agent status [flags]
Flag Description Environment Default
--config value the agent’s YAML config file GOBACK_CONFIG
--check exit 1 if the agent is hung or a job is stale; exit 2 if there is no status to read