Access this instance at HomeyAPIV3Local.backup
.
Extends
- HomeyAPIV3.ManagerBackup
Instance Methods
getOptionAutomaticBackupsEnabled
(async) getOptionAutomaticBackupsEnabled(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/backup/option/automaticBackupsEnabled
Returns
Promise.<any>
getOptionLastSuccessfulBackup
(async) getOptionLastSuccessfulBackup(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/backup/option/lastSuccessfulBackup
Returns
Promise.<any>
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/backup/state
Returns
Promise.<any>
scheduleBackup
(async) scheduleBackup(): Promise.<any>Scopes
homey.system
HTTP
POST /api/manager/backup/backup
Returns
Promise.<any>
setOptionAutomaticBackupsEnabled
(async) setOptionAutomaticBackupsEnabled(opts): Promise.<any>Scopes
homey.system
HTTP
PUT /api/manager/backup/option/automaticBackupsEnabled
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
Promise.<any>
setOptionLastSuccessfulBackup
(async) setOptionLastSuccessfulBackup(opts): Promise.<any>Scopes
-
HTTP
PUT /api/manager/backup/option/lastSuccessfulBackup
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
Promise.<any>
unsetOptionAutomaticBackupsEnabled
(async) unsetOptionAutomaticBackupsEnabled(): Promise.<any>Scopes
homey.system
HTTP
DELETE /api/manager/backup/option/automaticBackupsEnabled
Returns
Promise.<any>
unsetOptionLastSuccessfulBackup
(async) unsetOptionLastSuccessfulBackup(): Promise.<any>Scopes
-
HTTP
DELETE /api/manager/backup/option/lastSuccessfulBackup
Returns
Promise.<any>