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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to backup the entities and data every hour using https using subscription

SaiSameera
13-Aquamarine

How to backup the entities and data every hour using https using subscription

Hi All,

I'm able to backup my data when i'm using http protocol using the subscription. But I'm unable to backup the entities and when using same subscription through https protocol. Please help me with this issue.

Thanks in advance.

 

Regards

Sameera

2 REPLIES 2
PaiChung
22-Sapphire I
(To:SaiSameera)

What service are you using?

I recommend using either exporter or even better the SourceControlFunctions resource which has ExportForSourceControl

 

Do not use the backup service that will not work.

SaiSameera
13-Aquamarine
(To:PaiChung)

Hi @PaiChung

 

I'm using this service in the Scheduler thing to backup my entities it is working fine with http protocol but not working with https . I want  a service which automatically backup my entities and data every hour using https protocol.

var params = {
  url: "http://your_ip/Thingworx/ExportDatabase?WithData=true",
  username: "Administrator",
  password: "admin"
};

 

result = Resources["ContentLoaderFunctions"].GetText(params)

 

Thanks&Regards

Sameera

Announcements


Top Tags