Exchange Server Agent

The Retrospect Exchange Server Agent provides the ability to back up and restore Microsoft Exchange servers (2003, 2007, 2010, 2013, 2016). Without the agent add-on, Retrospect cannot back up the databases and mailboxes of Exchange stores.

You can back up an Exchange server locally, running the Retrospect application on the server itself, or you can back up the Exchange server as a Retrospect client, running the Retrospect application on a different computer.

Novedades

Bases de datos de Exchange Server 2010

Retrospect muestra bases de datos de Exchange 2010 en el contenedor de Exchange Server en Configurar > Volúmenes, de un modo similar a grupos de almacenamiento que pertenecen a Exchange 2003 o 2007.

Grupos de acceso de datos (DAG) de Exchange Server 2010

Retrospect exige una licencia de Exchange Server 2003-2010 Agent independiente para cada Exchange Server de los DAG de los que pretenda hacer copias de seguridad o restauraciones.

Componentes necesarios

a partir de Exchange 2007, Microsoft no incluye las bibliotecas de cliente API de mensajería (MAPI) ni los objetos para colaboración de datos (CDO) 1.2.1 en la instalación del producto base. Retrospect exige que estas bibliotecas estén instaladas en el servidor de Exchange para realizar copias de seguridad de Exchange 2007 y 2010. Para obtener información acerca de la instalación de MAPI y de CDO, consulte el sitio web de Microsoft.

Para que Retrospect haga la copia de seguridad del servidor correctamente, es necesario que los componentes del Microsoft Visual C++ 2010 Redistributable Package (x64) estén instalados en el ordenador en el que se ejecuta Exchange Server 2007 o 2010. Para instalar dichos componentes, seleccione el botón Install Exchange 2007/2010 Support en el instalador de Retrospect. Para obtener más información, consulte el sitio web de Microsoft.

Compatibilidad con clusters de Exchange 2003 y 2007

Retrospect permite la copia de seguridad y restauración de Exchange Server en entornos de clusters con las siguientes limitaciones:

  • El cluster solo puede tener dos nodos.
  • Solo puede hacer copia de seguridad de un grupo de recursos de Exchange que esté compartido entre dos nodos.
  • Se debe hacer copia de seguridad y restaurar los nodos como clientes de Retrospect. El ordenador de copia de seguridad de Retrospect no puede ser uno de los nodos del cluster.
  • Solo se puede hacer copia de seguridad de datos de Exchange en el nodo al que pertenece el grupo de recursos de Exchange. Del mismo modo, solo se puede hacer restauración de datos de Exchange en el nodo al que pertenece el grupo de recursos de Exchange.
  • Retrospect no hace copia de seguridad ni restaura información de la configuración de clusters. En una situación de recuperación de desastres, tendrá que volver a crear manualmente el cluster antes de restaurar los datos de Exchange con Retrospect.
  • Si desea asegurarse de que se hace copia de seguridad de los datos de Exchange independientemente de qué nodo posee actualmente el grupo de recursos de Exchange, deberá tener una licencia de Exchange independiente (y una licencia de cliente) para cada nodo. Si solo desea hacer copia de seguridad de los datos de Exchange cuando un nodo específico posee el grupo de recursos de Exchange, solo necesitará una licencia de Exchange (y una licencia de cliente) para dicho nodo.

No aparece ningún buzón de Exchange

si no aparece ningún buzón de Exchange, asegúrese de que está ejecutando Retrospect como un usuario con privilegios para trabajar con buzones. En la mayoría de las ocasiones, debería ejecutarlo con privilegios de administrador de dominio y no solamente con privilegios de administrador local. Si desea más información, consulte la Guía del usuario de Retrospect y la ayuda online.

Si aparece el error de Retrospect -3401 y el error de Windows 0x81002746, además de no poder trabajar con buzones, no podrá ejecutar Retrospect como "administrador". Cree una cuenta con los privilegios necesarios y asígnele un nombre distinto de "administrador".

Si aparece el error de Retrospect -3401 o Retrospect -3402 y el error de Windows 0x80040115, además de no poder trabajar con buzones, seleccione el contenedor de Exchange de la Base de datos de volúmenes y, a continuación, haga clic en el botón Inicio de sesión como. Si no aparece la información de inicio de sesión, escríbala e inténtelo de nuevo. Si aparece la información de inicio de sesión, puede que haya problemas con la cuenta. En tal caso, debería asegurarse de que no se haya desactivado la cuenta o de que no se hayan cancelado los permisos. Por otro lado, también puede crear otra cuenta y utilizarla para iniciar la sesión.

