cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to cleanup the server ?

SOLVED
Highlighted
Participant

How to cleanup the server ?

Hi,

From an administrative point of view, i want to be able to reset my server to its initial state, i.e., i want to delete all things, mashups, thingTemplate, ThingShape etc ..

I did a service which returns all of my entities and call from a script "http DELETE" on all returned entities.

The problem i'm facing to is i have some dependencies between things. I tried to sort the list but  there are circular dependencies and it doesn't work.

Does anyone have an idea to achieve this ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to cleanup the server ?

Hi @cbaurand.

 

Per the case information, you were not looking to have the PTC Cloud team to reinitialize your ThingWorx instance, but were asking for an automated way to do so via the Composer.

 

As stated in the case, there is no mechanism within ThingWorx to provide this functionality.  If you would like to pursue this request, please post it on the ThingWorx Ideas forum for consideration in a future release.

 

If you agree with the information I have stated here, please mark this post as the Accepted Solution for the benefit of others with the same question.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon

View solution in original post

7 REPLIES 7
Highlighted

Re: How to cleanup the server ?

Initially the Thingworx installer came with an SQL script to reset everything.

One other way would be to create a snapshot/backup of the Persistence Provider and restore that.

On the Thingworx server side, you'd just need to clear the logs and File Repositories, perhaps also the extensions folder - Again this could be a snapshot as well.

Highlighted

Re: How to cleanup the server ?

 

Unfortunately we won't be able to run the script ourselves because the environments are hosted by Cloud...
Highlighted

Re: How to cleanup the server ?

Hi @cbaurand.

 

If you're saying that PTC Cloud is hosting your environments, I will be happy to open a case to be assigned to the Cloud team for initializing your implementations.

 

Regards.

 

--Sharon

Highlighted

Re: How to cleanup the server ?

Yes it's what i said. So thanks to open a case.

 

Cyril.

Highlighted

Re: How to cleanup the server ?

Hi @cbaurand.

 

I have created the case and assigned it to the Cloud team.

 

Regards.

 

--Sharon

Highlighted

Re: How to cleanup the server ?

Hi @cbaurand.

 

Per the case information, you were not looking to have the PTC Cloud team to reinitialize your ThingWorx instance, but were asking for an automated way to do so via the Composer.

 

As stated in the case, there is no mechanism within ThingWorx to provide this functionality.  If you would like to pursue this request, please post it on the ThingWorx Ideas forum for consideration in a future release.

 

If you agree with the information I have stated here, please mark this post as the Accepted Solution for the benefit of others with the same question.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon

View solution in original post

Highlighted

Re: How to cleanup the server ?

Hi @cbaurand.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!