Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
Does Thingworx have any version control capabilities or what would be the recommended way of backing up different versions of content and restoring?
Thanks.
Hi Victor,
I don't know they we've settled on a recommended method of putting ThingWorx applications under source control, but we've introduced functionality in 5.0 to make this possible. From Composer,
Import/Export
→Source Control Entities
. This functionality is similar to a standard export, however it will create directories for each entity type (e.g.Things
,ThingTemplates
, etc.) and a file for each entity. The files are exported to aFileRepository
and from there, you'll need to decide how you want to get them into a version control system.Regards,
Adam
Hi Adam,
I'm using version 5.0, but I don't see the option "Source Control Entities". The options I have are the "To File" and "To ThingworxStorage". Do I need to import an extension to see this option?
Victor,
I recommend you upgrade to SP2 which has this available from the menu.
Hi Adam and Pai,
Thanks for your response, I must not have SP2, which is why I don't see it in the menu. I did find it under the SourceControlFunctions like you've both mentioned and it appears to be working that way.
Thanks again!
Since we are now at version 7.1, is the strategy mentioned above still the recommended one, or is there another approach?
Todd, 'Export to ThingworxStorage' would be your best option (with checking 'Include Data'). That would create an export under ThingworxStorage\exports\YYYY-MM-DD-TIME with your entities and data. Entities that use the persistence provider, like Streams, ValueStreams, DataTables etc. will have their own individual folder as well.
we have been using TW 6 and we want maintain TW code (services code) into version control.Could you please help us.
ThingWorx Applications Version Controlling with SVN can be done by using attached document.