Recuperación de desastres

la Base de conocimientos dispone de artículos detallados sobre la recuperación de desastres de Exchange.

.NET 4.0

Retrospect 8 de Windows requiere Microsoft .NET 4.0 o posterior para acceder a Exchange y a las bandejas de correo de Exchange. En algunos casos ni siquiera podrás abrir Retrospect si no tienes .NET 4 instalado en tu servidor de Exchange. .NET 4 se encuentra en http://www.microsoft.com/en-us/download/details.aspx?id=24872.

Problemas con PowerShell 3.0

Algunos usuarios de Exchange 2010 han informado de problemas de autenticación al conectar a Exchange si tienen instalado PowerShell 3.0. Recomendamos desinstalar 3.0 e instalar la versión 2.0.

Security

Numerous security measures prevent an unauthorized user from simply launching Retrospect on the backup computer and backing up an Exchange server. Because Exchange can only be backed up and restored by a domain administrator, you must prepare Retrospect to run in the correct security context. This involves configuring preferences in Retrospect so that the application or Retrospect client software runs as a certain user with sufficient privileges for the Exchange server.

Regardless of whether you have yet installed or run Retrospect, and regardless of how you previously set its security preference, follow these instructions to ensure you can work with Exchange.

Create and Manage User Logins

You must create a special login for use by Retrospect and identify human users of Retrospect as Backup Operators. These steps, which use Active Directory Users and Computers, are described below.

Create a Retrospect Backup User Account

Within the Exchange server’s domain, create a login dedicated for use by Retrospect, such as RBU (for Retrospect backup user account).

Make this account a member of Domain Users, Administrators, Backup Operators, and Domain Admins. Also give it an Exchange mailbox.

Send an e-mail message to this Retrospect backup account to initialize it in Exchange.

Add Backup Operators

Make the accounts of human users of Retrospect members of Backup Operators. Any login to be used with Retrospect on the backup computer must be a Backup Operator or Administrator.

Configure Retrospect Security Preference

After configuring the Retrospect backup user account, you must configure Retrospect to use the new account. Although you could configure Retrospect to run as a different domain user for each Exchange server, it is easier and better to configure a particular preference so Retrospect runs as the Retrospect backup user for all Exchange servers.

Log in to the backup computer using an administrator-privileged login.

If you have not already done so, install Retrospect on the backup computer as described in Getting Started.

Launch the Retrospect application.

If this is the first time you have run Retrospect on the backup computer, the Getting Started Wizard displays. It includes a screen on which to enter user account information.

476

If this is not the first time you have run Retrospect on the backup computer, click Configure on the Retrospect navigation bar, then click Preferences. In the Execution preferences group, click Security.

477

Choosing the User Login

In both the preferences window and the first-launch user account window, the two radio buttons determine the user login under which the Retrospect application executes.

Run Retrospect as the logged-in user” does so when you launch Retrospect manually (from the Start menu or Windows Explorer). When Retrospect automatically launches (to execute a script), it runs under the Local System account. Neither is ideal for use with Exchange, because backups will likely fail due to lack of privileges. Therefore, do not select this preference.

Always run Retrospect as the specified user” is the preferred setting for use with Exchange. Click the radio button to select this preference. Enter the Retrospect backup user name, password, and domain.

When you click OK to accept the security preference change, Retrospect may ask you to confirm your entry; click OK.

If Retrospect tells you the login is invalid, you may have mistyped the domain user name or password. Re-check the name and follow the above steps starting at Create a Retrospect Backup User Account.

When it verifies the specified domain user, Retrospect tells you to exit the application and re-launch for the change to take effect. Exit now and log off the administrator before taking the next step.

Verifying Proper Operation

Log in to the backup computer as a user who is a member of Backup Operators. Launch Retrospect and take note of its application window title, which includes the user the application is running as. Though you are logged in to the backup computer as a different user, the “user” running the application is the Retrospect backup user account.

478

Local Administrator Privileges

When you tell Retrospect to always run under a particular login, it assigns local administrator privileges to the login if it has none.

With the security preference set as described previously and a member of Backup Operators or Administrators logged in to the backup computer, Retrospect always runs with local administrator privileges, at minimum.

This means a backup operator could exploit administrator privileges in Retrospect to manipulate files on the local computer.

To provide additional security, consider using Retrospect’s password protection preference to control user access to the Retrospect application.

Installation

If you have not already done so, install Retrospect on the backup computer as described in Getting Started. Set the security preference as described previously, under Security.

If you will use an Exchange server as a Retrospect client, install the Retrospect client software on that computer. For details see Networked Clients.

Logging in the Client

If you are using an Exchange server as a Retrospect client, log in the client from the backup computer. For details see Networked Clients.

Licensing

Choose License Manager from the Window menu to see licensed components.

If Exchange Database/Mailbox Backup is not listed, or if it is listed with no available licenses, click Add and enter a license code for Exchange Database/Mailbox Backup. (Click Purchase to get a code from Retrospect, Inc..)

After adding an Exchange Backup license, it is listed as available for use. The next step is to use it.

Using a License

From the navigation bar, click Volumes to see the volumes database window. Under My Computer and Backup Clients are all the Exchange servers known to Retrospect.

479

Their icons are grayed out because they are not yet licensed, as indicated by the text. Though there is a license available in the license manager, Retrospect does not know with which servers you want to use it. You must apply a license to each server you wish to use with Retrospect.

Click on the Exchange server you want to work with, which makes Retrospect ask whether you wish to use an available license. Click OK. After a moment, the “not licensed” tags disappear from the Exchange Server container and its attendant Exchange Mailboxes container.

If Retrospect does not do anything when you click Exchange Server, the logged in user may not have sufficient privileges to access the Exchange server or the service may not be running. Confirm the service is working and re-read Security and set up security correctly before trying again.

Exchange Container Properties for a Client

For a server that is a client of Retrospect, Retrospect will let you enter Exchange server authentication information immediately after applying a license.

Have Retrospect use the Retrospect backup user account you supplied in the security preference.

If Retrospect does not display the Exchange server contents, or it tells you authentication failed, the specified user may not have sufficient privileges to access the Exchange server on the client computer or the service may not be running. Confirm the service is working and re-read Security and set up security correctly before trying again.

General Use

After licensing an Exchange server as described previously, you can add it to your scripts, working with it in source and destination lists. You can also work with Exchange servers in the volumes database window.

You cannot archive Exchange data.

Working with a Volumes List

From the navigation bar, click Configure>Volumes to display the Volumes Database window. Under My Computer and Backup Clients are all the Exchange servers known to Retrospect.

480

For each Exchange server there is an Exchange Server container and its attendant Exchange Mailboxes container. There is one pair of containers organized under each computer operating as an Exchange server. If you are running Retrospect on the server itself, the Exchange containers are under My Computer.

481

If you are not running Retrospect on the server, the Exchange containers are under Backup Clients.

482

If an Exchange Server container’s icon is gray, or nothing is nested beneath it, Retrospect may be running as a user with insufficient privileges to see the Exchange server data. You can use the Exchange Server container in scripts but they will fail when executed, and you cannot use Exchange Mailboxes. Re-read Security and set up security correctly.

If an Exchange Server container’s icon is colored and one or more items are nested beneath it, Retrospect is running as a user privileged to see the Exchange server data. This means you set up the security correctly.

The Exchange Server Container

Retrospect has one Exchange Server container per Exchange server. It is under My Computer when Retrospect is run locally on the server itself. For an Exchange server that is a networked client of Retrospect, its Exchange Server container appears under its computer’s client container.

An Exchange Server container includes one or more storage groups or databases. Click the + or – controls of an Exchange Server container to expose or hide its contents.

Selecting an Exchange Server container as a backup source causes Retrospect to back up all of the server’s databases or storage groups.

If you do not wish to back up all stores within a given server, you can select one or more individual databases or storage groups to be backed up.

Individual Storage Groups

Individual storage groups appear under the Exchange Server container.

Each storage group includes one or more public folder stores and one or more mailbox stores. These stores are not otherwise visible in Retrospect but you can browse a storage group and see its stores represented as database files.

Selecting an individual storage group as a backup source causes Retrospect to back up all of the group’s public folder stores and mailbox stores. You cannot isolate specific stores to be backed up.

The Exchange Mailboxes Container

