I ran Restore-SPSite on my server from a backup. I then deleted the site collection and did it again but got the following error:
Restore-SPSite : The operation that you are attempting to perform cannot be completed successfully. No content databases in the web application were available to store your site collection. The existing content databases may have reached the maximum number of site collections, or be set to read-only, or be offline, or may already contain a copy of this site collection. Create another content database for the Web application and then try the operation again.
This is because the same GUID is used twice in the content database. The way round this is to create a new content database.
What happends if I don't want to do that? What can I do? Is there any way I can force it in? Can I change the GUID and reeport import?