SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've run a site collection backup using Backup-SPSite. I then deleted the Site Collection using CA. Then tried to restore is using Restore-SPSite. Got the error "No content databases are available for this operation but the site collection is scheduled for deletion in at least one content database. Either wait for the deletion operation to complete or create a content database, and then try the operation again. To create a content database, click "Content databases" on the Application Management page, select the Web application to use, and then click "Add a content database".

I then ran the Gradual Delete Timer Job manually but I'm still getting the error.

Any suggestions? As usual, thanks a million in advance!

share|improve this question

Try to run the gradual site delete timer job with the option "Run Now". If that does not work, from services.msc try to restart SharePoint Timer Job Service. Once the timer is restarted , try running the job once again.

If that does not work , try looking into the discussion from here PowerShell - Restore-SPSite Error

share|improve this answer
Thanks however same results unfortunately. I had seen that thread but it was inactive & unresolved (last post October 2011) so I thought I'd start another. I noticed the timer job is executed. Status "succeeded" but duration is 00:00:00 which is suspicious. – user4747 Mar 7 '12 at 19:30
up vote 0 down vote accepted

After deleting the Site Collection through CA, I tried a 'Run Now' on the Gradual Site Delete timer job but still got the same error on the restore. The command 'Get-SPDeletedSite' showed me the site hadn't been completely deleted. Then 'Remove-SPDeletedSite' got rid of it. Then I was able to do the restore.

In the end, this is what worked for me as the cleanest/fastest procedure:

Backup-SPSite –Identity -Path “c:\site collection backups\testsite.bak”

Remove-SPSite –Identity

Restore-SPSite –Identity -Path “c:\site collection backups\testsite.bak”

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.