Influxdb v2

From UVOO Tech Wiki
Revision as of 06:27, 10 September 2022 by Busk (talk | contribs)
Jump to navigation Jump to search

https://docs.influxdata.com/influxdb/v2.2/tools/grafana/

backup restore

influx backup --org archive --bucket loadtesting/autogen --host https://infuxdb.src.io:8086/  --token <MYADMINTOKEN> backups/archive-loadtesting
influx restore --org archive --bucket loadtesting/autogen --host https://influxdb.dst.io:8086/ --token <MYADMINTOKEN> backups/archive-loadtesting

NGINX Size

 annotations:
    nginx.ingress.kubernetes.io/proxy-body-size: "1g/100m"

More Notes

# Syntax
influx backup <backup-path> -t <root-token>

# Example
influx backup \
  path/to/backup_$(date '+%Y-%m-%d_%H-%M') \
  -t xXXXX0xXX0xxX0xx_x0XxXxXXXxxXX0XXX0XXxXxX0XxxxXX0Xx0xx==