base de datos atascada en la restauración
USE master;
GO
ALTER DATABASE Database_name
SET MULTI_USER;
GO
USE master;
GO
ALTER DATABASE Database_name
SET MULTI_USER;
GO
USE master;
GO
ALTER DATABASE Database_name
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;
USE master;
GO
RESTORE DATABASE [databaseName]
FROM DISK = '[databaseBackupPath]'
WITH REPLACE, RECOVERY;
RESTORE DATABASE [databasename] WITH RECOVERY