Ezlo HUBs backups API

Here is the API description for the HUB backups.
Using these API requests it is possible to create/restore a backup and receive the list of stored backups for the hub.

Commands:
hub.backup.create
hub.backup.restore
hub.backups.list

backups_API.pdf (75.6 KB)

Hi @edward,

Will there be an option to download a back up file and restore from a local file?

Also the hub.backup.list command description states it lists the backups for (a) controller. So is a backup list & restore limited to one controller, or can you restore a backup to a different controller like with Vera? If the latter, is there a model to model limitation?

Last, I understand this is for the Linux based hubs only. Not the Atom. Correct?

Cheers Rene

2 Likes

Hi
Is it possible to add these three functions on the application?
Best regards

Hi @reneboer,

For now its working with cloud only.

Yes, its showing backups for one controller.

In current release backups working with the same model of hubs.
For example between E450s, or between E550s.
But you cannot create backup on e450 and restore on E550.
Backups between different models in our roadmap and we are working on it.

Yes, current release for Linux hubs only but in the next releases it will be available for Atom as well.

1 Like

I tried creating a backup via this API and got the following error:

msg_id: "609c0ebd071d3a667196cf40"

msg_subclass: "hub.backup.create.progress"

result:

completed: 100

error:

code: -32500

data: "hub.backup.create.failed"

message: "Failed to create backup"

reason: "Service extensions_manager failed to create backup: Failed to create backup: Can not create directory db for backup"

serial: "xxxxxxxx"

status: "aborted"

Hi @dougsbarbour,
thanks for the part of the logs.
what is the serial number of your hub?
Check please your pm.

I can’t see where to create a new topic in the forum any more…help

bottom right of your browser…

The Plus sign for new topics is greyed out on my account, which I presume means that I am not able to create a topic, until I reach some milestone, or something.

I apologize for bumping this thread, but I can’t find any other discussions of Ezlo Backups. I want to understand why I’m getting daily automatic backups in the Afternoons and Evenings, rather than the described 3:00 AM auto backups.

I had the first three of them exactly at 6:11 PM, and then next three exactly at 8:27 PM, and none at 3 AM. Having those backups occur in the middle of evenings seems inopportune, especially given the warning to avoid using any of the switches during the Backups.

Hi @vicw ,

We have sent you an email in order to help you with this.

We’ll remain attentive to your response.

Thanks, Stefany. I’ll keep an eye out for it. It don’t see it in my mailbox yet.

Can you send the email again? The only email I can find is the email telling me you sent an email.

Hey @vicw !

I have created a support ticket to help you with your request. Let us know if you still haven’t gotten any emails yet.