Backup Notifications - Success/Failure or API to Poll
Good day all.
I'm relatively new to Linode and have been moving some of my hosts onto the platform.
I try to run as close to a "set and forget" infrastructure as possible. I have numerous instances set to backup daily, but don't see a way to be alerted if the backups succeed or fail. Additionally, I'd like to have a centralized report of the instances set to backup, their latest backup, etc.
Does anyone know of an API to call to query the Linode manager and "dashboards" for each Linode in my account? The Events RSS Stream and Email notification option are pretty weak.
You can list Linodes with Backups enable with the View Linode Request. From there, you can get more information about the available backups for a Linode with a List Backups Request. You can also use the following command with LinodeCLI to see the available backups:
linode-cli linodes backups-list <linodeID>
This will let you know the date of the available backups and whether or not they were successful.
Please be aware, we do also have a system that automatically detects backup failures if they fail two days in a row, and in such occurrences a ticket will be created on your account to inform you if that is the case. You can list the support tickets via the API call detailed here or via the LinodeCLI with the following command:
linode-cli tickets list
I hope this helps! If you have any questions, comments, or concerns, please don't hesitate to let us know.