Control Web Panel
WebPanel => Backup => Topic started by: Logician on May 30, 2023, 06:31:08 AM
-
I think backups are automatically triggered at 3 AM server time. How can we change that?
There is no option in admin cp and I couldn't see a backup cron as well.
Ps. I'm talking about "normal backups" under "backup configuration" menu, not "new beta backup".
-
Is it not in root's crontab, running at midnight daily:
/usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php
-
Nope, strangely its not. There are only 3 crons there:
43 16 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
0 0 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php
5 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
Yet, backups are created successfully.
-
You're right -- I only checked one of my CWP servers and that was the only one that had this listed under root's crontab:
0 0 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php
And of course, it's an opaque black box, because it's IonCube encrypted... **sigh**!