cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot open backup device "x.x.x.x."

HCVN_u
Level 3

Jul 31, 2020 1:56:02 PM - begin Restore
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) INF - RESTORE STARTED USING
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) Microsoft SQL Server 2008 R2 (SP3) - 10.50.6529.0 (X64) 
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) Mar 19 2015 13:19:13 
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) Copyright (c) Microsoft Corporation
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) 
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) Batch = C:\Users\xxxxxxx\Desktop\bbbbb.bch, Op# = 1.
Jul 31, 2020 1:56:03 PM - Info dbclient (pid=6352) INF - Using backup image VN-VWL5044.MSSQL7.VN-VWL5044.db.AVSOFTTNCN.~.7.001of001.20200725185926..C
Jul 31, 2020 1:56:04 PM - Info dbclient (pid=6352) INF - restore database "AVSOFTTNCN" from VIRTUAL_DEVICE='VNBU0-6352-7380-1596178516' with  stats = 10, blocksize = 65536, maxtransfersize = 4194304, buffercount = 2, replace , norecovery
Jul 31, 2020 1:56:04 PM - Info dbclient (pid=6352) INF - Number of stripes: 1, Number of buffers per stripe 2.
Jul 31, 2020 1:56:05 PM - Info dbclient (pid=6352) INF - Created VDI object for SQL Server instance <VNHQSQL02>. Connection timeout is <300> seconds.
Jul 31, 2020 2:01:05 PM - Info dbclient (pid=6352) ERR - Error in GetConfiguration: 0x80770003.
Jul 31, 2020 2:01:05 PM - Info dbclient (pid=6352)     CONTINUATION: - The api was waiting and the timeout interval had elapsed.
Jul 31, 2020 2:01:06 PM - Info dbclient (pid=6352) DBMS MSG - ODBC return code <-1>, SQL State <37000>, SQL Message <3201><[Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot open backup device 'VNBU0-6352-7380-1596178516'. Operating system error 0x80070002(The system cannot find the file specified.).>.
Jul 31, 2020 2:01:07 PM - Info dbclient (pid=6352) DBMS MSG - SQL Message <3013><[Microsoft][SQL Server Native Client 10.0][SQL Server]RESTORE DATABASE is terminating abnormally.>
Jul 31, 2020 2:01:07 PM - Info dbclient (pid=6352) ERR - Error found executing <restore database "AVSOFTTNCN" from VIRTUAL_DEVICE='VNBU0-6352-7380-1596178516' with  stats = 10, blocksize = 65536, maxtransfersize = 4194304, buffercount = 2, replace , norecovery>.
Jul 31, 2020 2:01:07 PM - Info dbclient (pid=6352) INF - OPERATION #1 of batch C:\Users\xxxxxxx\Desktop\bbbbb.bch FAILED with STATUS 1 (0 is normal). Elapsed time = 305(305) seconds.
Jul 31, 2020 2:01:09 PM - Info dbclient (pid=6352) INF - Results of executing <C:\Users\xxxxxxx\Desktop\bbbbb.bch>: 
Jul 31, 2020 2:01:09 PM - Info dbclient (pid=6352) <0> operations succeeded. <2> operations failed.

1 REPLY 1

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@HCVN_u 

Forget about the backup error - the actual error is the 5 minute timeout:

Jul 31, 2020 1:56:05 PM - Info dbclient (pid=6352) INF - Created VDI object for SQL Server instance <VNHQSQL02>. Connection timeout is <300> seconds.
Jul 31, 2020 2:01:05 PM - Info dbclient (pid=6352) ERR - Error in GetConfiguration: 0x80770003.
Jul 31, 2020 2:01:05 PM - Info dbclient (pid=6352)     CONTINUATION: - The api was waiting and the timeout interval had elapsed.

For a restore, you need to increase the Client Read Timeout. 
Change it to 2 or 3 hours. 

The alternative is 'Instant data file initialization' in SQL. 
More info in NBU for SQL manual.