Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using R2 and compression
Message
 
 
To
26/07/2010 00:19:17
General information
Forum:
Microsoft SQL Server
Category:
Backups
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01473850
Message ID:
01473860
Views:
29
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform