Skip to main content
1-Visitor
September 5, 2018
Question

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

  • September 5, 2018
  • 2 replies
  • 1370 views

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

This topic has been closed for replies.

2 replies

22-Sapphire I
September 5, 2018

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.

1-Visitor
September 6, 2018

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