[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Clone Sharepoint website

Posted on 2013-01-12
6
Medium Priority
?
410 Views
Last Modified: 2013-01-30
Hello Team:

We would like to clone sharepoint site using powershell, how it is possible? Please provide sample.

We need to clone all the users, workflows, permissions, how ever we would like to have different URL for the cloned site.

Regards,
CS
0
Comment
Question by:CalmSoul
[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
6 Comments
 
LVL 42

Expert Comment

by:Meir Rivkin
ID: 38771327
here:
Clone a SharePoint 2010 Site using PowerShell

btw, it clones single site collections not entire web application.
0
 
LVL 13

Accepted Solution

by:
Yagya Shree earned 2000 total points
ID: 38771467
Hi,

When you are talking about cloning, in sharepoint terms we called it backup/restore

Below are the powershell command to do backup/restore of a site collection in the same farm, same web application but different url:

Backup-SPSite
http://technet.microsoft.com/en-us/library/ff607901.aspx

Restore-SPSite
http://technet.microsoft.com/en-us/library/ff607788.aspx

You should not use a third party tool to do this as this  is a OOB feature present in sharepoint itself.
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 38773453
As the previous two proposed solutions do not take into account the backing up and restore of workflows, I don't think they apply to your question. If it is the full web application (being http://yoursite) that you want to copy, then you can just use content database backup and restore:

Backup the content database of the web application
Create the new web application with the new url and temp_content_db as database name
 Attach the content database to SQL
Add the content database to the web application
Delete the temp_content_db

If it is just a site that you want to move including its workflows, you will need to look at 3d party tools (like Sharegate...)
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 5

Author Comment

by:CalmSoul
ID: 38797582
What is the  process of taking backup of only content database?
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 38800146
0
 
LVL 5

Author Comment

by:CalmSoul
ID: 38802007
Thanks KoenVosters, can you please clear the point when you said " Attach the content database to SQL" what do you mean by that?
0

Featured Post

Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

656 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