Bonjour à tous ,
Voici ma requete pour une restauration de base :
Le résultat que j'obtiens :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 RESTORE DATABASE [lienWinXS] FROM DISK = N'C:\Documents and Settings\Administrateur\Bureau\J02Mercredi.BAK' WITH FILE = 3, MOVE N'lienWinXS' TO N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\lienWinXS.mdf', MOVE N'lienWinXS_log' TO N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\lienWinXS_log.ldf', NOUNLOAD, REPLACE, STATS = 10 GO
A priori la base master n'est pas au meme endroit que moi , avez vous une solution ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 Msg*5133, Niveau*16, État*1, Ligne*1 Directory lookup for the file "D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\lienWinXS_Data.MDF" failed with the operating system error 21(Le périphérique n'est pas prêt.). Msg*3156, Niveau*16, État*3, Ligne*1 File 'lienWinXS_Data' cannot be restored to 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\lienWinXS_Data.MDF'. Use WITH MOVE to identify a valid location for the file. Msg*3119, Niveau*16, État*1, Ligne*1 Problems were identified while planning for the RESTORE statement. Previous messages provide details. Msg*3013, Niveau*16, État*1, Ligne*1 RESTORE DATABASE is terminating abnormally.
Pour information je n'ai pas de partition d:
Merci par avance de vos réponses
Bonne journée.
Partager