SharePoint 2010 Backup and Restore – What’s New

Kurz vor dem Wochenende ist Backup & Recovery mein heutiges Thema. Unsere alte SharePoint 2007 Umgebung (Company Web / Knowledgebase / Blogs / MySite) haben wir mit DocAve for SharePoint gebackupt und ggf. Sites, oder Files wiederhergestellt. Jetzt suche ich neben den SharePoint eigenen Bordmitteln nach neuen Alternativen und teste gleichzeitig auch die Bordmittel im Detail.

Meine 2010er Umgebungen werden zurzeit via Content Database SQL Server Backup gesichert und, zum Glück musste ich das nur testen, wiederhergestellt. Zurzeit ist diese Methode noch ausreichend, für einen Restore auf File bzw. Elementebene in Kundenumgebungen später jedoch nicht vorteilhaft. Zur Auswahl stehen die bekannten Tools DocAve for SharePoint 2010 von AvePoint, Recovery Manager for SharePoint von Quest und Backup Exec 2010 & System Recovery von Symantec. Einen ausführlichen Testbericht gibt’s dann etwas später – jetzt richte ich erst einmal alle Tools ein, dann heißt es: testen bis der Arzt kommt 😉

Aber was ist jetzt eigentlich neu bzw. anders bei den SharePoint 2010 eigenen Bordmitteln als in SharePoint 2007? Dazu habe ich einen kurzen und doch recht informativen Artikel auf gefunden:


Author: Admin

SharePoint 2010 Backups are a major advance over the backup facilities in SharePoint 2007. SharePoint can now easily maintain full backups and even granular backups, where only selected data can be restored. For this article I will demonstrate how to use PowerShell to backup and restore SharePoint applications as well as the standard the SharePoint web interface.

Content Database Recovery

In SharePoint 2007, my preference for SharePoint backup  was to perform a database backup. It was easy to maintain and backup/restore over many SharePoint farms, and it needed little administrative work in case when I had to move the sites to different farms, or restore broken farms to new hardware. To the experienced SharePoint administrator, with the content databases only, it didn’t take long to restore the content. But the real disadvantage of SharePoint backup via database backup was not in the hard recovery, where you had to deal with the entire server failures – the pain was recovering a single file from a document library that was accidentally deleted. The only way to recover that file using the database backups, was to fully restore it on different farm, attach it to any temporary SharePoint site and browse to the file to restore it from the library. Now this is no longer an issue, since we have Unattached Content Database Recovery.
Unattached Content Database Recovery allows you to browse through the content database using SharePoint, navigate to a list or document library and save the list or library into .cmp file which can easily be moved between sites.

Unattached Content Database Recovery

To be able to use this feature, you simply need to attach the content database backup with a different name to a SQL server instance and then use the screen (shown above) to retrieve any content from the attached database backup. You do not need to attach that database to any site inside a farm anymore. This feature is a part of the Granular Backup functionality in SharePoint. You can store that way entire content databases using MS SQL management tools or decide to backup only the site collection.
Backup and Restore feature
The stsadm powered backup and restore features from SharePoint 2007 are still here, but they have changed and now they can be helpful rather than painful for the administrator.

Backup in Central Administration

Central Administration now checks if the required services are running and gives the choice to backup the entire farm, or only selected applications or services. Backup and restore from Central Administration performs the same operations as the command line and stsadm tool. When you choose the content to backup, you may decide to perform full or differential backup and provide the path to the storage location for the backup.

Backup Using StsAdm

To perform the backup using StsAdm (which may be helpful when configuring automatic backups) you should first type in the backup command itself, to see what it is capable of.
To be able to use StsAdm, open the CMD window and browse to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\bin directory and type in the stsadm command for backup as shown below:

The backup command for SharePoint 2010 is very similar to 2007 but now it is now much more efficient. For example, you can now easily backup search indexes and restore which was impossible in SharePoint 2007 and was a big issue for companies that had millions of documents and needed instant search access in their production environments.

Sample command to perform a farm backup with stsadm:
Stsadm –o backup –directory \\myServer\backup -backupmethod full

Using Powershell to Perform SharePoint Backups

