microsoft / microsoft/sql-server-samples
Error restoring AdventureWorks2016_EXT.bak and AdventureWorksDW2016_EXT.bak
Nessuno ha ancora preso questa issue.
- Lingua principale
- PowerShell
- Stelle
- 11.2k
- Fork
- 9.1k
- Merge medio
- 2g 7h
- PR unite (30g)
- 14
Descrizione
Best regards,
I downloaded the AdventureWorks2016_EXT.bak and AdventureWorksDW2016_EXT.bak files. However, when trying to restore the backups, they are blocked by 35% and generate the following error message, and then appear in the object explorer in Suspect state:
=====================================================================
Restore of database 'AdventureWorks2016_EXT' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
Program Location:
at Microsoft.SqlServer.Management.RelationalEngineTasks.RestoreDatabaseTaskFormComponent.PerformTask (ITaskExecutionContext context)
at Microsoft.SqlServer.Management.RelationalEngineTasks.RestoreDatabaseTaskFormComponent.Perform (ITaskExecutionContext context)
at Microsoft.SqlServer.Management.TaskForms.TaskExecutionManager.ExecuteTaskSequence (ISfcScriptCollector collector)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.SmoExtended)
Program Location:
at Microsoft.SqlServer.Management.Smo.RestorePlan.Execute ()
at Microsoft.SqlServer.Management.RelationalEngineTasks.RestoreDatabaseTaskFormComponent.PerformTask (ITaskExecutionContext context)
An error occurred during recovery, preventing the database 'AdventureWorks2016_EXT' (11: 0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support. (.Net SqlClient Data Provider)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=3414&LinkId=20476
Server Name: C-JRAMIRJA3
Error Number: 3414
Severity: 21
State: 4
Line Number: 1
Program Location:
at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql (ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery (String sqlCommand, ExecutionTypes executionType, Boolean retry)
The files that are not extended, AdventureWorks2016.bak and AdventureWorksDW2016.bak, are restored without problems.
Could you please help me by focusing on the solution?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il ripristino di AdventureWorks2016_EXT.bak e AdventureWorksDW2016_EXT.bak in SQL Server e analizza gli errori di recupero associati a error 3414. Confronta i backup estesi con AdventureWorks2016.bak e AdventureWorksDW2016.bak, che vengono ripristinati correttamente; il lavoro è completato quando viene identificata la causa e viene documentata una correzione confermata del ripristino o un problema del backup.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- sql
- Ambito
- databases
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100