righter83 / checkmk-synology-hyperbackup

Checks if a specific job was runt successfully
0 stars 0 forks source link

Multiple Hyper Backup Jobs #3

Open joergotttus opened 1 year ago

joergotttus commented 1 year ago

Me again. ;-) Is there a way to have the bash script manage more than one Hyper Backup Job in one run/service?

I have several NAS systems with up to 9 Hyper Backup jobs configured; helped myself for now by duplicating the script on the NAS as often as needed but this has two disadvantages:

Any thoughts on this? Thanks.

righter83 commented 1 year ago

Hi

Yes that would be possible. The job name could be extended to an array with multiple job names and then with an iterative loop. But I think the better way would be to use the API Script, that has already such an implementation inside.

The bash script is just an ugly way, which is fine for us. API would be the right way for checking it.