import etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
import etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

3 Ekim 2012 Çarşamba

Sharepoint 2010 - SharePoint Error: The exported site is based on the template STS#1 but the destination site is based on the template STS#0

Hi,
If you would like to restore a site which is created as TeamSite but you would like to restore it on a Blank Site you ll see this error.

In order to fix it you should recreate the site with right template.

Here is the list:
Source:
http://blogs.technet.com/b/araviraj/archive/2008/06/18/sharepoint-templates-types.aspx

GLOBAL#0
 Global template (1033)
STS#0
 Team Site (1033)
STS#1
 Blank Site (1033)
STS#2
 Document Workspace (1033)
MPS#0
 Basic Meeting Workspace (1033)
MPS#1
 Blank Meeting Workspace (1033)
MPS#2
 Decision Meeting Workspace (1033)
MPS#3
 Social Meeting Workspace (1033)
MPS#4
 Multipage Meeting Workspace (1033)
CENTRALADMIN#0
 Central Admin Site (1033)
WIKI#0
 Wiki Site (1033)
BLOG#0
 Blog (1033)
BDR#0
 Document Center (1033)
OFFILE#0
 Records Center (1033)
OFFILE#1
 Records Center (1033)
OSRV#0
 Shared Services Administration Site (1033)
SPS#0
 SharePoint Portal Server Site (1033)
SPSPERS#0
 SharePoint Portal Server Personal Space (1033)
SPSMSITE#0
 Personalization Site (1033)
SPSTOC#0
 Contents area Template (1033)
SPSTOPIC#0
 Topic area template (1033)
SPSNEWS#0
 News Site (1033)
CMSPUBLISHING#0
 Publishing Site (1033)
BLANKINTERNET#0
 Publishing Site (1033)
BLANKINTERNET#1
 Press Releases Site (1033)
BLANKINTERNET#2
 Publishing Site with Workflow (1033)
SPSNHOME#0
 News Site (1033)
SPSSITES#0
 Site Directory (1033)
SPSCOMMU#0
 Community area template (1033)
SPSREPORTCENTER#0
 Report Center (1033)
SPSPORTAL#0
 Collaboration Portal (1033)
SRCHCEN#0
 Search Center with Tabs (1033)
PROFILES#0
 Profiles (1033)
BLANKINTERNETCONTAINER#0
 Publishing Portal (1033)
SPSMSITEHOST#0
 My Site Host (1033)
SRCHCENTERLITE#0
 Search Center (1033)
SRCHCENTERLITE#1
 Search Center (1033)
SPSBWEB#0
 SharePoint Portal Server BucketWeb Template (1033)

6 Şubat 2012 Pazartesi

Sharepoint 2010 import - site and list

To be able to import a site:

- Create the site by using New site, name it as the same it would be imported.
- Run the Management Shell as Admin
- Run the following command

import-spweb -identity http://contosoweb/sitename/ -path \\appserver\bu\list.cmp


To import a list:

Import-SPWeb http://contosoweb –Path D:\imports\ImportList.cmp

1 Şubat 2012 Çarşamba

Sharepoint 2010 - Granular Backup (site, list import & export)

Export

Go to Central Administration - Backup and Restore - Granular Backup - Export a site or list

Select the site collection - site and list, (depending on your export scope)

Give a export filename
Select export version and press Start Export.

Wait until the process is over.


Import:
Get the path of the .cmp file that you ve exported.

Open the Sharepoint 2010 Management Shell as Administrator

Type
Import-SPWeb <siteUrl> –Path <fullpath of the .cmp file>

Sample:
Import-SPWeb http://tristk004dvp:17691 –Path D:\imports\ExpenseSite.cmp


Note:
If you export-import the files between servers you can use a shared location to keep things simpler.