" September 2011 "

How to remove user/account from cPanel backups (cpbackup)

Sometimes you may be required to remove a user from cPanel backups due to inode usage or directory size, in order to do that you can use the web interface to exclude those users in WHM, but i prefer to do everything through the backend, and for those of you who maybe want to write a shell script or something, you may need this as well.

There are two files you can use to remove a user or exclude specific directories from cPanels backup (cpbackup), those two files are:


Host Tornado fixpath.sh shell script to fix broken or incorrect paths

Have you ever transferred over your own site or a customers site from another server just to find out that it does not work because the full path has changed? This can commonly happen whenever you transfer over a Joomla, WordPress, Drupal, or any other site but the account now has a username.
So for instance, the path to your public_html folder used to be
but now on the new server it has changed to
or MySQL usernames changed.