Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using R2 and compression
Message
 
 
À
26/07/2010 00:19:17
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01473850
Message ID:
01473860
Vues:
30
>>In the options dialog don't chose append, chose overwrite.
>
>As you may have seen, there is no dialog here. I simply run the command. I have resolved the issue by simply delete the .bak file. However, this keep appending new backup to the existing file. So, I found the INIT clause. However, I cannot combine COMPRESSION and INIT in one backup command line. Has anyone succeeded to do that?

The syntax is:
BACKUP DATABASE [DBName] TO  DISK = N'C:\SQL DB Backups\DBName.bak' WITH NOFORMAT,
 INIT,  NAME = N'DBName-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, COMPRESSION,  STATS = 10
GO
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform