Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
How to create Automatic Backup to thingworx entites and data instead of exporting into xml or twx files using export option in composer.
I have ThingworxBackupStorage folder in my c drive, but it empty, there are no backup files. Is there anything to be added in platform settings file or do I need to enable any option in composer or do I need to run a service. Please suggest me right approach.
Solved! Go to Solution.
Please see the following resource: SourceControlFunctions
Following services
ExportSourceControlledEntities
ExportSourceControlledEntitiesToZipFile
ImportSourceControlledEntities
Hi @effpt3.
The ThingworxBackupStorage folder is only used with the H2 database, so if you are running PostgreSQL or SQL Server, it is expected to be empty.
To back up your system to ensure successful recovery in case of issues, please review this article and listen to the video.
If you have further questions, please let us know.
Regards.
--Sharon
At this time there isn't an automatic backup feature.
You can either
use one of the REST API calls (or services) to do the backup either triggered external or internal using a scheduler
or you can rely on the persistence provider backup
Personally I would recommend always to have database (persistence provider) backup running
But also to add an automated export to Control Source entities, which will allow for the restore of an individual entity.
Please see the following resource: SourceControlFunctions
Following services
ExportSourceControlledEntities
ExportSourceControlledEntitiesToZipFile
ImportSourceControlledEntities