---
title: Moving a collector
slug: how-tos/eLHE-moving-a-collector
createdAt: 2026-02-02T09:24:01.627Z
---

﻿This page explains how to **move a collector** to a new host while maintaining its connection to Factry Historian.

Moving a collector follows essentially the same steps as [Installing a collector](docId\:Iv4_SD56TdxcqKRKCj4kv), with some additional considerations for token continuity.

## Prepare the new host

1. Ensure the new host meets the [collector system requirements](docId\:GQ3brW_0I46lgkfuitl3u).
2. Make sure it can reach the Historian server over the required network ports.
3. Install the collector software following the [collector installation steps](docId\:Iv4_SD56TdxcqKRKCj4kv).

## Handling API tokens

- When generating a new API token for the collector, the **old token remains valid for 24 hours**.
- This allows the collector to continue sending data during the migration.
- If you still have the old token saved, you **do not need to generate a new token** to perform the move.

## Configure the collector on the new host

1. Apply the same configuration as the previous collector instance.
2. Ensure any environment variables or custom settings are restored on the new host.
3. Start the collector service. It will register with the Historian using the token and resume sending data.
4. Once the new host is confirmed working, stop and remove the collector service on the old host. See [Deleting a collector service](docId\:o4O5-Loyvhf2BJI7yaK-w).

## Expected outcome

After moving a collector:

- The collector runs on the new host
- Data continues flowing to the Historian without interruption
- The collector appears online in the Historian under its original instance
- No duplicate collector instances remain

## Troubleshooting

### Collector does not appear in Historian

- Check that the collector service is running on the new host
- Verify that the API token is valid and correctly configured
- Confirm that the Historian URL and port are reachable from the new host

### Collector stops sending data

- Ensure there are no firewall or network restrictions preventing communication
- Verify that environment variables and configuration files were correctly migrated
- Check collector logs on the new host for errors

### Token expired before migration

- Generate a new API token and update the collector configuration on the new host
- The collector will reconnect to Historian once the new token is applied
