crowdsec/cmd/crowdsec-cli/doc/cscli_backup.md
Thibault bui Koechlin 4d306fc52b doc
2020-05-15 14:33:01 +02:00

1.1 KiB

cscli backup

Backup or restore configuration (api, parsers, scenarios etc.) to/from directory

Synopsis

This command is here to help you save and/or restore crowdsec configurations to simple replication

Examples

cscli backup save ./my-backup
cscli backup restore ./my-backup

Options

  -h, --help   help for backup

Options inherited from parent commands

  -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 - cscli allows you to manage crowdsec
  • cscli backup restore - Restore configuration (api, parsers, scenarios etc.) from directory
  • cscli backup save - Backup configuration (api, parsers, scenarios etc.) to directory
Auto generated by spf13/cobra on 15-May-2020