现在的位置: 首页 > 综合 > 正文

SharePoint 2007备份还原小结

2012年09月17日 ⁄ 综合 ⁄ 共 3238字 ⁄ 字号 评论关闭

Microsoft Technet上的关于备份还原的文章很多, 细节也全. 就因为太全, 所以弄清楚费时间. 小结一下, 列在这里.

注意, 这里列出的不包括第三方软件的备份还原方法, 就因为这些是微软提供的方法, 所以微软肯定提供支持的.

 

You can back up all server farm components or individual components, such as site content databases by using SharePoint Central Administration. You also have the option to backup shared services components, such as search.

 

使用界面的备份还原

===============

To perform a backup, do the following:

    1. Launch SharePoint Central Administration.

    2. Click the Operations tab.

    3. Click Perform a backup under the backup and Restore section. The Perform a Backup page is displayed.

    4. Select Components to you want to backup

    5. Click Continue to Backup Options in the page options. You are then redirected to the Start Backup page

    6. Specify the options and click OK to confirm backup.

 

To restore from backup, do the following:

    1. Launch SharePoint Central Administration.

    2. Click the Operations tab.

    3. Click Restore from backup under the Backup and Restore section. The Restore from Backup - Step 1: Select Backup File page is displayed for you.

    4. Type the backup location and click OK. SharePoint will look to read the spbrtoc.xml file from this location. The Restore From Backup - Step 2: Select Backup Package To     Restore page is displayed.

    5. Select the backup you want to restore.

    6. Click Start Restore Process from the page options. The Restore from Backup – Step 3: Select Component to Restore page is displayed.

    7. Select the component you want to restore and click Start Restore Process from the page options. The Restore from Backup - Step 4: Select Restore Options page is displayed.

    8. Confirm the settings.

    9. Click OK.

 

使用STSADM.EXE来备份还原

================

If customer want to backup a site collection, he can use stsadm.exe command-line tool. For more information about this, please check

 

灾难备份

For catastrophic backup, this can backup whole farm.

stsadm -o backup

   -directory <UNC path or local drive>

   -backupmethod <full or differential>

   [-item] <created path from tree>

   [-percentage] <integer between 1 and 100>

   [-backupthreads] <integer between 1 and 10>

   [-showtree]

   [-quiet]

 

灾难还原

For catastrophic restore, this can restore whole farm.

stsadm -o restore

   -directory <UNC path>

   -restoremethod <overwrite or new>

   [-backupid] <GUID from backuphistory, see stsadm -help backuphistory>

   [-item] <created path from tree>

   [-percentage] <integer between 1 and 100>

   [-showtree]

   [-suppressprompt]

   [-username] <user name>

   [-password] <password>

   [-newdatabaseserver] <new database server name>

   [-preservechangelog]

   [-quiet]

If customer want to backup a site or sub site, he can also use stsadm.exe command-line tool.

 

站点集备份

For site collection backup  http://technet.microsoft.com/en-us/library/cc263441.aspx

stsadm -o backup

   -url <URL name>

   -filename <file name>

   [-overwrite]

 

站点集还原

For site collection restore  http://technet.microsoft.com/en-us/library/cc262087.aspx

stsadm -o restore

   -url <URL name>

   -filename <file name>

   [-hostheaderwebapplicationurl] <Web application URL>

   [-overwrite]

 

站点备份

For site backup. http://technet.microsoft.com/en-us/library/cc262759.aspx

stsadm -o export

   -url <URL name>

   -filename <export file name>

   [-overwrite]

   [-includeusersecurity]

   [-haltonwarning]

   [-haltonfatalerror]

   [-nologfile]

   [-versions] <1-4>

   [-cabsize] <integer value>

   [-nofilecompression]

   [-quiet]

 

站点还原

For site restore. http://technet.microsoft.com/en-us/library/cc261866.aspx

stsadm -o import

   -url <URL name>

   -filename <import file name>

   [-includeusersecurity]

   [-haltonwarning]

   [-haltonfatalerror]

   [-nologfile]

   [-updateversions] <1-3>

   [-nofilecompression]

   [-quiet]

抱歉!评论已关闭.