Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sharepoint 2010 Site URL

Posted on 2011-03-16
14
Medium Priority
?
484 Views
Last Modified: 2012-05-11
I am a Sharepoint Newbie.  We have 2010 installed on a 2008 R2 server.  Originally I setup a test site under https://ourserver/sites/test.  I now want to copy this site to https://ourserver/ but am struggling to do so.  I have looked at using stsadm as well as backup and restore but experiencing problems.  What is the best way of doing this?
0
Comment
Question by:PaulJohannesMarais
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 6
14 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35150276
You can't backup and restore a site to a different URL on the same content db.  So the first thing you need to do is add another ocntent db to your web app.

You can then use PowerShell backup-spsite and restore-spsite to backup the site and restore to new url.
0
 

Author Comment

by:PaulJohannesMarais
ID: 35150381
Ok Created a new content Database (does it matter that it has a long generated ID or is it better to name yourself?)

Do I need to create a top level site collection and point to the new content database before I restore?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35150385
Better to name yourself.  Yes,  you could create a site on the new db, then overwrite it with the restore.  This needs to be bumped to a 500 pt question, honestly.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:PaulJohannesMarais
ID: 35150451
Ok, sorry, I have used Exchange-Experts loads but never asked a question, only used existing questions
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35150501
SO yes, you could create a top level site in the new database.  It should do it automatically since the other db already has sites in it.  Then do the backup and restore powersehll commands.
0
 

Author Comment

by:PaulJohannesMarais
ID: 35150505
When you say create a site on the new DB, do you mean create a new site collection with just https://ourserver/ as the URL.  If so where do you nominate the newly created DB as the one the new site collection should use ?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35150531
Yes.  It should auto create it in the new content db. When more than one db attached to a web app, SharePoint automatically distributes the size load across the db's.

If not, there is a powershell command you can run to point to the db.  But try the above and let me know.
0
 

Author Comment

by:PaulJohannesMarais
ID: 35150653
Looking at the syntax for the backup-spsite command, do I need any additional parameters or just
"Backup-spsite https://ourserver/sites/test -path c:\filename.bak

Then in the restore the identity will be new url i.e.

restore-spsite https://ourserver -path c:\filename.bak ?

0
 

Author Comment

by:PaulJohannesMarais
ID: 35150665
Also, some of the doc libraries are mail enabled, will the restore break this ?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35150666
with restore, use the -force or -overwrite (can't remember) when going over an existing site
0
 

Author Comment

by:PaulJohannesMarais
ID: 35150851
OK, looks good, old site still there, assume that I can delete this when happy that everything has moved accross.  The only thing that seems to have remained on the old site is mail is still going to the old libraries and on the new site the option to mail enable is not there.  Can't remember where I make mail enable available  for all libraries?
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 2000 total points
ID: 35150887
It probably threw it off since theoritically, when you restored, you would have had two libraries in the environment with the same email address.

There is no where to globally set all libraries to be mail enabled.  You must do each one individually, under Library or List settings, far right column.  Keep in mind, not all libaries and lists can be enabled.
0
 

Author Comment

by:PaulJohannesMarais
ID: 35150942
What I was saying is that in Doc library settings - communicatons, there was  no "incomming e-mail settings" option, but refreshed page and appeared.  Going to try delete contacts in Exchange 2010 and see if I can link to new site
0
 

Author Closing Comment

by:PaulJohannesMarais
ID: 35151147
All sorted although email enabled libraries is one to remember.  Thanks for your help Ach1lles
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question