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.
goback [global flags] agent <command>agent run
Section titled “agent run”Run the backups until SIGTERM; SIGHUP reloads the backups from the config
goback [global flags] agent run [flags]| Flag | Description | Environment | Default |
|---|---|---|---|
--config value |
the agent’s YAML config file | GOBACK_CONFIG |
agent check
Section titled “agent check”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.
goback [global flags] agent check [flags]| Flag | Description | Environment | Default |
|---|---|---|---|
--config value |
the agent’s YAML config file | GOBACK_CONFIG |
agent status
Section titled “agent status”Print the status file of a running agent without opening the store
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 |