{"id":6052,"date":"2022-08-26T22:23:43","date_gmt":"2022-08-26T22:23:43","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6052"},"modified":"2022-09-01T05:32:31","modified_gmt":"2022-09-01T05:32:31","slug":"how-to-compare-two-document-libraries-from-different-office-365-tenancies-sharepoint-sites","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-compare-two-document-libraries-from-different-office-365-tenancies-sharepoint-sites","title":{"rendered":"How to compare two document libraries from different Office 365 Tenancies \\ SharePoint Sites"},"content":{"rendered":"<p>Recently I had bit titan migration and the Sharepoint Document Library size of the Source Tenant was 2TB and the destination was only 200GB , quite a bit different , however Bit Titan said everything had copied ok, but I wanted to make sure all the files were there<\/p><p>You can show Storage Metrics for a nice overview<\/p><p><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/office365itpros.com\/wp-content\/uploads\/2021\/10\/SPO-Preservation-Hold-library-stats.jpg?resize=840%2C549&amp;ssl=1\" alt=\"Retained content can occupy lots of storage in a SharePoint Online site\" \/><\/p><p id=\"HZxMAuy\">\u00a0<\/p><p>There are a few reasons why the sizes might not be like for like\u00a0<\/p><ol><li>Bit Titan only copies the last 3 versions<\/li><li>Recycle bin isn&#8217;t copied<\/li><\/ol><p>How do you compare Source to Destination to make sure everything had copied ok?<\/p><ol><li>Export both Document Libraries to Excel\u00a0<br \/><p id=\"UbIltPy\"><img loading=\"lazy\" decoding=\"async\" width=\"827\" height=\"213\" class=\"alignnone size-full wp-image-6053  img-responsive\" src=\"\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_63093ef8beafd.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_63093ef8beafd.png 827w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_63093ef8beafd-300x77.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_63093ef8beafd-768x198.png 768w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/p><\/li><li>Check Column A the Name Column , this is populated with Folders and File names , halfway down my both lists I was getting actual full file paths from some of the files\u00a0\u00a0<br \/><br \/><table width=\"782\"><tbody><tr><td style=\"font-weight: 400;\" width=\"782\">https:\/\/xxxxxxx.sharepoint.com\/sites\/Data\/Shared%20Documents\/xxxxxx\/xxxxx\/xxxxx\/xxxxxx.pdf<\/td><\/tr><\/tbody><\/table><br \/>This won&#8217;t work as the file paths will be different , so I used Excel to give me the file name only\u00a0<br \/><br \/>=RIGHT(A77318,LEN(A77318)-SEARCH(&#8220;#&#8221;,SUBSTITUTE(A77318,&#8221;\/&#8221;,&#8221;#&#8221;,LEN(A77318)-LEN(SUBSTITUTE(A77318,&#8221;\/&#8221;,&#8221;&#8221;)))))<br \/><br \/><\/li><li>\u00a0I then copied both columns into a new excel document , selected all and ran a unique compare<br \/><br \/><p><img loading=\"lazy\" decoding=\"async\" width=\"390\" height=\"453\" class=\"alignnone size-full wp-image-6055  img-responsive\" src=\"\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_630942b1e90cb.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_630942b1e90cb.png 390w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_630942b1e90cb-258x300.png 258w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><br \/><br \/><\/p><p id=\"pTRCBaG\"><img loading=\"lazy\" decoding=\"async\" width=\"337\" height=\"137\" class=\"alignnone size-full wp-image-6056  img-responsive\" src=\"\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_630942cb1e309.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_630942cb1e309.png 337w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_630942cb1e309-300x122.png 300w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/p><\/li><li>Anything marked as red are the missing files!<\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Recently I had bit titan migration and the Sharepoint Document Library size of the Source Tenant was 2TB and the destination was only 200GB , quite a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3922,3921,562,942,3923,3924],"class_list":["post-6052","post","type-post","status-publish","format-standard","hentry","category-research","tag-compare","tag-different-tenants","tag-excel","tag-sharepoint","tag-sharepoint-sites","tag-tenacies"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=6052"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6052\/revisions"}],"predecessor-version":[{"id":6085,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6052\/revisions\/6085"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}