influxd recovery user create

This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.

The influxd recovery user create command creates a new user directly on disk for recovery purposes.

This command can only be executed when the InfluxDB server (influxd) is not running.

Usage

  1. influxd recovery user create [flags]

Flags

FlagDescriptionInput Type
—bolt-pathPath to the BoltDB file (default ~.influxdbv2/influxd.bolt)string
-h—helpHelp for create
—passwordPassword for the new userstring
—usernameUsername of the new userstring

Examples

Create a new user directly on disk
  1. influxd recovery user create \
  2. --username example-username \
  3. --password ExAmPL3-paS5W0rD