New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Backup Time

Started by Logician, May 30, 2023, 06:31:08 AM

Previous topic - Next topic

Logician

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".

overseer

Is it not in root's crontab, running at midnight daily:
/usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php

Logician

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.

overseer

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**!