• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Check if scheduled backups are enabled via CLI?

nilsringersma_nl

Basic Pleskian
Hello Forum!

Would anyone happen to know a way to check if Plesk's scheduled backups ( as described here ) are enabled via the CLI?

I can't find a way to do this in the CLI documentation. If it's possible via the CLI or maybe with a bash script it'll save me a lot of time. I can then run it through Ansible instead of logging into the UI. If anyone has some tips or knows of a work-around, please let me know.

Your help is much appreciated :).
 
If it works for your needs, you can pull the data from the PSA database. Specifically the "BackupsScheduled" table, there is a field called "active" which would be set as "true"
 
Back
Top