crowdsec/cmd/crowdsec-cli/doc/cwcli_backup_save.md
Thibault bui Koechlin 2016167654 initial import
2020-05-15 11:39:16 +02:00

1.3 KiB

cscli backup save

Backup configuration (api, parsers, scenarios etc.) to directory

Synopsis

backup command will try to save all relevant informations to crowdsec config, including :

  • List of scenarios, parsers, postoverflows and collections that are up-to-date

  • Actual backup of tainted/local/out-of-date scenarios, parsers, postoverflows and collections

  • Backup of API credentials

  • Backup of acqusition configuration

cscli backup save <directory> [flags]

Examples

cscli backup save ./my-backup

Options

  -h, --help   help for save

Options inherited from parent commands

      --cfgdir string       Configuration directory (default "/etc/crowdsec/")
  -c, --config-dir string   Configuration directory to use. (default "/etc/crowdsec/cscli/")
      --debug               Set logging to debug.
      --error               Set logging to error.
      --info                Set logging to info.
  -o, --output string       Output format : human, json, raw. (default "human")
      --warning             Set logging to warning.

SEE ALSO

  • cscli backup - Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
Auto generated by spf13/cobra on 14-May-2020