#################################################################################################################################### # Configuration Definition #################################################################################################################################### #################################################################################################################################### # Commands # # Define valid commands. # # log-file: # Does this command log to a file? This is the default behavior, but it can be overridden in code by calling logFileInit(). The # default is true. # # log-level-default: # Defines the log level to use for default messages that are output for every command. For example, the log message that lists # all the options passed is usually output at the info level, but that might not be appropriate for some commands, such as info, # Allow the log level to be lowered so these common messages will not be emitted where they might be distracting. # # lock-required: # Does the command require a lock? This doesn't mean a lock can't be taken explicitly later, just controls whether a lock will be # acquired as soon as the command starts. # # lock-remote-required: # Does the command require a lock on the remote? The lock will only be acquired for process id 0. # # lock-type: # What type of lock is required (archive, backup, or all)? # # parameter-allowed # Does the command allow parameters? If not then the config parser will automatically error out if parameters are detected. If so, # then the command is responsible for ensuring that the parameters are valid. #################################################################################################################################### command: annotate: command-role: remote: {} lock-remote-required: true lock-required: true lock-type: backup log-file: false archive-get: command-role: async: {} local: {} remote: {} lock-type: archive log-file: false parameter-allowed: true archive-push: command-role: async: {} local: {} remote: {} lock-remote-required: true lock-type: archive log-file: false parameter-allowed: true backup: command-role: local: {} remote: {} lock-remote-required: true lock-required: true lock-type: backup check: command-role: remote: {} log-file: false expire: command-role: remote: {} lock-remote-required: true lock-required: true lock-type: backup help: log-file: false log-level-default: DEBUG parameter-allowed: true info: command-role: remote: {} log-file: false log-level-default: DEBUG manifest: command-role: remote: {} internal: true log-file: false log-level-default: DEBUG repo-get: command-role: remote: {} log-file: false log-level-default: DEBUG parameter-allowed: true repo-ls: command-role: remote: {} log-file: false log-level-default: DEBUG parameter-allowed: true repo-rm: command-role: remote: {} internal: true log-file: false log-level-default: DEBUG parameter-allowed: true restore: command-role: local: {} remote: {} lock-required: true lock-type: restore server: {} server-ping: log-file: false parameter-allowed: true stanza-create: command-role: remote: {} lock-remote-required: true lock-required: true lock-type: all stanza-delete: command-role: remote: {} lock-remote-required: true lock-required: true lock-type: all stanza-rekey: command-role: remote: {} internal: true lock-remote-required: true lock-required: true lock-type: all stanza-upgrade: command-role: remote: {} lock-remote-required: true lock-required: true lock-type: all start: {} stop: {} verify: command-role: local: {} remote: {} version: log-file: false log-level-default: DEBUG #################################################################################################################################### # Option Groups # # Options groups allow related options to be grouped together so, e.g. test and valid, operations can be run across all options in # the group. #################################################################################################################################### optionGroup: pg: {} repo: {} #################################################################################################################################### # Options # # Contains the defines for options: which commands the option can/cannot be specified, for which commands it is required, default # settings, types, ranges, whether the option may be negated, whether it has dependencies, etc. The initial section is the global # section, meaning that the defines defined there apply to all commands listed for the option. # # inherit: # Inherit all definitions for the referenced option. Any definitions can be overridden. # # command: # List of commands the option can be used with. An empty hash signifies that the command does not deviate from the option # defaults. Otherwise, overrides can be specified. # # If another option is referenced (e.g. command: repo-type) then the list of commands will be copied from the referenced option. # # Shortcuts for including multiple commands: # +inherit: