FAST Search Server backup | Cannot find type [Microsoft.SqlServer.Management.Smo.Server]


 

If you have attempted a backup of your FAST Search Server 2010 for SharePoint (according to the documentation) PowerShell you may receive the following error “Cannot find type [Microsoft.SqlServer.Management.Smo.Server]”

Cannot find type [Microsoft.SqlServer.Management.Smo.Server]

In our case we are using SQL Server 2008 R2 so the files we require are part of the Microsoft SQL Server 2008 R2 Feature Pack and we need to download the following components (install in order listed):

  • Microsoft System CLR Types for SQL Server 2008 R2
  • Microsoft SQL Server 2008 R2 Shared Management Objects
  • Microsoft Windows PowerShell Extensions for SQL Server 2008 R2

Once they have been installed you can rerun your backup script and the result should be as displayed below.

.\backup.ps1 –action full –backuppath <path of backup store(s)>

The commands being execute in the PowerShell window above are as follows:

.\suspend.ps1
.\backup.ps1 –action full -force –backuppath <path of backup store(s)>
.\resume.ps1

If you receive an error regarding connecting to remote server, make sure PowerShell remoting is enabled by executing the following command:

PS D:\FASTSearch\bin> Enable-PSRemoting

About Wes MacDonald

Wes MacDonald is a DevOps Consultant for LIKE 10 INC., a DevOps consulting firm providing premium support, guidance and services for Azure, Microsoft 365 and Azure DevOps.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.