Restore-SPSite : The site collection could not be restored. If this problem persists, please make sure the content databases are available and have sufficient free space.

Error: “Restore-SPSite : The site collection could not be restored. If this problem persists, please make sure the content databases are available and have sufficient free space.”

Error Type : Higher level generic error

You might see this error while trying to restore the backup from same/different environment and while restoring using Restore-SPSite .

Possible workarounds ( one or other not all):

  1. Try to append -DatabaseName “New database name”  to the Restore command.
  2. Try creating new content db from CA and restore it to that new created db.
  3. Manually run the “gradual site delete” timer job from CA.
  4. GetSPDeletedSite webapplication “http://RootSiteCollection” | RemoveSPDeletedSite.”  This will clear the site collections from recyclebin. This will prompt you before deleting each site collection from sharepoint recycle bin
  5. This will remove the orphaned enteries from content database

    Open Sharepoint management Powershell and run this

    [[code]]czo1NDA6XCI8c3BhbiBjbGFzcz1cXFwicGxuXFxcIj4kZGIgPC9zcGFuPjxzcGFuIGNsYXNzPVxcXCJwdW5cXFwiPj08L3NwYW4+IDxzcGFuIGNsYXtbJiomXX1zcz1cXFwidHlwXFxcIj5HZXQ8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInB1blxcXCI+LTwvc3Bhbj48c3BhbiBjbGFzcz1cXFwidHlwXFxcIj5TUERhdGFie1smKiZdfWFzZTwvc3Bhbj4gPHNwYW4gY2xhc3M9XFxcInN0clxcXCI+XFxcIkNvbnRlbnRfREJfTmFtZVxcXCI8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInB1blxcXCJ7WyYqJl19Pjs8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInBsblxcXCI+DQoNCiRkYjwvc3Bhbj48c3BhbiBjbGFzcz1cXFwicHVuXFxcIj4uPC9zcGFuPjxzcGFue1smKiZdfSBjbGFzcz1cXFwidHlwXFxcIj5SZXBhaXI8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInB1blxcXCI+KDwvc3Bhbj48c3BhbiBjbGFzcz1cXFwicGxuXFxcIj57WyYqJl19JHRydWU8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInB1blxcXCI+KTs8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInBsblxcXCI+DQoNCiRkYjwvc3Bhbj48e1smKiZdfXNwYW4gY2xhc3M9XFxcInB1blxcXCI+Ljwvc3Bhbj48c3BhbiBjbGFzcz1cXFwidHlwXFxcIj5VcGRhdGU8L3NwYW4+PHNwYW4gY2xhc3M9XFxcInB1e1smKiZdfW5cXFwiPigpOzwvc3Bhbj4gXCI7e1smKiZdfQ==[[/code]]

Leave a Reply

Your email address will not be published. Required fields are marked *

Bitnami