• 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 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