N4S4 / synology-api

A Python wrapper around Synology API
MIT License
368 stars 138 forks source link

Adding features for Hyper Backup and Hyper Backup Vault #171

Closed joeperpetua closed 1 month ago

joeperpetua commented 1 month ago

Good morning!

The following functions were added to the Hyper Backup API:

Functions Description
backup_task_run() run task
backup_task_cancel() cancel ongoing task
backup_task_suspend() suspend ongoing task
backup_task_discard() discard suspended task
backup_task_resume() resume suspended task
backup_task_remove() remove one or more tasks
integrity_check_run() run integrity check for given task
integrity_check_cancel() cancel ongoing integrity check
hb_logs_get() get Hyper Backup UI logs
And these for the Hyper Backup Vault API: Functions Description
vault_concurrency_get() get number of concurrent tasks allowed to run in HB Vault
vault_concurrency_set() set number of concurrent tasks allowed to run in HB Vault
vault_target_settings_get() get settings of target
vault_task_statistics_get() get statistics from task
vault_target_logs_get() get logs of specific target

The existing functions were documented and modified to match the rest of the codebase style.

N4S4 commented 1 month ago

Thank you, merged! Great job!