Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ for SAP Administrator's Guide
  3. Performing backups and restores of SAP
  4. SAP redirected restore sample environment (UNIX)
Veritas NetBackup™ for SAP Administrator's Guide

SAP redirected restore sample environment (UNIX)

This sample environment shows how a redirected restore uses the restore_filter script.

This example assumes the following:

  • Source client

    • Actual path is /home_db/oracle/sap

    • Includes soft link /oracle/SAP (SAP is the system ID), which points to /home_db/oracle/sap.

  • Destination client

    • Actual path is /home2/sap

    • Also has soft link /oracle/SAP, which points to /home2/sap.

    • Make soft link /home_db/oracle/sap, which points to /home2/sap

In the restore_filter script, substitute the path that was provided in the input file list of the destination client with the actual path of the source client. The resulting script sample might look like the following:

#!/bin/sh
# this shell is used to change some logically linked files
# during a restore
sed -e 's#/oracle/SAP/#/home_db/oracle/sap/#' $1 > $2

When the backup starts, the file list contains the file path with the following soft link:

/oracle/SAP/sapdata1/btabd_1/btabd.data1

However, the file is backed up with the following actual path:

/home_db/oracle/sap/sapdata1/btab_d/btabd.data

When the request for a restore is issued, the input file list contains file paths with soft links. These are converted to the actual path of the destination client. Because this path is different from the source client path, the restore would fail in the inquire phase. To prevent this kind of failure, use the restore_filter script.

Feedback

Was this page helpful?
Previous

Redirecting a restore to a different client (SAP on Oracle databases only)

Next

Disaster recovery using BRRECOVER

Feedback

Was this page helpful?