Author Topic: Backup Time  (Read 1308 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Backup Time
« 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".

Offline
*****
Re: Backup Time
« Reply #1 on: May 31, 2023, 01:40:07 PM »
Is it not in root's crontab, running at midnight daily:
/usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php

Offline
*
Re: Backup Time
« Reply #2 on: May 31, 2023, 04:40:43 PM »
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.

Offline
*****
Re: Backup Time
« Reply #3 on: May 31, 2023, 09:22:32 PM »
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:
Code: [Select]
0 0 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.phpAnd of course, it's an opaque black box, because it's IonCube encrypted... **sigh**!