Skip to main content
1-Visitor
July 30, 2018
Question

Thingworx Platform "Factory Default" Reset

  • July 30, 2018
  • 1 reply
  • 1364 views

I am using a dev environment to support new changes for several different Thingworx platforms that I support.  There are times that I have to flush my dev environment and import from the target environment so that my dev environment matches fully.  I then make changes, export changed items, and then import back into the target environment.  When clearing my platform, there are times when I miss something and I don't get the results I want.

 

Is there a way to have Thingworx re-initialize the persistence database and basically clear it out and set it back to "factory defaults"?

 

Thanks

1 reply

17-Peridot
July 31, 2018

Hi,

 

For Thingworx with Postgres/SQL Server , you can use cleanup scripts from the installation kit under /install directory.

 

Best regards,

Raluca Edu

1-Visitor
August 1, 2018

Thanks Raluca.

 

I checked those scripts out and they basically drop the entire database.  My hope was that there was something that would keep the database so that I didn't have to recreate, and then clear out all the persistent data.

 

Maybe I can create some DB scripts that will clear out any non-system objects and get the desired result.