To be able to use SharePoint commands with PowerShell, we first need to load the SharePoint snap-ins into the PowerShell console.

Now in a similar way to using StsAdm , we can test what PowerShell is capable of by typing the get-help Backup-SPFarm command. The PowerShell cmdlet allows for creating a backup of an individual database, web application or the entire farm. It is able to backup individual components or entire farm settings at once, but if we want to backup the site contents, we should check the Backup-SPSite cmdlet instead.

Examples of Backup-SPFarm:

Make full backup of configuration settings of the farm to the Backup directory:
Backup-SPFarm -Directory \\file_server\share\Backup -BackupMethod full -ConfigurationOnly

Backup the farm using 10 Backup threads and place the farm backup into C:\Backup folder. (the force parameter will force the backup even if there’s is insufficient space for the backup files:
Backup-SPFarm -Directory C:\Backup -BackupMethod full -BackupThreads 10 -Force

Backup a specific site collection to the C:\Backup folder:
Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak


When I was using SharePoint Server 2007 the out-of-the-box backup and restore mechanisms were inadequate for backing up a large corporate SharePoint installation. Instead I stayed with the trusted the database backup, however there is always a need minimize the effort to accomplish a task, and and SharePoint 2010’s backup and restore are now enterprise ready.

Capacity Management for SharePoint 2010

Kapazitätsplanung für SharePoint Projekte ist unerlässlich und steht bei der Projektvorbereitung an erster Stelle. Tools und Whitepapers zur Kapazitätsplanung gib es auf der SharePoint Server 2010 Technet Site -> Resource Centers -> Capacity Management

Im Einzelnen findet ihr also hierzu mehrere Whitepapers zu den Themen:

Im Ressource Center selbst wird man dann ebenfalls noch fündig zu den wichtigen Themen wie: Storage and SQL Server capacity planning and configuration, SharePoint 2010 Topologie Model und Hard- and Software Requirements. Darüber hinaus gibts ein Video „Tools to Optimize the Performance of SharePoint 2010“.

Installation And Configuration Of FAST Search Server for SharePoint 2010 (Beta)

Aus gegebenem Anlass: ich habe vorletzte Woche die FAST Search Installation für interne Testzwecke bei uns durchgeführt, alles konfiguriert und indexiert. Die FAST Search läuft, ich kann Files indexieren. Im Index sind momentan ca. 95.000 Files (docx, xlsx, pptx und v.a.m) – Leider bekomme ich keine Verbindung zwischen dem Suchcenter im Portal und der FAST Search .. naja, ich bleibe dran .. untenstehender Artikel des SharePoint Escalation Teams und das Dokument „B2FASTSearchDeploy.xps“ waren wir bei der Konfiguration eine Hilfe.

Source: SharePoint Escalation Team

Author: SPSES

This article describes how to install and configure Microsoft FAST Search Server 2010 for SharePoint as a multiple server deployment and also add the same as a back-end for Microsoft SharePoint Server 2010.We assume that SharePoint Server 2010 is already installed. Currently we will not focus on any installation steps of SharePoint 2010 server or SQL server 2008.

Note: FAST Search Server for SharePoint is recommended to be installed on a different server from Microsoft SharePoint Server.

Installation process:

FARM Snapshot once the configuration steps are followed

Plan your install

· First Step is to have a SQL server up and working in your environment. Create a service account that will be typically used for configuring the environment. This account should have dbcreator and security administrator privileges on the SQL server. Depending on the requirement you may want to have a SQL server cluster. This account should also be added to the local admin group of the SharePoint and the FAST box or a group that has privileges to install the binaries of SharePoint and FAST in respective boxes as per your domain policies.

· Next important step is to install Microsoft SharePoint Server 2010. Ensure you install Microsoft SharePoint Server 2010 with the option „Farm install“ and then choose the option „Complete“ which are part of the (Advanced installation). In the search results if you want to enable document preview which is only available for Microsoft Word and PowerPoint you must also install Microsoft Office Web Applications Companion (WAC) before running the product configuration wizard.

Create a Web application and choose the template you would want for your site collection Ensure that you have the following features activated on your SharePoint Farm.

• SharePoint Server Publishing Infrastructure

• SharePoint Server Enterprise Site Collections features

Note :Turn off automatic adjustment of daylight saving time in the system to avoid query timeouts. If DST adjustment is enabled, query timeouts may occur for a brief period around midnight on the date of DST adjustment.

Following are the broad categories that we would focus on

· Running the Prerequisite Installer.

· Installing FAST Search Server 2010 for SharePoint.

· Running the post-setup configuration wizard to configure the FAST Search Server 2010 for SharePoint servers.

· Installing Advanced Filter Pack.

Following are the Hardware and Software prerequisites for Microsoft FAST Search Server 2010 for SharePoint

Hardware requirements

Minimum Recommended
Operating System Windows Server 2008 x64 with SP2 Windows Server 2008 R2 x64 with Sp2
RAM 4 GB 16 GB
CPU 4 CPU cores, 2.0GHz CPU 8 CPU cores, 2.0GHz CPU
HDD 50 GB disk 1 TB disk space on RAID across 6 spindles or more

Software prerequisites:

· Web Server (IIS) Role

· Power Shell 2.0

· Distributed Transaction Support

· Microsoft .NET Framework 3.5 SP1

· Windows Communication Foundation Activation Components

· XPS Viewer

· Microsoft „Geneva“ Framework

· Microsoft Primary Interoperability Assemblies 2005

· Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)

