Backup and recovery (FAST Search Server 2010 for SharePoint)(informazioni in lingua inglese)

Data pubblicazione: 12 maggio 2010

Before you put a FAST Search Server 2010 for SharePoint system into production, you should plan your backup strategy and procedures. Because hardware errors and human errors can make a system useless, you should back up the system on a regular basis. You should also do a backup before you introduce major changes into the system.

In this article:

  • The backup and restore process

  • The backup store

  • The backup and restore scripts

Nota

This article summarizes the processes to back up and restore a FAST Search Server 2010 for SharePoint installation. For an introduction to the SharePoint Server 2010 backup and recovery procedures, see Panoramica del backup e del ripristino (SharePoint Server 2010).

The backup and restore process

Microsoft SharePoint Server involves many systems. They include SharePoint Server and the FAST Search Server 2010 for SharePoint server and databases. Make sure that you read all backup and restore documentation before you implement procedures.

Ff460219.Important(it-it,office.14).gifImportante:
Always perform a backup and restore test and verify that it works successfully before you implement a new backup and restore procedure and before you enter a system into production state.

There are two kinds of backups for FAST Search Server 2010 for SharePoint:

  • A configuration backup only stores the configuration files. This is a very light process that uses few system resources and backup space. However, the configuration backup does not include index data; index changes that are made after the backup point will be lost.

  • A full backup takes a backup of the complete system that includes the data index. This means that if disaster strikes, you can go back to the same FAST Search Server 2010 for SharePoint system that was installed at the time of the backup. You must stop the feeding and indexing part of the system when you run a full backup. A full backup can require a large amount of hard disk space, depending on the size of the system and the data in the index.

The FAST Search Server 2010 for SharePoint backup system can also be combined with external backup systems, if you want to keep exact snapshots of the operating system.

The backup store

All backup scenarios require a backup store, which is a location where the backup data is stored. A backup store should be an external data resource on a storage unit that is separate from the rest of the FAST Search Server 2010 for SharePoint system. The backup store must be writable by the user who runs the backup.

For a multiple server deployment of FAST Search Server 2010 for SharePoint, the backup store must be available as a UNC path, such as \\contoso\FASTSearchBackup, so that all system servers can reach it.

For a full backup, you can use multiple backup stores. Specify multiple backup stores as a comma-separated list of UNC paths. The FAST Search Server 2010 for SharePoint backup script will try to balance how much data is stored in multiple backup stores by assigning an even number of servers to each backup store. This can be helpful in increasing the copy speed during backup.

Avviso

Access control lists (ACLs) are not preserved on the files that are stored in the backup stores. To prevent unauthorized users from reading indexed data, protect the backup store with an appropriate ACL.

The backup and restore scripts

The Windows PowerShell backup and restore scripts (backup.ps1 and restore.ps1) must always be started from the FAST Search Server 2010 for SharePoint administration server. Scripts that are started on the administration server will automatically start backup or restore tasks on remote servers by using the Windows PowerShell remoting feature. The scripts do not stop until all tasks are completed.

Run all scripts in the Microsoft FAST Search Server 2010 for SharePoint shell.

Before the backup and restore operations run, some preliminary verification steps are performed. To complete a backup or restore, these preliminary steps must run successfully.

Ff460219.Tip(it-it,office.14).gifSuggerimento:
To see a list of options that are available for the backup.ps1 and restore.ps1 scripts, scripts use get-help backup.ps1 –detailed or get-help restore.ps1 –detailed.

Exit codes from backup and restore scripts

Upon successful execution, the backup and restore scripts return with an exit code of 0. If a failure was detected, the scripts return with an exit code of 1. The exit code of a script is available in the $LASTEXITCODE variable in a Windows PowerShell session.

In an error occurs, inspect the output of the scripts for detailed information.

Ff460219.Tip(it-it,office.14).gifSuggerimento:
If you plan to run backup and restore scripts unattended, save the output of the scripts for later inspection.

Run scripts with a saved password

The backup and restore scripts (backup.ps1 and restore.ps1) that run on the FAST Search Server 2010 for SharePoint administration server forward their credentials to the remote servers so that they can authenticate themselves to remote resources. Normally, the scripts prompt for credentials when they are needed, requiring an administrator to be at the console to enter the credentials.

To run the scripts automatically without entering passwords at a prompt, you can specify a saved password file. This password must be DPAPI (Windows Data Protection API) protected.

Follow these steps to generate the password file.

  1. Enter the command:

    $mypw = Read-Host –AsSecureString

  2. Enter your password when you are prompted.

  3. Enter the command:

    Set-Content passwordfile (ConvertFrom-SecureString $mypw)

You can then run the backup and restore scripts with the –passwordfile parameter.

Nota

The file that contains the password is encrypted by DPAPI, but should also be protected with a strong ACL.

Avviso

If the password of the user who runs the backup and restore scripts is changed, this change must also be reflected in the password file by regenerating the file.

Vedere anche

Concetti

Plan the system backup and recovery strategy (FAST Search Server 2010 for SharePoint)(informazioni in lingua inglese)
Backup and restore prerequisites (FAST Search Server 2010 for SharePoint)(informazioni in lingua inglese)

Altre risorse

Panoramica del backup e del ripristino (SharePoint Server 2010)

Cronologia delle modifiche

Data Descrizione Motivo

12 maggio 2010

Pubblicazione iniziale