Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore a database
Message
 
 
À
21/03/2019 10:33:15
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Divers
Thread ID:
01667416
Message ID:
01667466
Vues:
33
>>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?
>
>It should be smaller.
>
>It would be compressed it it was done like this:
>
>
>USE MyDatabase
>BACKUP DATABASE [MyDatabase] TO DISK='D:\MyDatabase.bak' with compression
>GO
>
>
>Also, maybe SHRINKFILE was added to the parameters, which would make some of the files even smaller.

Thank you.
"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
Répondre
Fil
Voir

Click here to load this message in the networking platform