I am trying to restore SQL server .bak file to Azure SQL Managed Instance database through SSMS but getting an error
Msg 22003, Level 16, State 1, Line 18 Stale/aborted version cleanup was aborted for database id '10' due to database shutdown. Msg 3013, Level 16, State 1, Line 18 RESTORE DATABASE is terminating abnormally.
I am using the command
CREATE CREDENTIAL [https://STORAGEACCOUNT.blob.core.windows.net/backups]
WITH IDENTITY = 'SHARED ACCESS SIGNATURE' ,
SECRET = '<<by using original key>>'
RESTORE DATABASE [TestDataBase] FROM URL = 'https://STORAGEACCOUNT.blob.core.windows.net/backups/TestDataBase.bak'
I have also tried by using SSMS restore wizard but no luck.
Does anyone face this issue or any help will be great help...