Flags
Flags can be used with any subcommand and must be specified before any subcommand.
--help: View the program's help message.-V/--version: Print the installed version ofhoard.-c/--config-file: Path to (non-default) configuration file.-h/--hoards-root: Path to (non-default) hoards root directory.
Subcommands
- Backup:
hoard [flags...] backup [name] [name] [...]- Back up the specified hoard(s). If no
nameis specified, all hoards are backed up.
- Back up the specified hoard(s). If no
- Restore:
hoard [flags...] restore [name] [name] [...]- Restore the specified hoard(s). If no
nameis specified, all hoards are restored.
- Restore the specified hoard(s). If no
- List Hoards:
hoard list- List all configured hoards by name
- Validate:
hoard [flags...] validate- Attempt to parse the default configuration file (or the one provided via
--config-file) Exits with code0if the config is valid.
- Attempt to parse the default configuration file (or the one provided via
- Cleanup:
hoard [flags...] cleanup- Deletes all extra operation log files that are unnecessary for the check.