Author Topic: Backup not running  (Read 10140 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Backup not running
« on: March 17, 2017, 07:32:36 AM »
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


Offline
*
Re: Backup not running
« Reply #1 on: March 17, 2017, 07:49:58 AM »
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:
Code: [Select]
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.

Offline
*
Re: Backup not running
« Reply #2 on: March 22, 2017, 02:19:18 PM »
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

Offline
*
Re: Backup not running
« Reply #3 on: March 23, 2017, 08:02:30 AM »
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?

Offline
*
Re: Backup not running
« Reply #4 on: March 28, 2017, 06:17:33 AM »
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.