Pruning of bandwidth data
Hi,
We're in a situation where we have a number of servers that have been running cPanel for some time, and their /var/cpanel/bandwidth directories have grown large some over 30GB with individual .sqlite files over 1GB.
Currently there is no way via cPanel to prune old data, some of these sites have been transferred from other servers and have bandwidth data going back over 15 years. Some servers also have this bandwidth data stored on a smaller SSD partition which this bandwidth data is consuming a significant proportion of.
I would like the option to prune old bandwidth data, for example to only keep bandwidth for the past 1 year with any bandwidth data older than 1 year ideally exportable for archive storage when deleted, though archival would be a secondary goal with just being able to prune these to reduce the size the primary objective.
Obviously without a method to prune this data will continue to grow in size and much like log rotations etc. it seems there should be a method to avoid this infinite growth.
Thanks for your consideration.
Hello Darryl,
I am interested in if this request gains any more attraction! I've set the request to Open Discussion.
Would you prefer to manage bandwidth for your customers, or would you prefer that your customers knew how to manage their disk quotas better?
Hello Darryl,
I am interested in if this request gains any more attraction! I've set the request to Open Discussion.
Would you prefer to manage bandwidth for your customers, or would you prefer that your customers knew how to manage their disk quotas better?
Hi Kelli, I'm in the same boat as Darryl and am confused by your question. I too want an option for cpanel to automatically prune old bandwidth data. What does that have to do with user disk quotas?
Hi Kelli, I'm in the same boat as Darryl and am confused by your question. I too want an option for cpanel to automatically prune old bandwidth data. What does that have to do with user disk quotas?
Replies have been locked on this page!