Skip to main content
Version: v1.6.0

cscli config backup

cscli config backup

Backup current config

Synopsis

Backup the current crowdsec configuration 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 backup "directory" [flags]

Examples

cscli config backup ./my-backup

Options

  -h, --help   help for backup

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