SharePoint site migration Solution

Source: Internet
Author: User
Recently, the project is progressing smoothly, and the test server needs to be relocated to the formal server for the final test. Test a web application on the server. Program The official version has the physical characteristics, so in line with the "Code for your own use" principle, migrate this application to the formal server by means of backup and restoration. However, in the backup and restoration function of the management center, it is difficult to handle simple backup operations, So Google gave a summary.

 

Before proceeding, describe the implementation methods and technical background to be prepared. Use the stsadm command to back up files. Restore and perform the operation again.
1)Stsadm. EXE file. In Windows SharePoint Services 2.0, it is stored in c: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 60 \ bin by default. The default location of version 3.0 is c: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 12 \ bin. This is a powerful command line
Management tools cover almost all routine maintenance operations of moss. For more information, see SharePoint's powerful command line management (Chinese ). I am using this stuff mainly to back up site data.
2) SharePoint designer 2007. This stuff works with Sharepoint to design the site. I believe everyone is familiar with FrontPage. This software is used to replace it. For details about spd2007 backup, refer to backup, restore, or Mobile SharePoint sites.
Next, we will start our journey of backing up Sharepoint.

 

Method 1: Use the command line method to completely back up the site set or site.

  • First, we use the stsadm.exe file to back up database files.
    Stsadm-oBackup-URLHttp: // localhost: 18072-Filename D: \ sps-backup-2007-2-28.bak

    Note: If you want to run the stsadm command in any directory, you must add the directory where the file is located to the path of the environment variable. We have backed up all the data in the SharePoint website, including pages, lists, webparts, and even any files contained in the site directory.
  • Then copy the file to the sps-backup-2007-2-28.bak. copy the file to any directory on the target machine and run
    Stsadm-oRestore-URLHttp: // localhost: 8080-Filename D: \ sps-backup-2007-2-28.bak
    If a site set exists in the target location, you must delete it first, or add the parameter-overwrite and the site set is disabled. Otherwise, an exception occurs.
    This is the case where the site set exists. OK. If you specify the-overwrite parameter, we add the-overwrite parameter and execute it. However, an error still occurs :-(

    This is because the site set is being used as a web application. If we think that when we try to delete an MP3 file, an error is returned, this problem is easy to understand. Turn off IIS and restore it again. OK. The operation is completed successfully!
  • Sometimes we do not want to back up the entire site set, but just want to back up a website under the site set, you canBackupAndRestoreChangeImportAndExport, Set the URL to the URL of the source website.

Method 2: Use sharepoint2007 to completely back up the site set or website

    • In spd2007, there are two backup methods: one is to back up only physical files, and the other is to back up completely.
      In this case, only physical files are backed up. The file generation extension should be fwp:
      1)

      2)

      3) The following is a restoration of the website:
    • The following is the case where spd2007 is used for full backup. The file generation extension should be CMP:
      1)

      2)

      3) This is to restore the website.

Summary: there are many ways to back up Sharepoint, as well as more primitive direct backup databases and copy physical files, if you have a better method, I hope you can give me some advice ~~~

Related Article

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.