crowdsec/docs/cscli/cscli_backup.md
erenJag 4f9d252a15
Add the documentation into crowdsec repo (#3)
Add the documentation into crowdsec repo
2020-05-15 16:58:24 +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