Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Startup InfluxDB so that the time series data can be exported from the source database.

    Code Block
    languagebashnone
    -- Start up InfluxDB.You can determine working folder by looking at flexagon.fd.application.root system property
    cd /flexdeploy/apache-tomcat-flexdeploy/bin
    ./influxd-start.sh
  • Take a backup of the data present in the source Influx database.

    Code Block
    languagebashnone
    -- Create a backup of all the data and resources in the source InfluxDB
    cd /flexdeploy/influxdb
    mkdir backup
    ./influx backup ./backup/
    tar -czvf /app/backup/flexdeploy_influx_data.tar.gz ./backup/*
    rm -rf ./backup
  • Copy tar files to the target FlexDeploy server and extract it in the same location as the source.

    Code Block
    cd /flexdeploy/influxdb
    mkdir restore
    tar -xzvf /app/backup/flexdeploy_influx_data.tar.gz -C ./restore
  • Stop the Influx database running on the source server.

    Code Block
    -- Stop InfluxDB. You can determine working folder by looking at flexagon.fd.application.root system property
    cd /flexdeploy/apache-tomcat-flexdeploy/bin
    ./influxd-stop.sh

...