Skip to main content
1-Visitor
May 11, 2022
Solved

Environment Compare Methods

  • May 11, 2022
  • 2 replies
  • 1161 views

Apologies if this has been discussed before and I missed it. If so, please point me in the right direction.

 

We have three environments (Dev, QA, PROD) that run Thingworx. The "usual" process is followed by doing dev in Dev, test in QA, deploy to PROD. However, the project team has changed and Dev is in an unknown state with its changes.  (I think the term I hear the most is "wild west"). 

 

My question: Is there a way/tool that can be utilized to do an environment compare of Thingworx to see where and what the differences are? Much like running a diff in many IDE's?

 

Thanks

Best answer by VladimirRosu_116627

There is a tool called Beyond Compare (I'm using v4; probably others that do the same thing exist). This tool has the capability to compare folders.

Do an Export to Source Control Entities in both servers, get the resulted files in your local laptop, put them in 2 different folders and use the tool above.

 

 

2 replies

Community Manager
May 11, 2022

Hi @RS_9893126

 

Are you running the same version of ThingWorx in all environments?  One way that might work would be to take an .xml export of all the collections for each environment.  Not sure if everything will export in the same order though.

 

 As an alternative, you could refresh your dev environment from a backup of the Prod db.  Make sure both environments are running the same version of ThingWorx.  Be sure to backup Dev (DB export and VM snaphost) before starting the process to ensure recovery if something goes wrong.   You'll have to be careful of any timers, etc. to ensure your Prod endpoints aren't getting updated with the wrong data.

 

Regards.

 

--Sharon

19-Tanzanite
May 16, 2022

There is a tool called Beyond Compare (I'm using v4; probably others that do the same thing exist). This tool has the capability to compare folders.

Do an Export to Source Control Entities in both servers, get the resulted files in your local laptop, put them in 2 different folders and use the tool above.