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

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

Highlighted
Amethyst

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

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

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.

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

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