Retrospect has one Exchange Mailboxes container per Exchange server. It is under My Computer when Retrospect is run locally on the server itself. For an Exchange server that is a networked client of Retrospect, its Exchange Mailboxes container appears under its client computer container.

An Exchange Mailboxes container can include:

  • one or more individual mailboxes
  • the All Public Folders container

When you license an Exchange Server, Retrospect automatically adds all the mailboxes associated with that server to the Exchange Mailboxes container. If, at a later time, you create new mailboxes or delete mailboxes, Retrospect modifies the contents of the Exchange Mailboxes container.

The All Public Folders container is also automatically added to the Exchange Mailboxes container.

The Exchange Mailboxes container can include mailboxes from multiple mailbox stores and Public Folders from multiple public folder stores.

Selecting the Exchange Mailboxes container as a backup source causes Retrospect to back up all mailboxes. This allows you to restore an individual mailbox, mailbox folder, or even a single message.

Backing up the Exchange Mailboxes container is not a substitute for backing up the entire Exchange server.

In order to back up Public Folders, you must select either All Public Folders, or the individual Public Folders you want to back up. Selecting the All Public Folders container allows you to restore an individual Public Folder or even a single message in a Public Folder.

If you select just the Exchange Mailboxes container, Retrospect does not back up any Public Folders.

Individual Mailbox Folders and Public Folders

Before you can back up an individual mailbox folder or Public Folder, you must add it to the Volumes Database.

To add a Mailbox Folder:

  1. Choose Configure>Volumes from the Retrospect navigation bar.
  2. In the Exchange mailboxes container, select a mailbox, then click the Subvolume button.

    483

    Retrospect displays a list of all the folders available for that mailbox.

  3. Select one or more folders from the list and click Define.

    Retrospect adds the folders to the Volumes Database.

    To add a Public Folder:

  4. Choose Configure>Volumes from the Retrospect navigation bar.
  5. In the Exchange mailboxes container, select All Public Folders, then click the Subvolume button.

    Retrospect displays a list of all available Public Folders.

  6. Choose one or more Public Folders from the list and click Define.

Retrospect adds the Public Folders to the Volumes Database.

Once you have added mailbox folders and/or Public Folders, they appear in the Volumes Database. Click the + or – controls of an Exchange Mailboxes container to expose or hide its contents.

484

Defining an individual mailbox folder or Public Folder allows Retrospect to back it up as a unique entity instead of as a part of a larger container.

To back up an individual mailbox folder or Public Folder, select it under the Exchange Mailboxes container.

Releasing a License

You can release Retrospect’s license of an Exchange server you no longer wish to back up or restore, making the license available for other use with other Exchange servers.

Select an Exchange container and click the Licensing button on the toolbar. Retrospect asks whether you wish to release the used license. Click OK to release it.

After releasing an Exchange license, Exchange containers, storage groups, and mailboxes become invalid in scripts.

Backing Up

To back up an Exchange server, a storage group, a mailbox, or a Public Folder, you can use a backup script or you can initiate an immediate backup. Each method uses the familiar components of a backup: source, destination, selection criteria, and options.

Exchange 2003 includes a Recovery Storage Group feature that allows you to mount a second copy of an Exchange mailbox store on the same server as the original database. Retrospect does not support backing up recovery storage groups.

For the source, select any one or combination of Exchange Server container, storage group, Exchange Mailboxes container, individual mailbox, individual mailbox folder, individual Public Folder, or the All Public Folders container.

Or, select My Computer or Backup Clients to back up a local Exchange server or client Exchange server, respectively. If you select My Computer or Backup Clients, Retrospect backs up everything in the container, including all mailboxes and All Public Folders.

If your sources include Exchange mailboxes or Public Folders, as well as non-Exchange volumes, make sure to group mailboxes and Public Folders together. This results in faster performance when backing up to tape Backup Sets with verification on.

For the destination, select any one or combination of Backup Sets.

Retrospect ignores selectors when backing up Exchange databases. If your sources include both non-database volumes and Exchange databases, Retrospect applies the specified selector to the non-database volumes only.

When backing up Exchange mailboxes, Retrospect does apply selectors. Retrospect includes two conditions that are especially useful for creating custom selectors to apply to Exchange mailbox backups; the Sender condition (from the Mailbox group) and the Date condition (from the Universal group). For more information, see Using Selectors.

