SQL database backup failing with status code 5449 after upgrade to NetBackup 8.1

Article: 100043006
Last Published: 2019-08-08
Ratings: 2 1
Product(s): NetBackup

Problem

For NetBackup MS-SQL policies that only list the SQL batch files, the backups that were previously completing successfully now fail with status 5449 after upgrading to NetBackup 8.1.

Error Message

Job details:

May 9, 2018 1:24:28 AM - Info bpbrm (pid=12345) NBSQL81 is the host to backup data from
May 9, 2018 1:24:28 AM - Info bpbrm (pid=12345) reading file list for client
May 9, 2018 1:24:33 AM - Info bpbrm (pid=12345) starting bphdb on client
May 9, 2018 1:24:33 AM - Info bphdb (pid=8112) Backup started
May 9, 2018 1:24:33 AM - Error bpbrm (pid=12345) from client NBSQL81: ERR - The script <Daily_Full.bch> has not been approved to run. The script needs to be added to an authorized location on client <NBSQL81> before it can be run.
May 9, 2018 1:24:34 AM - Error bpbrm (pid=12345) from client NBSQL81: ERR - bphdb exit status = 5449: The script is not approved for execution.
May 9, 2018 1:24:48 AM - Info bphdb (pid=8112) done. status: 5449: The script is not approved for execution.
May 9, 2018 1:27:26 AM - Info nbjm (pid=2811) starting backup job (jobid=8675309) for client NBSQL81, policy MS-SQL_Policy, schedule Daily_Full
May 9, 2018 1:27:26 AM - Info nbjm (pid=2811) requesting MEDIA_SERVER_WITH_ATTRIBUTES resources from RB for backup job (jobid=8675309, request id:{A1B2C345-6789-01D2-E3F4-56789G0HI123})
May 9, 2018 1:27:26 AM - requesting resource DD-storage-1
May 9, 2018 1:27:26 AM - requesting resource nbmaster01.NBU_CLIENT.MAXJOBS.NBSQL81
May 9, 2018 1:27:26 AM - requesting resource nbmaster01.NBU_POLICY.MAXJOBS.MS-SQL_Policy
May 9, 2018 1:27:27 AM - granted resource nbmaster01.NBU_CLIENT.MAXJOBS.NBSQL81
May 9, 2018 1:27:27 AM - granted resource nbmaster01.NBU_POLICY.MAXJOBS.MS-SQL_Policy
May 9, 2018 1:27:27 AM - granted resource DD-storage-1
May 9, 2018 1:27:27 AM - estimated 0 kbytes needed
May 9, 2018 1:27:27 AM - Info nbjm (pid=2811) started backup (backupid=NBSQL81_1525843647) job for client NBSQL81, policy MS-SQL_Policy, schedule Daily_Full on storage unit DD-storage-1
May 9, 2018 1:27:52 AM - started process bpbrm (pid=12345)
May 9, 2018 1:27:57 AM - connecting
May 9, 2018 1:28:01 AM - connected; connect time: 0:00:00
May 9, 2018 1:28:16 AM - end writing
The script is not approved for execution. (5449)

 

Cause

The script name listed in the policy's backup selection is not getting picked from the default path when the full path is not given. NetBackup 8.1 implemented changes that require the Backup Selection in the policy to be an absolute path.

Example

  • Backup Selections:
    1. <script_name>.bch ⇐ This backup fails with Status Code 5449.
    2. C:\Program Files\Veritas\NetBackup\DbExt\MsSql\<script_name>.bch ⇐ This backup completes successfully with Status Code 0.

Workaround

Modify the MS-SQL Policy's backup selection to include the full path of the backup script, whether using default or custom paths.

Solution

Veritas Technologies LLC has acknowledged that the above-mentioned issue (Etrack 3942907) is present in the current version(s) listed under the Product(s) Section of this article. Veritas Technologies LLC is committed to product quality and satisfied customers.

This issue is currently being considered by Veritas Technologies LLC to be addressed in the next revision of the product. Please note that Veritas Technologies LLC reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests or introduces new risks to overall code stability. Veritas’ plans are subject to change and any action taken by you based on the above information or your reliance upon the above information is made at your own risk.

 

References

Etrack : 3942907

Was this content helpful?