Clean Backups Plug-in not working anymore, anyone have same problem?

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Usually my backups file are deleted automatically by Clean Backups Plug-in NDCHost - Clean Backups plug-in for cPanel/WHM

but looks like since about few days/week ago not working anymore, my backup Disk usage are above 90% now, usually its only 20-50%

maybe this is since latest whm/cpanel update, Clean Backups Plug-in not working anymore




firstly i got this error message in Clean Backups Plug-in page :
HTTP error 401
cgi/addon_cleanbackups.cgi
i got the solution by add this line
permit_unregistered_apps_as_root=1
in /var/cpanel/cpanel.config

the page is already opened, but the plugin looks like still not working like i tell above, no backups file detected or cleaned


Nb.
already tried uninstall & intall again, and change some of the plugin settings, still same
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

I wanted to point out that the value you modified in /var/cpanel/cpanel.config is equivalent to this option under the "Security" tab in "WHM Home » Server Configuration » Tweak Settings":

"Allow apps that have not registered with AppConfig to be run when logged in as root or a reseller with the "all" ACL in WHM"

This option was introduced in cPanel 11.38.1 to provide additional visibility of installed apps and addons and the privilege level at which they are installed. This forces apps and addons to register with AppConfig before WHM will execute them when logged in as root or a reseller with the "all" ACL.

Thank you.
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
You could try this plugin from cplicensing which does the same;
Clean Backups cPanel/WHM plugin
looks like still not working too, any other plugins or how to delete old backup files without these plugins?



Hello :)

I wanted to point out that the value you modified in /var/cpanel/cpanel.config is equivalent to this option under the "Security" tab in "WHM Home » Server Configuration » Tweak Settings":

"Allow apps that have not registered with AppConfig to be run when logged in as root or a reseller with the "all" ACL in WHM"

This option was introduced in cPanel 11.38.1 to provide additional visibility of installed apps and addons and the privilege level at which they are installed. This forces apps and addons to register with AppConfig before WHM will execute them when logged in as root or a reseller with the "all" ACL.

Thank you.
thank you for adding the information
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
wow cant believed no solution anyone? so how do you delete old backups if not using this plugin then?
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Time to move on to the new Backup system then. ;)
ah so 'Legacy Backup Configuration' is old backup system, and 'Backup Configuration' is new backup system that already can deleted automatically

thank you then
 

papu

Registered
Mar 22, 2012
2
0
51
cPanel Access Level
Root Administrator
The problem is:

When an account is terminated, it's latest backup is stored indefinitely. This has nothing to to with the "Scheduling and Retention" settings.

NDCHost backup cleaning script is not working with the cPanel's after activating the new backup system, at least with the incremental setup.

Is there a way to automatically delete backups from terminated accounts after a stated time?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Backups should not remain indefinitely with the new backup system. The entire date-based directories should be removed when it's retention period is over. Have you been able to reproduce the date-based directories in your backup location remaining longer than expected?

Thank you.
 

stormy

Well-Known Member
Nov 22, 2003
142
12
168
Spain
cPanel Access Level
Root Administrator
Backups should not remain indefinitely with the new backup system. The entire date-based directories should be removed when it's retention period is over. Have you been able to reproduce the date-based directories in your backup location remaining longer than expected?

Thank you.
I can confirm that this is not the case. Backups for terminated accounts remain indefinitely in the backup drive. This is using the new backup system, and incremental backups.

You can recognize them because the owner is a number instead of a user name.

How can we delete them? Is this going to be corrected?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
There is no script that will automatically purge backups for terminated accounts, but you can use "rm" to manually remove the old archives/directories.

Thank you.