Skip to main content
Version: Next

cscli config restore

cscli config restore

Restore config in backup "directory"

Synopsis

Restore the crowdsec configuration from specified backup "directory" including:

  • Main config (config.yaml)
  • Simulation config (simulation.yaml)
  • Profiles config (profiles.yaml)
  • List of scenarios, parsers, postoverflows and collections that are up-to-date
  • Tainted/local/out-of-date scenarios, parsers, postoverflows and collections
  • Backup of API credentials (local API and online API)
cscli config restore "directory" [flags]

Options

  -h, --help   help for restore

Options inherited from parent commands

      --color string    Output color: yes, no, auto (default "auto")
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config.yaml")
--debug Set logging to debug
--error Set logging to error
--info Set logging to info
-o, --output string Output format: human, json, raw
--trace Set logging to trace
--warning Set logging to warning

SEE ALSO