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 not running

Started by kgeroczi, March 17, 2017, 07:32:36 AM

Previous topic - Next topic

kgeroczi

Hello,

I have the configuration below.

Backup is enabled for every user, but currently no local or remote backups were created since the system was installed.

I have more CWP setups, but on other sites it worked, but currently I only use this.

Do you have any idea, what can I check and where can start solving this problem?

I already tried to uncheck boxes, save, and "re-checkin" them. It didn't help.

Thanks in advance!

Regards,
Krisztián


kgeroczi

Sorry, now I see, this topic was opened in a wrong secion, becuase there a Backup secion. So, if possible, please move this to Backup section.

But, now I found why daily remote backup not working:
root@host:~ # cat /etc/cron.daily/cwp
/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php
root@host:~ # /usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
PHP Fatal error:
The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded
with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
in Unknown on line 0
root@host:~ # /usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
PHP Fatal error:
The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded
with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
in Unknown on line 0
root@host:~ #


I just changed this to "/usr/local/cwp/php71/bin/php" and now its working.

The next problem is, no cronjob in the /etc/cron.weekly or /etc/cron.monthly .
And the local backup still not running.

shashikant

Hi,

as per error log, backup script require php 5.6 vesrion . Please downgrade php version or elase update cron.php with php7.1


/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

Regards,
Shashikant Sutar

kgeroczi

Hi,

Thank you, but as I wrote, the cron entries already changed to /usr/local/cwp/php71/bin/php so it's now working.

The problem is the local backup not running. Only the remote.
On the remote backup server the daily and weekly folders already created and working well.

But on the local /backup folder is empty. When I run it with manually only the remote backup ran.

Do you have any idea, how can I run local backup?

kgeroczi

So, any idea why local backups are not created? The user can run backup manually but automatic backup not running on the local server, only on remote side.