When backing up an individual mailbox, you can set the file selection criteria to back up messages based on mailbox sender and universal date conditions. In a scripted backup, create a custom selector. In an immediate backup, mark items to back up in the preview browser. You can use its Find command to search for messages. Choosing up a subset of messages helps lessen the performance degradation associated with backing up mailbox messages.

The Exchange Server options group lets you determine the type of backup Retrospect should attempt for the source. Choose Full Backup, Differential Backup, or Log/Incremental Backup.

Retrospect cannot do a differential backup or log/incremental backup of data unless it has previously had a full backup. In this case it automatically attempts a full backup.

When implementing a scripted backup strategy, you will have separate scripts for the different backup types. For example, you might have a full backup script scheduled to run on Fridays and a differential backup script running daily.

For details on the available options, see Windows Exchange Server Options.

Circular Logging

You must ensure a given Exchange server does not use circular logging if you wish to do differential or log backups. For example, Retrospect will report an error trying to do a differential backup of a Exchange server that uses circular logging.

Circular logging is disabled by default.

Backup Sets

Unlike backups of other data, database backups are not necessarily self-contained within a single Backup Set.

You are not assured you will be able to restore a database Snapshot from one set of media, as is the case with restoring files. Retrospect may require media from multiple Backup Sets to restore a given database, depending on your backup strategy and backup history.

Database Backup History

Retrospect tracks each backup session of each database or storage group. You can view the history of these backups from Reports>Database Backup History.

485

The window lists all of Retrospect’s database session Snapshots of each Exchange database or storage group. (SQL databases are also listed in this window.)

Using the buttons at the bottom of the window, you can view the properties of a Snapshot, add a database session from a Backup Set, or remove a Snapshot from this list.

Viewing the properties of a Snapshot shows you the Backup Set media required to restore the database.

Restoring

To restore an Exchange server, a storage group, a mailbox, or one or more messages, you can use a script or you can initiate an immediate restore. Each method uses the familiar components of a restore: source database or mailbox Snapshot, destination server or mailbox, chosen files (messages and folders from mailboxes only), and options.

  • Exchange 2003 includes a Recovery Storage Group feature that allows you to mount a second copy of an Exchange mailbox store on the same server as the original database. Retrospect does not support restoring to recovery storage groups. In addition, to restore data to an Exchange 2003 server that includes a recovery storage group, you must either delete the recovery storage group before restoring, or create a Recovery SG Override registry key on the Exchange server as described on Microsoft's web site .

Restoring an Exchange Storage Group or Database

To restore a storage group or database from an Exchange server backup, click Restore>Selected Database (to initiate an immediate restore) or create a Restore Database script.

486

For the source, select a database Snapshot.

487

You can add and remove database Snapshots from this list with the Add and Forget buttons.

Set the destination for the database to be restored by selecting an Exchange Server container.

488

Click Options to specify execution options. For details on the available options, see Windows Exchange Server Options and Restore Database Options.

489

Notice how multiple sessions are listed below the source database Snapshot if its most recent backup was not the full backup type. This is because Retrospect has an execution option that causes it to restore each session needed to completely restore the source.

Once your database restore operation is set up, you can click Schedule to save the settings as a script, or proceed with the immediate restore.

Restoring a Mailbox or Public Folder

To restore an individual mailbox, an individual Public Folder, all Public Folders, or one or more specific messages, click Restore>Mailbox from the navigation bar.

490

For the source, select a Snapshot for a mailbox, Public Folder, or All Public Folders.

491

Set the destination by selecting an individual mailbox, an individual Public Folder, or the All Public Folders container. Set the list box to Retrieve Messages & Folders or Retrieve Just Messages.

492

In an immediate restore, choose items to restore in the browser. You can use the Find command to search for messages based on mailbox sender and universal date conditions.

In a scripted restore, you can only restore an entire mailbox or Public Folder.

Click Options to specify execution options.

493

Once your restore operation is set up, you can save the script or proceed with the immediate restore.

Disaster Recovery

After completely backing up an Exchange server (system volume and databases), you can recover from a disastrous data loss.

First, follow the appropriate steps under Restoring the Backup Computer.

After restoring the rest of the computer, restart the Exchange services but make sure the databases are not mounted. Delete everything from the storage group folder or folders. This ensures the log files match the databases and allows you to remount the stores after restoring the databases.

After everything is deleted, restore the databases. (For more information, see Restoring an Exchange Storage Group or Database.)

After restoring, the databases should be mounted and ready for use.