Show TOC

Procedure documentationSAP NetWeaver Enterprise Search Backup and Restore Locate this document in the navigation structure

 

You can perform the SAP NetWeaver Enterprise Search-specific data backup while the SAP system is running (online). You only have to stop your system for the restore process.

During the data backup, the appliancecontrol tool creates a copy (snapshot) of the file system in the shared storage for the blade system. The system saves all application data, configuration data, software data, and log files.

Prerequisites

The following Shell scripts are available:

  • createbackup.sh

  • restorebackup.sh

  • listbackups.sh

  • removebackup.sh

You have received these scripts from your hardware partner or generated them during the configuration.

More information: Generating Backup and Restore Scripts

Procedure

Backup

Create a backup copy by running the following command in the command line on the master blade:

appliancecontrol create-online-backup <backup_tag>

In place of <backup_tag>, you assign a name that allows you to find the backup later.

Recommendation Recommendation

SAP recommends scheduling the data backup as a regular background job and archiving the copies outside the SAP NetWeaver Enterprise Search file system.

End of the recommendation.

Note Note

The data backup cannot start if a write operation is currently running, such as an update of a TREX index.

The system write-protects AS ABAP, MaxDB, and TREX for the duration for the data backup (approximately four seconds). Users who want to save changes during this period see an appropriate message.

End of the note.
Restore
  1. Stop all instances of the SAP system by running the following command:

    appliancecontrol complete-stop all

  2. Restore a previous system status by running the following command:

    appliancecontrol restore-online-backup <backup_tag>

    Note Note

    To display a list of all available data backup copies, run the following command:

    appliancecontrol list-online-backups

    End of the note.
  3. Start all instances of the SAP system by running the following command:

    appliancecontrol complete-start-all

More information: Troubleshooting: Restart and Restore

Synchronization with Search Provider Systems

After the restore process. the SAP NetWeaver Enterprise Search system is now in exactly the state that it was in at the time of the backup. The status of the connected search providers has not been changed by the system restore, therefore there may be inconsistencies between search provider systems and the SAP NetWeaver Enterprise Search system.

To remove possible inconsistencies, proceed as follows:

  • To restore the data that has been extracted from the search providers since the data backup and to unlock the AS ABAP, run the following command:

    appliancecontrol post-restore-online-backup <backup_tag>

  • Compare your central users with the users in the restored SAP NetWeaver Enterprise Search system and create any missing users manually.

  • If a connected Embedded Search system is disconnected after restoring SAP Netweaver Enterprise Search, run the following report in the Embedded Search system:

    ESH_INT_DETACH_FROM_HUB

    The report detaches the connection from the Embedded Search side as well so that you can create the connection again as described in the following section:

    Connecting To an Embedded Search System