# Migrating Tag History

**URL:** <https://forum.inductiveautomation.com/t/migrating-tag-history/42848>\
**Category:** Ignition\
**Tags:** database\
**Created:** [February 1, 2021, 9:30pm UTC](https://forum.inductiveautomation.com/t/migrating-tag-history/42848 "2021-02-01T21:30:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul.mangels](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@paul.mangels](https://forum.inductiveautomation.com/u/paul.mangels)\
**Post date:** [February 1, 2021, 9:30pm UTC](https://forum.inductiveautomation.com/t/migrating-tag-history/42848/1 "2021-02-01T21:30:35Z")

</div>

I have an Ignition server that is currently set up tag history to a database. I’d like to switch to store that data on a different database. However, I am not sure what the best way to do this is while maintaining the existing tag history data. The tentative plan is to:

1. Copy the tag historian partitions/tables over to the new database.
2. Retarget the tags that are currently saving tag history to the new provider/database.
3. Migrate the data from the old database into the new database. For old partitions, copy the table wholesale. For the active partition that the new db is using, migrate the data from the matching table in the old database.

Is there anything I missed here? Is a tag history splitter something that could help?

---

<div class="post-metadata">

**Author:** ![JLCTME](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@JLCTME](https://forum.inductiveautomation.com/u/JLCTME)\
**Post date:** [April 29, 2022, 7:55pm UTC](https://forum.inductiveautomation.com/t/migrating-tag-history/42848/2 "2022-04-29T19:55:48Z")

</div>

Looking to do the same thing. Did the above approach work for you?

Thanks!

---

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [December 5, 2022, 2:57pm UTC](https://forum.inductiveautomation.com/t/migrating-tag-history/42848/3 "2022-12-05T14:57:48Z")

</div>

Hi Paul,

Did you find a good practice on how to do this?
