Skip to main content

CLI

This page provides a reference for the backupman command-line interface.

Main Command

The main backupman command is used to manage backups.

Usage:

backupman [command]

Global Flags:

FlagDescriptionDefault
-c, --configPath to the config file../config.yml
-h, --helpHelp for backupman.

Commands

completion

Generate the autocompletion script for the specified shell.

Usage:

backupman completion [shell]

health

Perform a health check on the backup system.

Usage:

backupman health

retry

Retry a failed backup.

Usage:

backupman retry [id]

Arguments:

ArgumentDescription
idThe ID of the failed backup to retry.

run

Run the backup.

Usage:

backupman run

serve

Serve the backup manager.

Usage:

backupman serve

Flags:

FlagDescriptionDefault
-p, --portPort to run the server on.8080

version

Display the version information of backupman.

Usage:

backupman version