Control Web Panel

WebPanel => Backup => Topic started by: Shred on April 23, 2020, 01:30:05 PM

Title: My server doesn't make backups anymore
Post by: Shred on April 23, 2020, 01:30:05 PM
Hi there,

I'm having some troubles figuring out what's going on with my backups. My CWP7 backups were working just fine, but I found out (the worst way possible) It wasn't making backups anymore since March 3th or 6th.

I'd tryied disabling and enabling again backups for an account, to see if somehow it restarted the configuration. But it didn't make any difference at all.

Do you know what could be the problem? or at least how can I find out? I'm a little bit lost here.

Thanks in advance,
Andrés
Title: Re: My server doesn't make backups anymore
Post by: krasipetrov on April 26, 2020, 08:56:48 AM
I have the same problem.

Someone with a solution?
Title: Re: My server doesn't make backups anymore
Post by: rcschaff on April 26, 2020, 12:05:26 PM
Troubleshooting Steps:
Log in via SSH as root
crontab -l
(You Should see "/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/{Whichever backup}")

test by removing the "-q" from the command.  (EX of new backup)
/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000  /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

If you don't receive any errors, then it should be working.  IF your recieve an error about ioncube, there are at least 10 topics on the forum about how to fix that issue recently.  It involves manually updating your cwp files, as something failed in the last update.
Title: Re: My server doesn't make backups anymore
Post by: CoriaWeb Hosting on April 26, 2020, 12:26:01 PM
What if it shows this error? Hahahaha

Code: [Select]
[root@centosweb ~]# /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/rerces/admin/include/cron_newbackup.php
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdoresources/admin/addons/class_backupmanager.php on line 0
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdoresources/admin/addons/class_backupmanager.php on line 0
You have new mail in /var/spool/mail/root

I've already reported it to the CWP team, see what happens to the backup system now.
Title: Re: My server doesn't make backups anymore
Post by: rcschaff on April 26, 2020, 12:27:47 PM
That's a new one lol.  Definately open a ticket on that one :)

Thought thinking about it. Try deleteing the schedule in CWP and recreating it, and see if it fixes the issue.
Title: Re: My server doesn't make backups anymore
Post by: krasipetrov on April 26, 2020, 12:58:39 PM
The problem is not in cron.
I have the same mistake.
Title: Re: My server doesn't make backups anymore
Post by: rcschaff on April 26, 2020, 01:05:29 PM
The problem is not in cron.
I have the same mistake.

Understood.  Was making sure you didn't have an old version of the script encoded in ioncube5 still residing on the server, and couldn't be run by 7.2.  There's been quite a few people who's updates failed and old php files reside on their server after the update to 926.

As I said, I"m on .926 running 7.2, and everything is working perfectly fine for me that I notice.  So need to "Troubleshoot" what's going on so they can issue a patch.
Title: Re: My server doesn't make backups anymore
Post by: rcschaff on April 26, 2020, 01:10:53 PM
Try starting the backup, and run tail -f /var/log/cwp/cron_backup.log
Title: Re: My server doesn't make backups anymore
Post by: rcschaff on April 26, 2020, 01:29:12 PM
I guess I spoke too soon. Friday didn't run.   Apparently the new backup can't get a list of accounts to backup, as that's where it's stuck...
Title: Re: My server doesn't make backups anymore
Post by: Demontara on April 26, 2020, 01:40:03 PM
I have the same problem.

backup not working for about 1 week
Title: Re: My server doesn't make backups anymore
Post by: Sandeep on April 26, 2020, 05:04:01 PM
we're working on it.
Title: Re: My server doesn't make backups anymore
Post by: narin on April 26, 2020, 09:31:07 PM
We are looking forward..
Title: Re: My server doesn't make backups anymore
Post by: legija on April 26, 2020, 11:31:32 PM
Just installed latest update and new backup still doesn't work.
Title: Re: My server doesn't make backups anymore
Post by: rustylh on April 27, 2020, 03:07:33 PM
Has there been any advancements on this issue? My backups are still not working. Thank you.
Title: Re: My server doesn't make backups anymore
Post by: CoriaWeb Hosting on April 27, 2020, 04:17:44 PM
I have an open ticket on this "Urgent" problem and I'm not getting any answers at the moment.
Title: Re: My server doesn't make backups anymore
Post by: Demontara on April 27, 2020, 04:30:09 PM
Also Normal backup function does not work, backup mysql folder is not updated, daily and weekly folders are from months ago
Title: Re: My server doesn't make backups anymore
Post by: pere on April 29, 2020, 11:37:11 AM
No answer from CWP about when this backup problem will be fixed?
Title: Re: My server doesn't make backups anymore
Post by: pere on April 29, 2020, 11:38:46 AM
we're working on it.
Any news?
Title: Re: My server doesn't make backups anymore
Post by: Demontara on April 29, 2020, 11:50:20 AM
I can backup now with backup software shared by a member of this forum :)

http://forum.centos-webpanel.com/index.php?topic=8476.msg29472#msg29472
Title: Re: My server doesn't make backups anymore
Post by: krasipetrov on April 30, 2020, 06:09:38 AM
Now, i tried to make backup with Backup New and everything is work!
Title: Re: My server doesn't make backups anymore
Post by: legija on April 30, 2020, 11:22:12 AM
Yes, it does work now, with so far one problem. If ftp destination is selected it enters default destination dir which of course doesn't exist and here is manual intervention required.

Yet to see if it can backup mysql db-s properly.
Title: Re: My server doesn't make backups anymore
Post by: legija on April 30, 2020, 11:44:26 AM
Ok, so mysql backed up correctly on all but one domain (case with long username) there just sql grants table backed up, not a single db.