# Cannot query tag history after migration

**URL:** <https://forum.inductiveautomation.com/t/cannot-query-tag-history-after-migration/25249>\
**Category:** Ignition\
**Created:** [May 22, 2019, 10:16pm UTC](https://forum.inductiveautomation.com/t/cannot-query-tag-history-after-migration/25249 "2019-05-22T22:16:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1jeffwill11](https://avatars.discourse-cdn.com/v4/letter/1/b3f665/32.png) [@1jeffwill11](https://forum.inductiveautomation.com/u/1jeffwill11)\
**Post date:** [May 22, 2019, 10:16pm UTC](https://forum.inductiveautomation.com/t/cannot-query-tag-history-after-migration/25249/1 "2019-05-22T22:16:46Z")

</div>

Hey all,

I am having an issue similar to the one given in the link below. However, the cause is different. We currently have 2 Virtual Machines, One of which originally had both the Ignition server and the database running on it. After migrating our Ignition Server to the new VM, I was still attempting to write history to the database on the old VM. However, when I query the database, only the history from after the migration occurred is shown on charts. I need to be able to access all of the old history as well. Any help or suggestions would be much appreciated.

> [@After upgrading tags retired and can't find historical data](http://forum.inductiveautomation.com/t/after-upgrading-tags-retired-and-cant-find-historical-data/9279):
>
> I updated to 7.7.1 from from 7.6.x. Most of my historical trends won’t show data from prior to the update. I looked at sqlth\_te and it appears most all tags were retired after the upgrade. The data is being read from the new 'un’retired tags but the easy chart is not spanning back to the retired tags. This is not happening for all tags but most tags. All the tags are found in a UDT. Jeffrey DeCicco
