SharePoint 2010 Site Backup Restore Brief Introduction

Source: Internet
Author: User

Today, try to SharePoint2010 website backup and restore, search some documents from the Internet to see, and then try it, feel and 2007 of the operation is not much different, with you to share the command line and database of the way, 2007 of their own commonly used is the two ways.

1, the command line way

On the server side, all Programs-Microsoft SharePoint products-sharepoint Management Shell determines

Backup site command: Backup-spsite http://localhost:10086-Path C:\100861.bak

Restore site command: restore-spsite http://localhost:10087-Path C:\10086.bak-Force-DatabaseServer Sharepoint2010-databasename Wss_content_10087test

Simple introduction to this command Backup-spsite/restore-spsite is the name of the operation, we need to back up or restore, of course, there are web site import and export, you can search the Management Shell command, followed by the site collection url,- The path is represented by paths, followed by the physical path of the file, and the restored command contains the Databaseserver database server, followed by the server's machine name, and then databasename the database name, followed by the database name of the site collection. When you restore, you also add-force, which is to overwrite the previous site collection.

Feel this command line compared before, there is a bit of unsatisfactory place, is the operation of success without prompting, failure will prompt error, the feeling is still not enough human, to everyone cut a picture, is my backup and restore operation diagram, we can refer to the next.

Backup diagram

Restore diagram

There is the import and Export command, we refer to the following

Export Export-spweb Http://localhost/test–path C:\test.cmp
Import Import-spweb Http://localhost/test–path C:\test.cmp

Talk about the difference between import and restore, import is generally to add new content, will not overwrite the previous content, restore is not the same, is overwritten; Import is generally used to add content such as subsites, or to aggregate sites into a site collection under the action; Backup, restore more is used for the overall site collection of mobile, People pay attention to the application of the occasion, choose the right way to do their own.

2. Database mode

This is exactly the same as the previous 2007 database, on the database server, find our site collection application, and then back up a copy, restore to the new server.

Then create a new application, find the Central Administration – Application Management – Database – Manage the content database, select our new application, delete the previous ones, append the ones we just restored, and then. You don't even need to restart IIS to feel like it's a little easier.

However, this will encounter problems, if the same database server, so the operation of modifying the content database will prompt for duplicate ID (such as error), so it is recommended to use this method of migration.

3, the Management Center's website and the backup , this oneself is not very familiar, simple introduction under.

You first tried the next backup: Central Administration – Backup and restore – Granular backup – Perform site collection backup, file name directly fill in the physical path, E.m:c:\beifen.bak

Central Administration Backup Map

This backup can still be used, but when the restore, the management center of the poor, do not know that SharePoint itself is a problem, or other problems, but this backup can be used to restore the command line, we refer to the above command line. There is a reference to the time, there are said to choose the template is not the same time, the site recovery will be problematic, I in the recovery, the special choice of two templates, no problem, because before 2007, are new blank site used to restore, because relatively fast, so that there should be no problem. That's all there is to say, well, it's late, everybody good night.

******************************************************************************

Linyu
Source: Http://www.cnblogs.com/jianyus
This article is copyright Linyu and blog Garden Altogether, welcome reprint, but please indicate the source.

SharePoint 2010 Site Backup Restore Brief Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.