Control Web Panel

WebPanel => Backup => Topic started by: net.136@rediffmail.com on March 27, 2018, 02:19:23 PM

Title: backup is not working
Post by: net.136@rediffmail.com on March 27, 2018, 02:19:23 PM
Hello Friends .
 I am using CWP6 . I was trying to check my backup is working or not . but What  page is changed . it should be come on /backup/daily/username/
but its not coming .



and I notice new user have backup folder on there
like /home/username/backupcwp/

so I am not understand why its not working
Title: Re: backup is not working
Post by: Darkroom on March 31, 2018, 11:08:27 PM
If you're using CentOS 6 at some point the backup script updated to use a newer php and it didn't update the cron job that ran the backup script. Run:
#> cat /etc/cron.daily/cwp

If you see something like:
/usr/local/cwp/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

try running it, it'll probably error out and not execute. If this happens try changing it to:
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

and run it again if it works, update the cronjob.
Title: Re: backup is not working
Post by: net.136@rediffmail.com on April 11, 2018, 12:23:32 PM
Yes sir , I got this but . Please  take a look on screenshot . what should next  ?
https://prnt.sc/j3sde4
Title: Re: backup is not working
Post by: studio4host on April 11, 2018, 08:23:53 PM
custom backups from user panel are in the home folder of the user while cron backups are in the /backup folder.