· Microsoft Filter Pack 2

Run prerequisite installer: The Prerequisite Installer checks your server to ensure that it has the required components and updates, if anything is found to be missing then it downloads and installs the required software. The Prerequisite Installer connects to Microsoft Download Centre and hence needs internet access on the server you are running the tool. You can definitely configure your server to pick up the prerequisites from an alternate location if the server you are running the Prerequisite Installer does not have Internet access. You need to run the prerequisite installer command from your installation directory followed by a ‚/?‘ to look at the options.

Sample Prerequisite script

Here is a sample prerequisite installer script that can be run to point to a physical location and skip the internet download.

To run this script below you need to have two folders .

a. Your Fast installer in a folder FastSearchServer

b. Download the prerequisites into a folder called FAST_pre-reqs.

Copy the sample below and save as a batch file

Sample Script


set CWD=%cd%

set PREREQ_DIR=%CWD%\FAST_pre-reqs

set FS14_INSTALL_HM_DIR=%CWD%\FastSearchServer


PrerequisiteInstaller.exe /IDFX:%PREREQ_DIR%\MicrosoftGenevaFramework.amd64.msi /VSInteropAssembly:%PREREQ_DIR%\vs90_piaredist.exe /VCCRedistPack:%PREREQ_DIR%\vs90_piaredist.exe /FilterPack:%PREREQ_DIR%\FilterPack.exe

Please ensure that you install SQL client components separately if you are planning to host SQL in a separate server.


Prerequisite GUI

Following steps needs to be followed if running prerequisite installer from UI.

1. Navigate to the installer location and double click on the splash.hta

2. In the FAST Search Server 2010 for SharePoint splash screen, click Install software prerequisites. The Welcome to the FAST Search for SharePoint prerequisite installer screen appears.

Click Next. The License page appears. Verify that you accept the license terms and then click Next to continue. The Prerequisite Installer installs the prerequisites

On the Installation Complete screen, click Finish. Restart the server .Once the server is back we need to change the execution policy of PowerShell scripts. This is to ensure that PSConfig wizard that you will run later must be able to run scripts during configuration. To do this right click the Windows PowerShell icon and select Run as Administrator. On the Powershell prompt run the below

Set-ExecutionPolicy RemoteSigned

Install FAST Search Server 2010 for SharePoint

Once you have installed the prerequisites successfully we can continue with the installation of the FAST server. Navigate to the installer location and double click on the splash.hta.

This again brings up the installer screen and under the „Install“ category choose the option „Install Fast Search server For SharePoint 2010“ The installation would by default install the binaries to system drive however you can use the below syntax to change the installation path

