Web Hosting Talk







View Full Version : Usefull Information for people using WHM


ebo
12-08-2001, 07:19 PM
Hi,

I have seen many posts accross the forum where people ask how to restore lost quota files, and the answers they usually get are, "You have to go manually reset them all" NOT TRUE!

Just in case some people wanted to know that didnt, you can reset all your lost quota files by editing your packages. If you have predefined packages, and lost the quota files for them, and they all went to 'unlimited' all you have to do is go to edit packages, type in a different space quota, accept, then go back, edit the same package, revert it to the original wanted quota, and ta-da, all the accounts with those packages have been reset. Comes in handy if you have alot of accounts on a server, and dont want to reset all the quotas by hand.

Just in case anyone wanted to know... :)

CRego3D
12-08-2001, 10:07 PM
Originally posted by ebo
Hi,

I have seen many posts accross the forum where people ask how to restore lost quota files, and the answers they usually get are, "You have to go manually reset them all" NOT TRUE!

Just in case some people wanted to know that didnt, you can reset all your lost quota files by editing your packages. If you have predefined packages, and lost the quota files for them, and they all went to 'unlimited' all you have to do is go to edit packages, type in a different space quota, accept, then go back, edit the same package, revert it to the original wanted quota, and ta-da, all the accounts with those packages have been reset. Comes in handy if you have alot of accounts on a server, and dont want to reset all the quotas by hand.

Just in case anyone wanted to know... :)

hehe, oldest trick in the book :D ..

regier
12-08-2001, 10:35 PM
Just so you know, this will mess up bandwidth quotas on any account that you have added extra bandwidth to though.

Before you do that, create a tar of the /var/cpanel/users/ directory. Once you have finished resetting the packages, restore these files. That will restore all of the persons bandwidth quotas.