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 want to change the URL of Site Collection _ to _

I found some solution to do the changing of URL via

  • backing up the site collection

    stsadm -o backup -url -filename oldbk.bak
  • delete the old site collection.

    stsadm –o deletesite –url
  • restore the backup file to new site collection.

    stsadm -o restore -url -filename oldbk.bak

The Problem is -

When I restore the backup file to new site collection it say "Another site already exists at '/new'. Choose a new URL, or specify the -overwrite flag to overwrite the existing site."

And If I put -overwrite in end of the restore command the backup file also replaced the content of root site collection _ and in _ There is no link but Error and Recycle Bin in Left Navigation Menu.

Could anyone please guide me to properly Backup the specific site and restore the site into new Site Collection URL, Without effecting to Root Site Collection.

Thanks in Advance ~

=================== I've finally found a solution for this case,

  1. Back Up the site collection /old
  2. Create a new site collection /new
  3. Delete /old
  4. Delete /new
  5. Restore backup file to /new ~~~ Now everything working fine .. hope this will helpful to someone ~~~
share|improve this question

Do you have an exclusive managed path set for /new? Make sure you do otherwise a site collection is not allowed to live there and it will overwrite your root site.

share|improve this answer

Step 1) you were missing -overwrite

stsadm –o backup –url -overwrite -filename backup.dat

Step 2) delete the site

stsadm –o deletesite –url

Step 3) i dont know if it was a typo but you were renaming to the same site? create the new site at the new url

stsadm –o restore –url -overwrite -filename backup.dat

that should do the job ;)

share|improve this answer
Hi Ali, Thanks for Quick Reply ~ I just backup the site collection with 'stsadm –o backup –url -overwrite -filename backup.dat' and restore with 'stsadm –o restore –url -overwrite -filename backup.dat' (Included -overwrite) and it end up with updating to root site ( I doubt that using -overwrite in restoring command replace the content of the root site~ Any Idea ? ~in step 3, Yes it is typo error I wanted to use New URL instead of Thanks anyway ~ – Aung Thurein Tun Apr 15 '13 at 10:04
it shouldnt of overwiritten to root site as you stated , strange! my code is exacly the same as the following:… and – ali Sharepoint Apr 15 '13 at 10:33

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.