msiexec /i fsserver.msi FASTSEARCHSERVERINSTALLLOCATION=“<physical path>\search\fastsearch“ /l setup.log

You will see a standard installation screen like the one below

A successful install will have the following services but they would be set to disabled

· FastSearch for SharePoint Server 2010

· FastSearch for SharePoint SAM Admin

· FastSearch for SharePoint SAM Worker

· FastSearch for SharePoint QR Proxy

· FastSearch for SharePoint Monitoring

· FastSearch for SharePoint Browser Engine

Next step would be to run a Psconfig from GUI or from the default location %FASTSEARCH%\installer\scripts. Basically this is where you choose whether the server would be a standalone or a multi-server environment. Standalone as the name mentions has all the roles on a single box . On a multi server scenario there are separate Admin and Non-Admin servers. The admin server is the server where the administrative services are installed and run. Multiple non-admin servers can be added to this admin server. The non-admin server runs services such as indexing and document/item processing, query matching However you can always run it from a PowerShell prompt.

Powershell command to run Psconfig for an admin node

.\psconfig.ps1 -action i -roleName admin -userName (domain\user) [-password (user password as a secure string)] [-certificatePassword (Password for FAST Search Server for SharePoint certificate)] -localMachineName (fully qualified local machine name) [-adminMachineName (fully qualified admin machine name)] [-baseport (port)] -databaseConnectionString (database connection string) -databaseName (database name) [-deploymentFile (deployment file name)] [-logFileName (Name of the log file)] [-logLevelAsString (Debug/Info/Warning/Error)]

PSConfig from UI gives the following screen,

The first server on a multi node FAST installation scenario will always be an Admin server. The admin server is the server where the administrative services are installed and run. Multiple non-admin servers can be added to this admin server. The non-admin server runs services such as indexing and document/item processing, query matching.

To configure a multiple server environment follow these steps,

1. Prepare the deployment file

2. Configure a server as the admin server

3. Configure one or more servers as non admin servers

Choose the same from the UI and click next

Provide the service account credentials on the next screen

Provide the deployment file location. I have attached a sample deployment.xml file for a multi-server deployment below.

Sample Deployment XML File


<?xml version=“1.0″ encoding=“utf-8″ ?>

<!– For permissions and the most current information about FAST Search Server 2010 for SharePoint configuration files, see the online documentation,

