v3.24.1

Getting Started Devices Gateways Integrations Reference
Get The Things Stack

Getting Started

    Overview
  • Quick Start
  • What Is The Things Stack?
  • Console
  • Subscription and Billing Management
  • Command-line Interface
  • Installing The Things Stack
  • Upgrading The Things Stack
  • Migrating to The Things Stack
    • Migrating End Devices between The Things Stack distributions
      • Migrate Without Persisting Active Session
      • Migrate Active Device Session
    • Migration Tool
    • Migrating End Devices from V2
    • Import End Devices in The Things Stack
    • Fine-tuning MAC Settings for End Devices
    • Migrating Gateways
    • JSON File Reference
    • CSV File Reference
    • Migration FAQ
  • The Things Stack Cloud
  • The Things Stack AWS Launcher
  • The Things Stack on Kubernetes
  • The Things Join Server
  • The Things Network
  • Server Addresses
  • Packet Broker
  • Single Sign-On
  • Users and Organizations
  • Using the API
  • Working with Events
  • Troubleshooting Getting Started

Migrating End Devices between The Things Stack distributions

This section explains how to migrate your devices between The Things Stack distributions.

There are multiple methods that you can use to migrate your devices from source The Things Stack distribution to target The Things Stack distribution, depending on if you want to migrate them with or without their existing session, and how many devices you wish to migrate. These methods include using the migration tool, The Things Stack Console or The Things Stack CLI.

Note:
We highly recommend using the migration tool and migrating devices without persisting their active session.

Keep reading to learn how to migrate your devices using all of the above mentioned methods. As an example, we demonstrate migrating from The Things Stack Community Edition to The Things Stack Cloud.

Prerequisites

  1. A user account on source The Things Stack with an application containing registered devices.
  2. A user account on target The Things Stack.
Note:
We recommend testing migration on a single end device or a small batch of end devices in order to make sure the migration process goes as expected.

Add Application in target The Things Stack

You first need to add a new application in target The Things Stack. See Adding Applications for detailed instructions.

When adding an application in target The Things Stack, the Application ID does not have to be the same as the one in source The Things Stack.

Add Payload Formatters and Integrations in target The Things Stack

After creating an application in target The Things Stack, you need to add the associated elements like application-level payload formatters and integrations. Commonly, you can copy-paste payload formatters from source The Things Stack to target The Things Stack, and you can recreate all integrations on target The Things Stack in the same way as you created them on source The Things Stack.

See Payload Formatters and Integrations for more info.

Migrate End Devices and Gateways

Instructions for migrating your devices will differ depending on if you are using OTAA or ABP devices, and if you want to preserve their active session or not. Migrating your gateway will be needed in some cases. Choose your scenario and find the instructions in the following subsections.

Migrate Without Persisting Active Session

This section explains how to migrate end devices from The Things Stack Community Edition to The Things Stack Cloud without persisting sessions that were established between those devices and The Things Stack Community Edition. This is the way to go if you cannot migrate your gateway from The Things Stack Community Edition to The Things Stack Cloud.
Read

Migrate Active Device Session

This section explains how to migrate end devices from The Things Stack Community Edition to The Things Stack Cloud while persisting sessions that were already established between those devices and The Things Stack Community Edition.
Read
← Migrating to The Things Stack Migrate Without Persisting Active Session →

On this page

  • Prerequisites
  • Add Application in target The Things Stack
  • Add Payload Formatters and Integrations in target The Things Stack
  • Migrate End Devices and Gateways

The Things Stack

Getting Started

Devices

Gateways

Integrations

Reference

Contributing

GitHub

Forum

About Us

The Things Network

The Things Industries

About this page

Last changed by Aleksander Borowski on 16 Jan 2023.
doc: Add `ttnv3` migration tool docs and reorganize existing docs (#991)

Edit on Github