Introduction to SharePoint 2010 Site Backup Restore

Source: Internet
Author: User
Tags command line backup

Today, I tried to SharePoint2010 the website backup and restore, search some documents from the Internet to see, and then try their own, feel and 2007 of the operation is not too much difference, with you to share the way you try the command line and database methods, 2007 of their common is also the two ways.

1, command line way, on the server side, all Programs-Microsoft SharePoint products-sharepoint Management Shell OK

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

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

The simple introduction of this command Backup-spsite/restore-spsite is the name of the operation, we need to back up or restore, of course, the introduction of the site and export, you can search the Management Shell command; followed by the site collection of the url,- Path is represented by paths, followed by the physical path of the file; The restored commands are databaseserver the database server, followed by the server's machine name, and then databasename the database name followed by the database name of the site collection. Restore time, but also add-force, is to overwrite the previous site collection.

Feel this command line compared to before, there is a little bit unsatisfactory place, that is, the success of the operation is not prompted, failure will prompt the wrong, feeling or not enough humanity, to everyone cut a map, is my backup and restore when running the map, you can refer to.

Backup diagram

Restore diagram

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.