• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Doubts about getting backup scheduling information through the API

Rafael Brianezi da Silva

Plesk Certified Professional
Plesk Certified Professional
Hello,

In our web hosting environment with Plesk, we created a backup schedule for each domain. For this reason, I need to create a tool to audit if all domains have a properly configured backup for it.

Searching for more information I discovered that all backup schedule data is stored in the "BackupsScheduled" table, so I would like to know if there is a way to get this information through the API.

I read the API documentation, but I could not find a way to get the list of scheduled backups. My goal is to find out which domains don't have an active backup schedule.

Could you help me? Please!
 
Hello UFHH01,

I installed the "Scheduled Backup List" but, as a server administrator, I need a tool that notifies me via email if there is any domain whose backup is not scheduled correctly.

I also looked at the "get-task-info" option in the API, but this option returns only information about the currently running tasks.

To create my own tool, I will allow remote access to Mysql (db psa), and I will get the necessary information directly from the database, so the tool can notify me if something is wrong with the backup schedule.

I would very much like to thank you for your help.
 
Back
Top