# Move Historian files to New Server

**URL:** <https://forum.inductiveautomation.com/t/move-historian-files-to-new-server/69450>\
**Category:** Ignition\
**Created:** [February 4, 2023, 6:23pm UTC](https://forum.inductiveautomation.com/t/move-historian-files-to-new-server/69450 "2023-02-04T18:23:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sferron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sferron/32/3642_2.png) [@sferron](https://forum.inductiveautomation.com/u/sferron)\
**Post date:** [February 4, 2023, 6:23pm UTC](https://forum.inductiveautomation.com/t/move-historian-files-to-new-server/69450/1 "2023-02-04T18:23:15Z")

</div>

I have moved History files between computers in the past with little success linking the old server data with the new server data. Can someone provide a step-by-step procedure to keep the old with the new data?

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [February 6, 2023, 6:10am UTC](https://forum.inductiveautomation.com/t/move-historian-files-to-new-server/69450/2 "2023-02-06T06:10:11Z")

</div>

What do you mean by History files?

a gateway backup file + a database backup should get you up and running.

Can you explain a little more? i.e. what kind of history are you loosing and how is it stored?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 6, 2023, 12:14pm UTC](https://forum.inductiveautomation.com/t/move-historian-files-to-new-server/69450/3 "2023-02-06T12:14:22Z")

</div>

> [@andrews](#):
>
> gateway backup file + a database backup

This, but do the database restore first, so the restored gateway backup "sees" all of the historian meta-data it expects for the tags it starts up.

---

<div class="post-metadata">

**Author:** ![DNice](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@DNice](https://forum.inductiveautomation.com/u/DNice)\
**Post date:** [February 6, 2023, 9:21pm UTC](https://forum.inductiveautomation.com/t/move-historian-files-to-new-server/69450/4 "2023-02-06T21:21:15Z")

</div>

I just went through this, so I understand the pain...  
If what you mean by "move historian files to new server" is migrate to a new gateway, this is what I referenced during my migration: [Ignition Historian DB and migration to the new gateway](https://forum.inductiveautomation.com/t/ignition-historian-db-and-migration-to-the-new-gateway/41813)  
You will need to be comfortable executing some SQL scripts to get this done. I can provide more details if you're interested in exactly what I did, though calling IA support may be the best solution forward.

Some more details are needed to get what you need - What exactly is being migrated (GW or db or both)? What database type are you using? Where is the database located?
