Skip to main content
Solved

Data migration


  • Contributor
  • 17 replies

Hi everyone, we're migrating from onprem to an azure SQL db. (version 6x).

What would be the approach to migrate history tables? Can't find much on the forums that fits our usecase.

Best answer by dpjat

We excluded the DW_Id and some of the automatic hashed fields generated by history tables.

Then on import everything got assigned.

View original
Did this topic help you find an answer to your question?

5 replies

Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • August 13, 2024

Hi @dpjat 

I know it isn’t the newest 6xxx release but many of the suggestions is valid still.

https://legacysupport.timextender.com/hc/en-us/articles/115001313583-How-do-I-move-a-project-from-one-server-to-another

So for History I would choose method 1 as you then export the databases and imports them to Azure SQL using a bacpac export. You don’t need to install anything on a new server, you just need to change the database location from local to Azure and maybe change the authorization method. As long as the data is the same as before it should not complain.

If you want to create new databases, you will have to use some sort of external data transfer to move the history data.


  • Author
  • Contributor
  • 17 replies
  • August 19, 2024

I've managed to now migrate the data with data factory. Just have to exclude the ID and hashed fields and it works perfectly.

 

 


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • August 19, 2024

Hi @dpjat 

By ID do you mean Primary Key fields, or is it fields similar to hashes that are generated?

How do you then apply these afterwards?


  • Author
  • Contributor
  • 17 replies
  • Answer
  • August 19, 2024

We excluded the DW_Id and some of the automatic hashed fields generated by history tables.

Then on import everything got assigned.


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Hi @dpjat did the answers above help answer your question? If so please help us by marking a best answer above. Please let us know if you have any follow up questions


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings