Influxdb v2
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==
docker run -p 8086:8086 \ -v $PWD/influxdb:/var/lib/influxdb \ -v $PWD/influxdb.conf:/etc/influxdb/influxdb.conf:ro \ -v $PWD/influxdb2:/var/lib/influxdb2 \ -e DOCKER_INFLUXDB_INIT_MODE=upgrade \ -e DOCKER_INFLUXDB_INIT_USERNAME=myuser \ -e DOCKER_INFLUXDB_INIT_PASSWORD=mypassword123 \ -e DOCKER_INFLUXDB_INIT_ORG=myorg \ -e DOCKER_INFLUXDB_INIT_BUCKET=mybucket \ influxdb:2.2