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 the root directory is not specified, the node's default root directory 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"

Options

      --dbname string     Name of the database in the PostgreSQL server (default "kwild")
-f, --force force removal of default home directory
-h, --help help for reset
--host string Host of the database (default "localhost")
--password string Password for the database user
--port string Port of the database (default "5432")
-r, --root-dir string root directory of the kwild node
--user string User with administrative privileges on the database (default "postgres")

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.