This script cleans up old backups. You can easily remove backups of old accounts that are terminated from the server, which can consume your valuable space. This script compares /var/cpanel/users and those users "with" the cpanel backups on server. If it finds a backup that does not have a user in /var/cpanel/users, it takes whatever action you want it to do.
Installation
------------
Plugins requires that you have root access to the server via the console or SSH.
# cd /home
# rm -f latest-cleanbackups
# wget http://www.ndchost.com/cpanel-whm/plugins/cleanbackups/download.php
# sh latest-cleanbackups
Location: Log into the WHM, click on plugins, then Clean Backups.
No comments:
Post a Comment