Skip to main content
1-Visitor
Sep 5, 2018 6:28 AM UTC
Question

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

This topic has been closed for replies.

2 replies

22-Sapphire I
Sep 5, 2018 2:00 PM UTC

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.

Translate
1-Visitor
Sep 6, 2018 6:14 AM UTC

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

Translate