Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore a database
Message
 
 
À
21/03/2019 10:10:38
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Divers
Thread ID:
01667416
Message ID:
01667460
Vues:
33
>>Ok. So far, I was able to restore the .bak copy of the SQL database into a different name database.
>>
>>Could I have, also, restored the .bak copy right into the "damaged" database? That is, if I selected the current "messed up" database and clicked on Tasks -> Restore and then pointed to the MyDatabase.Bak, would it replace the existing database with the one in the .bak?
>
>That would be a regular restore. I do not think SQL Server does any kind of verification to see if the actual database is corrupted before restoring over it.

What seemed strange to me is that the .bak file is about half the size of the actual database .MDF file. Does it mean that .bak has it compressed? Or .bak file does not have something that the actual .MDF file has?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform