Quantcast
Channel: Red Gate forums: SQL Backup 7
Viewing all articles
Browse latest Browse all 713

RE: restore database status still in progress after failure

$
0
0
Thank you for your reply.

Can you please run the following query on the restoring server to ensure that a restore task is actually running:

Code:

USE master
GO
EXECUTE Master..sqbstatus 1
GO


If no backup or restore task is running, zero results are returned. The entry in the GUI is false. Normally closing and reopening the GUI resolves the problem.

If a set of results are returned, this indicates that there is a restore process running. The results will include database name, login used, process - B = backup and R = restore, type, compression, encryption. The columns of interest are Processed (bytes), Compressed (bytes) and start_date.

If you repeat the query 2 or 3 times does the processed (bytes) value increase?

If the restore process is running, please run the following two queries and save a copy of the results.


Code:

USE master
GO
EXECUTE master..sqbutility 9997
GO


This function will provide a debugging trace of the current execution process in the SQL Backup engine.

Executing sqbutility 9997 will return a NULL value and generate a file in the named directory for the corresponding SQL Backup Agent (eg by default, C:\Program files\Red Gate\SQL Backup\%instance%, called "SQBCoreService_bugreport.txt"

Code:

USE master
GO
EXECUTE sp_who2
GO


Executing sp_who2 will return a list of the current processes in the SQL Server engine. Please save a copy of the results.

A support call has been created for you and is available using this LINK. If you have not already done so, you will need to create a redgate ID to view and update the support call. Please update the call with sp_who2 results and the SQBCoreService_<instance name>_bugreport.txt file.

Many Thanks
Eddie

Viewing all articles
Browse latest Browse all 713

Trending Articles