I want to change the URL of Site Collection _http://teamnet.com/old to _http://teamnet.com/new.
I found some solution to do the changing of URL via
backing up the site collection
stsadm -o backup -url http://teamnet.com/old -filename oldbk.bak
delete the old site collection.
stsadm –o deletesite –url http://teamnet.com/old
restore the backup file to new site collection.
stsadm -o restore -url http://teamnet.com/new -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 _http://teamnet.com and in _http://teamnet.com/new 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,
- Back Up the site collection /old
- Create a new site collection /new
- Delete /old
- Delete /new
- Restore backup file to /new ~~~ Now everything working fine .. hope this will helpful to someone ~~~