• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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