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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Automatic Backup Data and Entities

effpt3
13-Aquamarine

Automatic Backup Data and Entities

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.

 

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:effpt3)

Please see the following resource: SourceControlFunctions

Following services

ExportSourceControlledEntities

ExportSourceControlledEntitiesToZipFile

 

ImportSourceControlledEntities

View solution in original post

4 REPLIES 4
slangley
23-Emerald II
(To:effpt3)

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

 

 

PaiChung
22-Sapphire I
(To:effpt3)

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.

effpt3
13-Aquamarine
(To:PaiChung)

Hi @PaiChung 

How can I do that backup using API call or service.

Which service I need to run? 

PaiChung
22-Sapphire I
(To:effpt3)

Please see the following resource: SourceControlFunctions

Following services

ExportSourceControlledEntities

ExportSourceControlledEntitiesToZipFile

 

ImportSourceControlledEntities

Announcements


Top Tags