• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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