kwil-admin setup reset-state
kwil-admin setup reset-state
reset-state
deletes the data in Postgres.
Synopsis
reset-state
deletes the data in Postgres.
Unlike the reset
command, which deletes all of the application data in Postgres and all of the block data
in the root directory, reset-state
only deletes the application data in Postgres. This command is useful if
you want to replay all of the blocks without having to re-download them.
kwil-admin setup reset-state [flags]
Examples
kwil-admin setup reset-state --host localhost --port 5432 --user kwild --password kwild --dbname kwild
Options
--dbname string Name of the database in the PostgreSQL server (default "kwild")
-h, --help help for reset-state
--host string Host of the database (default "localhost")
--password string Password for the database user
--port string Port of the database (default "5432")
--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.