add some influx commands
This commit is contained in:
parent
0520b1eb02
commit
c6f98415e3
17
README.md
17
README.md
|
|
@ -45,3 +45,20 @@ show range of last values:
|
|||
Autor: Joerg Lehmann, nbit Informatik GmbH
|
||||
|
||||
|
||||
### Influxdb Commands
|
||||
|
||||
```
|
||||
Show tokens
|
||||
# influx auth ls
|
||||
|
||||
Clone Admin Token in Webgui if not known anymore and use this to get all tokens:
|
||||
|
||||
Update Token in Default Config:
|
||||
# influx config update --config-name default --token XXXXXXXXXXX
|
||||
|
||||
Backup Influxdb:
|
||||
# influx backup /root/joergs-backup -t XXXXXadmintokenXXXXX
|
||||
|
||||
Restore Influxdb:
|
||||
# influx restore /var/lib/influxdb2/joergs-backup/ --full
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue