I'm about to start googling but figured I'd start here. We already found a VB script that enumerates SharePoint site collections / sites. It calls stsadm to achieve this and it recursively evaluates each site to get the sub-sites.
I would like to know if we can modify that script to get the size (in bytes) of each site collection / site.
We're using MOSS 2007.
EDIT: I found a related question on SO but didn't see an answer for the disk space question.
SharePoint site collection backup and restore are only supported for a maximum site collection size of 100 GB. For larger site collections, the complete content database must be backed up.
The amount of Microsoft SharePoint storage for your organization is based on your number of licenses. Your organization has total storage of 1 TB plus 10 GB per license of eligible plan purchased, plus any Microsoft 365 Extra File Storage add-on purchased.
The maximum recommended number of sites and subsites in a site collection is 250,000 sites.
You can get the site collection's size in MB.
stsadm -o enumsites -url http://url
<Sites Count="1">
<Site
Url="http://url"
Owner="A\user"
SecondaryOwner="A\user2"
ContentDatabase="WSS_Content_DB"
StorageUsedMB="13756"
StorageWarningMB="0"
StorageMaxMB="0" />
</Sites>
Will update if I find a method for sites/subsites.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With