Please enter search query.
Search <product_name> all support & community content...
A comprehensive list of solutions for the most common NetBackup for Microsoft SQL Server database agent backup and restore issues
Article: 100021966
Last Published: 2022-10-20
Ratings: 8 0
Product(s): NetBackup & Alta Data Protection
Problem
A comprehensive list of solutions for the most common NetBackup for Microsoft SQL Server database agent backup and restore issues.
Solution
Refer to the following articles to address these issues:
- How to restore to an alternate client, same client, with a different DB name, with a move script, to a Cluster, SQL Transaction Logs.
- Performing a database move to the same SQLHOST or to an alternate SQLHOST: https://www.veritas.com/docs/100016695
- How to manually create a SQL database restore script when having issues creating the restore script using NetBackup Microsoft SQL client GUI: https://www.veritas.com/docs/100016506
- How to troubleshoot NetBackup for Microsoft SQL Server database agent restore issues: https://www.veritas.com/docs/100017004
- How to perform a backup of SQL, SQL in a Cluster, SQL Transaction Logs, and perform a cold backup.
- How to configure NetBackup for Microsoft SQL Server backups and restores: https://www.veritas.com/docs/100017060
- How to configure differential backups with NetBackup for Microsoft SQL Server: https://www.veritas.com/docs/100018134
- Step-by-step configuration of NetBackup 6.0 for SQL 2000/2005 transaction log backups: https://www.veritas.com/docs/100018135 (
Archived
) - How to create a single MS-SQL-Server NetBackup policy which contains multiple schedules with different retention levels: https://www.veritas.com/docs/100023356 (
Archived
) - How to backup Microsoft SQL databases on a SQL server with multiple SQL instances: https://www.veritas.com/docs/100018056 (
Archived
)
- Backup or restore failed with error 1, 2, 5, 236. 239, or 58; SQL DB in Loading state after restore due to typing Mistakes in the Backup or Restore Script.
- SQL RESTORE fails with Error 'RESTORE detected an error on page (10244:1799427905) in database "<DatabaseName>" as read from the backup set': https://www.veritas.com/docs/100019281
- NetBackup for Microsoft SQL Server backups fail with Status Code 239 when attempting to back up a SQL Cluster: https://www.veritas.com/docs/100017117
- Unable to restore SQL database when the master server is on Unix or Linux: https://www.veritas.com/docs/100019227
- Other possible causes of backup or restore failures are as follows:
- SQLHOST keyword in the script is pointing to the wrong host
- Wrong master name in the script
- BROWSE CLIENT = <virtual name> instead of the node name
- SQLHOST specified in capital letters
- Wrong DB name
- Wrong SQLINSTANCE keyword in the script
- BROWSE CLIENT in upper\lower case, must reflect the name in the Master if the Master is Unix
- Database in loading state after restore: RECOVEREDSTATE was set to NOTRECOVERED
- An ordinary restore script was used for an alternate client restore, the move script should be used instead
- BROWSECLIENT keyword is missing
- Backup or restore fails with error: 2, 5, 23, 58, 48, or backup can hang due to incorrect name resolution or Network issues.
- Explanation of bpclntcmd command options, the system calls being used, and recommended troubleshooting when the commands return errors: https://www.veritas.com/docs/100017942
- Status Code 23 during client backups or restores, or when loading client properties: https://www.veritas.com/docs/100030186
- Use the bpclntcmd to troubleshoot the following problems:
- Incorrect DNS settings
- Incorrect reverse lookup
- Missing or incorrect IP address in the host file of the Client, Media or Master server.
- Backup or restore fails with error 1, 2, 25; restore fails with error 5, or Error "Exclusive access could not be obtained because the database is in use" due to 3rd party application problems.
- Attempts to restore a SQL database fail with a Status Code 5. The NetBackup MS SQL Client "View Status" window shows the following message: "Exclusive access could not be obtained because the database is in use": https://www.veritas.com/docs/100017258
- Status 995 is reported in the SQL Server error log for SQL Server DB backup using NetBackup SQL Server extension: https://www.veritas.com/docs/100017915
- After adding a new client to an MS-SQL-Server policy, the new client fails with a Status Code 2 and, in the dbclient log file, the message "The requested name is valid, but no data of the requested type was found" is shown: https://www.veritas.com/docs/100017279
- Other possible causes for failure:
- Wrong SA user account password specified in the SQL Agent properties
- No disk space
- Backup error 1, 2, 240, 199, Error 2: USER - Operation inhibited by NetBackup for Microsoft SQL Server: Only a full backup can be performed on the master database due to incorrect policies configuration.
- NetBackup for Microsoft SQL Server database agent backup failed with Status Code 199: https://www.veritas.com/docs/100019829
- Additional information about frequency and calendar based scheduling: https://www.veritas.com/docs/100016805 (
Archived
) - Performance tuning for NetBackup for Microsoft SQL Server backups: https://www.veritas.com/support/en_US/article.100016449
- Backup failed with error 2, 167, backup or restore error 25, and bplist command error 133 due to parameters that can be changed via a GUI.
- Most frequent causes:
- Changed NetBackup (NBU) client service account to a working one, or one with the correct SQL rights
- Selected "allow client browse" via Host Properties\Master
- Added media server host name to client servers list
- Corrected wrong master name in the client Registry
- Corrected wrong client name in BAR GUI
- During an alternate client restore, the error "ERROR Initializing NetBackup Catalog" occurs, launching the SQL Backup History Options GUI: https://www.veritas.com/docs/100016069
- Most frequent causes:
- Backup or restore error 41 or restore failed with error 5 due to needed tuning.
- With some SQL issues, increasing the Client Read Timeout on the SQL client up to 36000 seconds will help.
- Performance tuning for NetBackup for Microsoft SQL Server backups: https://www.veritas.com/docs/100016449
- Restores of large Microsoft SQL server databases using the NetBackup for Microsoft SQL Server database extension fail before jobs start reading data from tape: https://www.veritas.com/docs/100003049
- How to troubleshoot Microsoft SQL Server database restore issues: https://www.veritas.com/docs/100017004
- Is it possible for SQL databases backed up with more than one stripe to be restored using fewer stripes when using the NetBackup for Microsoft SQL Server database agent? https://www.veritas.com/docs/100017647 (
Archived
) - Changes to the NetBackup for SQL Microsoft SQL Server database agent allow a multi-striped image to be restored with a single stripe: https://www.veritas.com/docs/100017772
- Restore failed with error 25 or 13 because the BAR GUI was used to launch the restore instead of SQL Agent GUI.
- Veritas NetBackup Microsoft SQL Server Administrator's Guide: https://www.veritas.com/docs/100040135