The CleanBackups WHM plugin gives you the ability to clean up your backup directory by setting how long backups should be kept for accounts that no longer exist on your server. The script can be run by hand or automatically after the cPanel backup completes.

  • Remove backups for customers no longer hosting with you.
  • Save old backups for a set number of days just incase that customer returns!
  • Manual or Automated backups removal.
  • Free up needed storage space and never see 100% usage again!

The installation process of this plugin is very simple, log into your server’s console as the user root and execute the following commands!

cd /usr/src
wget http://download.ndchost.com/cleanbackups/latest-cleanbackups
sh latest-cleanbackups

It’s that simple! Now log into the WHM, scroll down to plugins section and click the ‘Clean Backups’ link.