Documentation

Migrate to an account in a new region

The following guide provides instructions on migrating data and resources from an existing InfluxDB Cloud account to a new InfluxDB account in another InfluxDB Cloud region.

Create a new account in a new region

InfluxDB organizations are bound to a specific cloud provider and region. Create a new InfluxDB Cloud account in the region you want to migrate to.

Migrate Data

If you want to migrate data from your current InfluxDB Cloud account to your new destination InfluxDB Cloud account, there is documentation available that walks through the migration. The specific process varies depending on whether your destination account is powered by our current database engine, Time-Structured Merge Tree (TSM) or our new database engine, InfluxDB 3.

To benefit from the InfluxDB 3 storage engine’s unlimited cardinality and support for SQL, migrate your data to InfluxDB Cloud Serverless.

To see which storage engine your organization uses, find the InfluxDB Cloud powered by link in your InfluxDB Cloud organization homepage version information. If your organization is using TSM, you’ll see TSM followed by the version number. If Serverless, you’ll see InfluxDB Cloud Serverless followed by the version number.

Dual write into both organizations

Depending on the duration of your retention policy for storing data it may be easier to temporarily dual write into both the source and destination accounts for an overlapping period until the destination account holds all desired data.

Migrate Resources

Resources include, but are not limited to the following:

  • buckets
  • dashboards
  • notification rules
  • tasks
  • labels
  • variables

If you have resources that you want to migrate to your destination account (rather than recreating these resources in the destination account) you can do the following:

  1. Download and install the 2.x influx CLI.

  2. Set up InfluxDB connection configurations for both your source and destination InfluxDB Cloud accounts. Use the influx config create command and provide the following for each connection:

    # Create your source connection configuration and set it to active
    $ influx config create \
      --config-name source \
      --host-url https://cloud2.influxdata.com \
      --org <your-source-org> \
      --token <your-source-auth-token> \
      --active
    
    # Create your destination connection configuration
    $ influx config create \
      --config-name destination \
      --host-url https://cloud2.influxdata.com \
      --org <your-destination-org> \
      --token <your-destination-auth-token>
    
    • Copy
    • Fill window
  3. Use the influx export all command to export all resources from your source account to an InfluxDB template.

    influx export all
    
    • Copy
    • Fill window
  4. Use the influx config command to switch to your destination connection configuration. Provide the name of the configuration to switch to:

    influx config destination
    
    • Copy
    • Fill window
  5. Use influx template apply command to apply the exported InfluxDB template created in the previous step to your destination account:

    influx apply --file path/to/template.json
    
    • Copy
    • Fill window

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

InfluxDB 3 Core and Enterprise are now in Beta

InfluxDB 3 Core and Enterprise are now available for beta testing, available under MIT or Apache 2 license.

InfluxDB 3 Core is a high-speed, recent-data engine that collects and processes data in real-time, while persisting it to local disk or object storage. InfluxDB 3 Enterprise is a commercial product that builds on Core’s foundation, adding high availability, read replicas, enhanced security, and data compaction for faster queries. A free tier of InfluxDB 3 Enterprise will also be available for at-home, non-commercial use for hobbyists to get the full historical time series database set of capabilities.

For more information, check out:

InfluxDB Cloud powered by TSM