Difference between revisions of "Influxdb upgrade & migrations"
Jump to navigation
Jump to search
(Created page with "https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/docker/") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/docker/ | https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/docker/ | ||
+ | |||
+ | ``` | ||
+ | queries | ||
+ | |||
+ | influx-v1 -host foo -port 8086 | ||
+ | |||
+ | |||
+ | influxd backup --database foo bkp | ||
+ | |||
+ | ``` | ||
+ | |||
+ | # 1.8 | ||
+ | ``` | ||
+ | influxd-v1 backup -portable -db loadtesting bkp | ||
+ | |||
+ | influxd-v1 backup -portable -host foo:8088 -db loadtesting bkp | ||
+ | ``` | ||
+ | |||
+ | ssh tunnel though as only local allowed | ||
+ | |||
+ | sshfs | ||
+ | ``` | ||
+ | sudo sshfs -o allow_other,default_permissions influx-bkp@x.x.x.x:/home/influx-bkp/bkp /mnt/bkp | ||
+ | ``` |
Latest revision as of 00:30, 7 June 2022
https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/docker/
queries influx-v1 -host foo -port 8086 influxd backup --database foo bkp
1.8
influxd-v1 backup -portable -db loadtesting bkp influxd-v1 backup -portable -host foo:8088 -db loadtesting bkp
ssh tunnel though as only local allowed
sshfs
sudo sshfs -o allow_other,default_permissions influx-bkp@x.x.x.x:/home/influx-bkp/bkp /mnt/bkp