Précédent   Forum des professionnels en informatique > Bases de données > MS SQL-Server
MS SQL-Server Forum Microsoft SQL-Server. Avant de poster -> FAQ SQL-Server, Tutoriels SQL-Server
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 17/09/2008, 14h46   #1
Membre actif
 
Inscription : octobre 2006
Messages : 354
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 354
Points : 159
Points : 159
Par défaut [SQL Server 2005] - Absence de source dans un .bak

Salut à tous,

j'ai un petit souci en essayant de restaurer une base.
Lorsque je sélectionne mon fichier .bak (qui fait environ 200M, ce qui est correct), aucune sauvegarde n'apparaît dans la liste. On dirait que le .bak ne contient aucune sauvegarde.

Auriez-vous une explication ?

Merci d'avance
nox75 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/09/2008, 15h55   #2
Rédacteur/Modérateur

 
Avatar de SQLpro
 
Homme Frédéric BROUARD
Expert SGBDR & SQL
Inscription : mai 2002
Messages : 10 959
Détails du profil
Informations personnelles :
Nom : Homme Frédéric BROUARD
Localisation : France

Informations professionnelles :
Activité : Expert SGBDR & SQL
Secteur : Conseil

Informations forums :
Inscription : mai 2002
Messages : 10 959
Points : 17 792
Points : 17 792
Donnez le résultat de ces requêtes :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
RESTORE HEADERONLY
FROM DISK = '???'
GO
RESTORE LABELONLY
FROM DISK = '???'
GO
RESTORE FILELISTONLY
FROM DISK = '???'
GO
RESTORE VERIFYONLY
FROM DISK = '???'
GO
A +
__________________
Frédéric Brouard - SQLpro - ARCHITECTE DE DONNÉES - expert SGBDR et langage SQL
Site sur les SGBD relationnels et le langage SQL: http://sqlpro.developpez.com/
Expert Microsoft SQL Server - M.V.P. (Most valuable Professional) MS Corp.
Blog SQL, SQL Server, modélisation données : http://blog.developpez.com/sqlpro
http://www.sqlspot.com : modélisation, conseils, audit, optimisation, formation
* * * * * Enseignant CNAM PACA - ISEN Toulon - CESI Aix en Provence * * * * *
SQLpro est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/09/2008, 16h58   #3
Membre actif
 
Inscription : octobre 2006
Messages : 354
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 354
Points : 159
Points : 159
Voilà le résultat :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\???'. Operating system error 123(The filename, directory name, OR volume label syntax IS incorrect.).
Msg 3013, Level 16, State 1, Line 1
RESTORE HEADERONLY IS terminating abnormally.
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\???'. Operating system error 123(The filename, directory name, OR volume label syntax IS incorrect.).
Msg 3013, Level 16, State 1, Line 1
RESTORE LABELONLY IS terminating abnormally.
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\???'. Operating system error 123(The filename, directory name, OR volume label syntax IS incorrect.).
Msg 3013, Level 16, State 1, Line 1
RESTORE FILELIST IS terminating abnormally.
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\???'. Operating system error 123(The filename, directory name, OR volume label syntax IS incorrect.).
Msg 3013, Level 16, State 1, Line 1
VERIFY DATABASE IS terminating abnormally.
nox75 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/09/2008, 13h04   #4
Membre Expert
 
Avatar de vtrone
 
Homme
Inscription : novembre 2005
Messages : 1 899
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations forums :
Inscription : novembre 2005
Messages : 1 899
Points : 2 015
Points : 2 015
Il faut remplacer les '???' par le chemin et le nom du fichier .bak. Par exemple:
Code :
1
2
RESTORE HEADERONLY
FROM DISK = 'D:\MesBackup\monfichier.bak'
vtrone est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/09/2008, 13h53   #5
Membre actif
 
Inscription : octobre 2006
Messages : 354
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 354
Points : 159
Points : 159
Je me disais aussi '-_- ...
Note : penser à relire une requete avant de copier/coller
nox75 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/09/2008, 14h05   #6
Membre Expert
 
Avatar de vtrone
 
Homme
Inscription : novembre 2005
Messages : 1 899
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations forums :
Inscription : novembre 2005
Messages : 1 899
Points : 2 015
Points : 2 015
Un point partout pour aujourd'hui...
vtrone est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 06h03.


 
 
 
 
Partenaires

Hébergement Web