Website backup and restoration (grade)

Source: Internet
Author: User
Document directory
  • Step 1: Create a blank website as the target website
  • Step 2: Restore the backup file to the target website

Back up, restore, or move a website

 

Your workgroup has just published their latest quarterly reports to multiple document libraries on the workgroup website, and you want to back up your website at this critical moment. If your workgroup has been moved to another group in your organization, you need to move the workgroup website to another server. You can use Microsoft Office Sharepoint designer 2007 to create a backup copy of a website or a sub-website, and then recreate the website on the same server or another server.

When backing up and restoring a website, you actually perform three separate operations: First, you back up the website to a single file. Then, you create a blank website as the target website. Finally, you can restore the backup website to the target website.

Content

 

  • Should I use the "Backup and Restore" function or other packaging functions?
  • How can I move a Sharepoint website from one location to another?
  • How can I publish or copy a Sharepoint website from one location to another?
  • Back up website
  • Restore a website
  • Can I use "Backup and Restore" on the Office Sharepoint Server 2007 Website "?
  • Can I use "Backup and Restore" to upgrade my website from Windows SharePoint Services 2.0 to Windows SharePoint Services 3.0?

 

 

Should I use the backup and restore feature or another packaging feature?

 

There are three different functions for packaging websites: In Office Sharepoint designer 2007, you can back up a website or create a web package, and save the website as a website template in a browser. Which function you choose depends on what you want to achieve.

Web package (. fwp file)This feature can be used when you want to share or reuse a webpage, website, list, or library structure. With Web packages, You can package the entire website or select the desired page, list, or library. Web packages are an excellent way to copy website structures, but they do not include list data, subwebsites, or security and permission settings. The Web package can also contain custom links. After creating a package, you can import and deploy the file to multiple websites as needed. For more information about Web packages, see export or import web packages.

Backup and restoration (. CMP file)This feature can be used when you want to back up the entire website or sub-website or move the entire website or sub-website to another server or location. Unlike web packages, content migration packages include list data, but you cannot select to include only specific website elements. Note that you may lose some customization or settings during this process. For example, backup files do not include workflows, notifications, and attributes stored at the website set level. The backup file does not include the "recycle bin" status or objects in it. To use "Backup and Restore", you must have administrator permissions for the website.

Website template (. STP file)You can use this function to create multiple websites based on the same basic content or website structure. For example, you may want all the subnets created on a website to have similar website structures, appearances, and even content. Therefore, you can save a website as a website template and add it to the "website template library" so that anyone can use the website as a template. Unlike web packages, website templates can include list data. You must have the Administrator permission for the website to create the website template and write access to the "website template library. For more information about website templates, see"See"Find the corresponding link.

 

 

How can I move a Sharepoint website from one location to another?

 

A SharePoint website is not actually moved from one location or server to another location or server. Instead, it is backed up to a file and then re-creates the content or website from the backup file.

The "Backup and Restore" feature in Office Sharepoint designer 2007 is the best way to move a single website or sub-website from one server to another, but this method has restrictions, as described above. However, if you are a server administrator, you can use the powerful command line management tool named stsadm.exe in Microsoft Windows SharePoint Services. With this tool, you can back up or restore a website set at a time. A website set represents a top-level website and all its sub-sites. However, you cannot use stsadm.exe to back up a single sub-website, but you can only back up the website set. For more information about how to use stsadm.exe, see the Windows SharePoint Services administrator guide ".

 

How can I publish or copy a Sharepoint website from one location to another?

 

 

"Backup and Restore" function (not"Remote website"Command) is the preferred method to copy a Sharepoint site from one location to another.

Office Sharepoint designer 2007's "publish" feature ("Website"Menu,"Remote website"Command) does not support moving all types of SharePoint content. For example, when you publish or copy a website from one location to another, office Sharepoint designer 2007 cannot move Web parts or Sharepoint list data and Architecture (that is, columns, settings, and content of SharePoint lists and libraries) in the Web parts area ). In contrast, the "Backup and Restore" feature does not support moving these SharePoint contents.

 

Back up website

 

 

The backup website creates a content migration package or. CMP file. When backing up a website, you can back up a top-level website or any sub-website. The backup files you create include list or library content, security settings, user information, navigation, custom and personalized information (such as views, website templates, and content types ). Backup files do not include workflows, notifications, and attributes stored at the website set level.

