MS-SQL backup fails with error code 6 or 2.

Article: 100059724
Last Published: 2025-10-07
Ratings: 0 5
Product(s): NetBackup

Problem

MS-SQL backup operation perform with NetBackup fails with error code 6 or 2.

 

Error Message

Backup Job:

Info dbclient (pid=4656) INF - Created VDI object for SQL Server instance <MSSQLSERVER>. Connection timeout is <600> seconds.
Info dbclient (pid=4656) ERR - Error in VxBSACreateObject: 3.
Info dbclient (pid=4656)     CONTINUATION: - System detected error, operation aborted.
Info dbclient (pid=4656) DBMS MSG - ODBC return code <-1>, SQL State <37000>, SQL Message <3202><[Microsoft][SQL Server Native Client 11.0][SQL Server]Write on "VBN0-4656-7584-1691650449" failed: 995(The I/O operation has been aborted because of either a thread exit or an application request.)>.
Info dbclient (pid=4656) DBMS MSG - SQL Message <3271><[Microsoft][SQL Server Native Client 11.0][SQL Server]A nonrecoverable I/O error occurred on file "VBN0-4656-7584-1691650449:" 995(The I/O operation has been aborted because of either a thread exit or an application request.).>
Info dbclient (pid=4656) DBMS MSG - SQL Message <3013><[Microsoft][SQL Server Native Client 11.0][SQL Server]BACKUP DATABASE is terminating abnormally.>
Info dbclient (pid=4656) INF - OPERATION #1 of batch __12_24_05_621_00.bch FAILED with STATUS 1 (0 is normal). Elapsed time = 16(16) seconds.
Info dbclient (pid=4656) INF - Results of executing <__12_24_05_621_00.bch>: 
Info dbclient (pid=4656) <0> operations succeeded. <1> operations failed.

DBClient:

11:05:05.704 [1900.6336] <16> CreateNewImage: Encryption not requested by server, but required by client
11:05:05.704 [1900.6336] <4> closeApi: entering closeApi.
11:05:05.704 [1900.6336] <4> closeApi: INF - EXIT STATUS 6: the backup failed to back up the requested files

 

Cause

The issue occurs if the Encryption is set to Required on the client server, but the Primary Server is not requesting it.

That causes issues while sending the information to the Primary server and it fails the backup job.

 

Solution

For the MS-SQL Client server experiencing this issue, follow the steps below:

Open the Netbackup Admin console on the master server and Go to  Host Properties > Clients > Select the SQL Client properies > Encryption and set it to Allowed.

 

Post this, the backups should work fine.

Was this content helpful?