Skip to main content

kwil-admin setup reset

kwil-admin setup reset

To delete all of a Kwil node's data files, use the reset command.

Synopsis

To delete all of a Kwil node's data files, use the reset command. If directories are not specified, the node's default directories will be used.

WARNING: This command should not be used on production systems. This should only be used to reset disposable test nodes.

kwil-admin setup reset [flags]

Examples

# Delete all of a Kwil node's data files
kwil-admin setup reset --root-dir "~/.kwild" --sqlpath "~/.kwild/data/kwil.db"

Options

  -f, --force             force removal of default home directory
-h, --help help for reset
-r, --root-dir string root directory of the kwild node
-p, --snappath string path to the snapshot directory

Options inherited from parent commands

      --output string   the format for command output - either 'text' or 'json' (default "text")
-S, --silence Silence logs

SEE ALSO

  • kwil-admin setup - The setup command provides functions for creating and managing node configuration and data.