Migrating to new InfluxDB database

Running HA-os on RP4.
Have been using InfluxDB for a while now, but decided to create a new DB.
Old DB “ha_db”, new “ha_db2”.
Problem is that no data is being written to the new DB… :frowning:

  • Created new DB in Influx UI.
  • Restarted InfluxDB addon.
  • Changed configuration.yaml to show “database: ha_db2”
  • Reloaded configurations.
  • Even tried restarting the hardware completely.

Configuration.yaml influxdb section looks like:

influxdb:
  host: 192.168.1.4
  port: 8086
  database: ha_db2
  username: {user}
  password: {pass}
  max_retries: 3
  default_measurement: state