Recycle Bin still not removing files SharePoint 2010
We ran into an issue as we had a site collection that we wanted to save off as a template for creating new site collections. The problem was all the documents were still there and the backup file was 20 GB large. The first thing to do was create a backup and then restore it to a new site collection. After that, we deleted all the documents. Next, we cleared out the recycle bin. Then we cleared out the site collection recycle bin. The backup of this site collection was still the same size (20 GB). Next, I ran a script to list all the files. I found that the deleted files were still there. Here's that script: select type, dirname, LeafName, size, TimeLastModified FROM [WSS_Content_Delete].[dbo].[AllDocs] where (TimeLastModified < '2013-01-02') AND (Size is NOT NULL) AND (LeafName not like '%.aspx') and (DirName not like '%_catalog%') and (DirName not like '%Style Library%') and (DirName not like '%_themes%...