( –>

<deployment version=“14″ modifiedBy=“domain\fastlogin“ modifiedTime=“2010-01-14T12:21:34Z“ comment=“FAST Multinode“

xmlns=““ xmlns:xsi=“; xsi:schemaLocation=“




<host name=“FQDN admin server„>

<admin />

<document-processor processes=“4″ />

<content-distributor />

<indexing-dispatcher />

<crawler role=“single“ />

<webanalyzer server=“true“ max-targets=“1″ link-processing=“true“ lookup-db=“true“ />

<searchengine row=“0″ column=“0″ />

<query />


<admin />



<host name=“FQDN non admin server„>

<query />

<searchengine row=“1″ column=“0″ />



<row id=“0″ index=“primary“ search=“true“ />

<row id=“1″ index=“none“ search=“true“ />




Save a copy of the above file as deployment.xml to your desired location and click Next. Now once you provide path to the deployment.xml and click next you should see the screen below.

You will have to select the relevancy options in the next screen and that should bring up a summary of the configuration options you have specified till now. Review the same and once you click on next the configuration actions specified are performed and then you should see the completion screen.

Before restarting the server, ensure that the domain group or domain accounts of your FAST Search Administrators are added to the local FASTSearchAdministrators group that was created by the psconfig command. Also add the SharePoint server computer account that you are planning to have as a frontend.

Now the server that will run the Index component of the FAST cluster is ready. We have to configure the server that will have the Search component. The configuration steps are pretty much the same. Ensure you log in with the service account that you configured for the Admin server. We will not go into details of most of the steps and skip the images. The primary step definitely is to run the Prerequisite installer. Once the same is run and completes successfully the next step is to install the FAST binaries. Once those are installed open a Powershell prompt and run the below set of commands,

Set-ExecutionPolicy RemoteSigned

Type Yes to change the execution policy.

Next step is to run the PSConfig wizard and it depends whether you want to run the same from GUI or a Powershell command prompt. If you run the PSConfig UI, then you need to ensure that you choose the Non-admin server on the screen in the options shown

Below is what you expect running PSConfig from UI

Powershell command to run psconfig on a Non-admin node:

Non admin node: .\psconfig.ps1 -action i -roleName nonadmin -userName (domain\user) [-password (user password within quotes)] -adminBasePort(base port of admin node) -localMachineName (fully qualified local machine name) -adminMachineName (fully qualified admin machine name) [-logFileName (Name of the log file)] [-logLevelAsString (Debug/Info/Warning/Error)].

Provide the service account and the certificate password on the subsequent screen. The server name for the non-admin server will be automatically populated. Provide the Admin server name that you configured earlier. For the base port ,type in 13000.

Review the summary of the configuration you provided earlier before proceeding. The server will prompt you for a reboot. Before restarting the server, please ensure that the domain group of your FAST Search Administrators is added to the local FASTSearchAdministrators group that was created by the PSConfig
command. Also add the SharePoint server computer account that you are planning to have as a frontend.

Once the server is back you can bring up a Powershell prompt and type,

Nctrl status .

This brings you to an end of FAST two node cluster installation without redundancy. Now the next task is to connect the SharePoint 2010 to this FAST node. Installation of SharePoint is beyond the scope of this post but I am going to talk about connecting SharePoint to FAST and creation of the SSA.

Configure Microsoft SharePoint Server

Log in to SharePoint server with the service account. Ensure that you have the SharePoint Server Enterprise Site collection and SharePoint Server Publishing Infrastructure feature activated; these are needed for FAST functionality.

We need to create a new site collection with the FAST Search center template. We can later on change the default OSSSearchResults.aspx page and use this site collection as the default search page.

SSA configuration Steps at a glance:

1. Create and set up the Content Search Service Application (SSA) .The Content SSA will crawl the content and feed it into the FAST Search Server 2010. In relation to the Content SSA, you should enable Secure Sockets Layer (SSL) communication with the FAST Search Server 2010 for SharePoint back-end.

2. Create and set up the Query Search Service Application (SSA). The Query SSA will provide query results from the content that is crawled by the Content SSA. To enable queries from MOSS 2010 to FAST Search Server 2010 for SharePoint, export a certificate to be imported to the FAST Search Server 2010 for SharePoint server.

Content Search Service Application (SSA)

Log in to your FAST environment and retrieve the file default Install_info.txt. The default location is c:\FASTSearch\install_info.txt. You can copy over this file to the SharePoint box for ease of configuration as this file has port numbers required by the SSA that you will create now.

Bring up Microsoft SharePoint Server Central Admin home page, click on Application Management > Manage Service Applications.

On the Manage Service Applications screen, select New Search Service Application. On the new search service application page fill in details.

Now that you have a FAST search connector you also need to create a FAST Search Query SSA. For creating one, browse to Microsoft SharePoint Server Central Admin home page, click on Application Management > Manage Service Applications. On the Manage Service Applications screen, select New Search Service Application. This time ensure that you select FAST Search Query Fill up the details as mentioned below. As mentioned earlier, Install_info.txt will have these ports already pre-populated.

Navigate to SharePoint Central Administration->Application Management->Configure Service Applications associations. Make sure the FAST Query SSA is used by default

Validating the SSA Configuration

Follow the steps below for a quick check on the WCF communication between SharePoint and FAST environment

From Central Administration

Central Administration>> Manage Service Applications>> FAST Query SSA>> FAST Search Administration>> Managed Properties.

If the link does not display any error SharePoint has successfully connected to FAST server.

From Search Site

Browse to the FS14 search site created above with FAST Search Centre Template

Click on site actions >>site settings >>site collection administration >> FAST Search Keyword>> Add Keyword.

If you are able to add a keyword SharePoint has successfully connected to FAST server.

Often people forget to enable SharePoint enterprise site collection feature mentioned above. If you get an error while trying to add a keyword ensure you have the feature enabled.

Configuring communication Channel

To enable queries from Microsoft SharePoint Server search application to FAST Search Server 2010 for SharePoint, you must select a communication channel for exporting and importing the certificates. To enable crawling content with the Content SSA, you must also copy certificates to all servers used in the crawl setup.

You can definitely choose HTTP or HTTPS and the traffic between SharePoint SSA and FAST server will either be encrypted or not depending on what you choose.

After selecting the communication channel, the certificate(s) must be copied from the SharePoint node and imported on all FS query nodes. The STS certificate can be seen in the trusted people certificate store on the FS node after it has been imported. Then the FAST Search Server must be configured to trust SharePoint Security Token Service certificate.

Exporting the Certificate

The steps to do this are as follows,

Open a SharePoint 2010 Management Shell. Run the following commands.

$stsCert = (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate

$stsCert.Export(„cert“) | Set-Content -encoding byte MOSS_STS.cer

The file MOSS_STS.cer is created in the same directory from where the command was executed . Copy MOSS_STS.cer to the directory FASTSearch to FS14 node.

Importing the Certificate

Log on to FAST server. Open a FASTSearch for SharePoint 2010 shell as administrator and navigate to FAST Search installed location .<install drive>\FASTSearch\installer\scripts.

Enter and run the following command:

.\InstallSTSCertificateForClaims.ps1 –certPath c:\FASTSearch\MOSS_STS.cer

Copy the FASTSearchCert.pfx from the FS14 node to the SharePoint
node. Certificate location <install drive>\FASTSearch\data\data_security\cert\FASTSearchCert.pfx

Copy the securefastsearchconnector.ps1 script to the SharePoint
node. Location <install drive>\FASTSearch\installer\scripts\securefastsearchconnector.ps1 .

Log on to SharePoint server. Open a SharePoint 2010 Server Management shell ( run as Administrator). Run the script with the certificate as input:

.\SecureFASTSearchConnector.ps1 –certPath FASTSearchCert.pfx –ssaName „FAST Connector“ –username .  You will be prompted to type the certificate password that you had mentioned during the time of installing the FAST server.

Content Source Creation

The final step would be to create a content source to crawl the SharePoint site. Definitely you can create a separate content collection to crawl external websites. Once a full crawl is performed you should be able to get search results from within the site collection you created above with FAST Search Centre Template.

Öffnen von PDFs im Browser in SharePoint 2010 Umgebungen

In einer meiner SharePoint 2010 Kunden-Umgebungen wird verstärkt mit PDFs gearbeitet. Soweit so gut. Die Einbindung des PDF Icons war noch eine Kleinigkeit. Das Öffnen von PDFs in SharePoint 2010 hingegen eine kleine Herausforderung – oder auch nicht? Wird eine PDF Datei in einer SharePoint Dokumentbibliothek angeklickt fordert ein Dialog den User auf, die PDF zu speichern – dass ist aber nicht wirklich wünschenswert. Die Lösung ist so simpel wie schnell umgesetzt. Einen Blogpost welcher den „Workaround“ beschreibt hindet ihr untenstehend – wer es kurz und bündig mag: in der CA unter Webanwendungsverwaltung die Allgemeinen Webanwendungseinstellungen der betreffenden WebApp aufrufen und die Dateiverarbeitung durch den Browser von „Streng“ auf „Berechtigt“ setzen. That´s all ..

Source: Chris and Dave´s SharePoint And Tech Blog

Author: Chris McKinley

If you have your nice SP2010 setup you may notice that when you go to open a PDF file it prompts you to save it rather than opening.

This is really annoying and would send everyone here at the school completely bananas! Not to mention the fact that we try to get everything on SharePoint only to force people to save it to their own area!

Never fear there is a solution. It’s in central admin.

Go there and click ‚Manage Web Applications‘

Click on the web app you want to change, and go to ‚General Settings‘

Scroll down the list until you reach ‚Browser File Handling‘

Change the radio box from Strict to Permissive.

Click ok.

Go back to your PDF document and click on it – and it will open up without forcing you to save it somewhere first.

You may have noticed in the first screen shot there was no PDF icon. Well, follow this guide to right that wrong!