• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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