To back up a website, you must have administrator privileges for the website, but you do not need to have administrative access to the server running Windows SharePoint Services 3.0.

  1. In"File"Click"Open Website".
  2. In"Open Website"In the dialog box, browse to the website you want to back up, click the website, and then click"Open".
  3. In"Website"Menu, pointing"Management"And then click"Backup Website".
  4. In"Backup Website"In the dialog box, select"The archive contains sub-websites"Check box.
  5. If the current website has insufficient storage space, click"Advanced", Enter a new location, and then click"OK".

    A temporary backup file must be stored in the backup website. By default, Office Sharepoint designer 2007 uses the current website. You can use another website on the same server or a location on another server on the same network, such\\Server Name\Share Name.

  6. In"Backup Website"In the dialog box, click"OK".
  7. In"Save files"In the dialog box, select the location where the. CMP file is to be stored.
  8. In"File name"Box, enter the name of the file, and then click"Save".

    If the website you want to back up or restore is large, the process may last for a long time.

PromptTo check whether an error exists during the backup process, you can check the. log file .. Log files are stored in the temp folder of your user account. If the last backup or restoration log file already exists, the new log file will be created using another file name, such as smigrate_1.log and smigrate_2.log. Search for the following error messages in the log: cannot, cocould not, failure, server error, timed out, unable to, and the server sent a response.

NoteIf you are a server administrator, you can use the powerful command line management tool named stsadm.exe in Windows SharePoint Services. With this tool, you can back up or restore a website set at a time. A website set represents a top-level website and all its sub-sites. However, you cannot use stsadm.exe to back up a single sub-website, but you can only back up the website set. For more information about how to use stsadm.exe, see the Windows SharePoint Services administrator guide ".

 

 

Restore a website

 

 

Step 1: Create a blank website as the target website

 

  1. In"File"Click"New".
  2. In"New"In the dialog box, click"Website"Tab, click"Regular"And then click"Blank Website".
  3. In"Specify the location of the new website"Enter the location of the backup website.

    You can restore the website to another server and restore it to a new top-level website or a sub-website under an existing top-level website.

  4. Click"OK".

PromptYou can also use the "website Settings" or "CREATE" page in your browser to create a blank website. For example, you can click"Website operations"And then click"Create". On the "Create" page"Webpage", Click"Website and work zone". Complete the first four parts, but when you go to the "Template Selection" section, close the browser without making any choice. Do not apply any templates (including "Blank Website" templates). Otherwise, the Restoration Operation will fail.

 

Step 2: Restore the backup file to the target website

 

  • Open the target website and go"Website"Point"Management"And then click"Restore a website".
  • In"Open File"In the dialog box, browse to the. CMP file to be restored, click it, and then click"Open".
  • If the current website has insufficient storage space, click"Advanced"And then Perform one of the following operations:
    • To store the archive file in another temporary location, go"Temporary location of the archive file"Enter a new location.

      A temporary backup file must be stored in the backup website. By default, Office Sharepoint designer 2007 uses the current website. You can use another website on the same server or a location on another server on the same network, such\\Server Name\Share Name.

    • To store the. Log File in another location, go"Location of the imported Log File"Enter a new location.

      If the server cannot write data to the default location, you may need to select another location for the. log file. By default, Office Sharepoint designer 2007 creates an import. log file on the current website. You can check this file to check whether errors exist during restoration.

  • In"Restore a website"In the dialog box, click"OK"To confirm that you want to restore the. CMP file to the current blank website.

    If the website you want to back up or restore is large, the process may last for a long time.

The method for backing up a sub-website is very wrong. However, the most common method is the following. The main purpose of writing this method is to find it in time when you need it.

The command line tool is also located in the "C: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 60 \ bin" directory.

Readers who have some knowledge about the SharePoint command line tool should be familiar with this tool. It contains a variety of functions for Sharepoint website management, such operations include adding and deleting websites, adding and Deleting Users, and adding and deleting Web parts. This section only describes the application of this tool in website set backup and recovery.

The backup and recovery of the stsadm.exe command is completed at the website set level and cannot be performed separately for a website.

The Operation Command of stsadm.exe is connected to the-O parameter. There are three operations in backup/recovery:

Enumsites: list all website sets on the specified virtual server.

Backup: backup of the website set.

Restore: resumes the website set.

The command to list the website set on the server is as follows:

Stsadm.exe-O enumsites-URL http: // SERVERNAME

When backing up and recovering a website set, the parameters are as follows:

-URL: the URL of the website set to be backed up/restored.

-Filename: Path of the backup file.

-Overwrite: Optional. Overwrite existing backup files or website sets.

For example, the command to back up a website set is as follows:

Stsadm.exe-O backup-URL http: // contososrv/sites/backup-filename c: \ back. dat

The command to restore a website set is as follows:

Stsadm.exe-O restore-URL http: // contososrv/sites/backup-filename c: \ back. dat-overwrite

When using this command to back up and restore a website set, you should note that the website URLs before and after the backup should be consistent; otherwise, the website cannot be restored normally.

This backup and recovery can contain security settings or personal information. This command is applicable to the backup and recovery of the complete website set. In addition, this method can forcibly overwrite existing sites without the need to create a new site and then apply it.

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.