Click to Rate and Give Feedback
TechNet
TechNet Library
SQL Server
SQL Server 2008 R2
Database Engine
Operations
Managing Servers
 backup compression default Option
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
backup compression default Option

In SQL Server 2008 Enterprise and later only, used by the BACKUP Transact-SQL statement to select the backup compression setting if a user does not specify WITH COMPRESSION or WITH NO_COMPRESSION. 

NoteNote

Backup compression is supported for both disk backup devices and tape backup devices.

At installation, backup compression default is set to 0, which makes backup compression off by default. To change the default to COMPRESSION, set backup compression default to 1. To revert the default to NO_COMPRESSION, set backup compression default back to 0.

Important noteImportant

By default, compression significantly increases CPU usage, and the additional CPU consumed by the compression process might adversely impact concurrent operations. Therefore, you might want to create low-priority compressed backups in a session whose CPU usage is limited by Resource Governor. For more information, see How to: Use Resource Governor to Limit CPU Usage by Backup Compression (Transact-SQL).

The following example configures the server instance to create compressed backups by default.

USE master;
GO
EXEC sp_configure ‘backup compression default’, '1';
RECONFIGURE WITH OVERRIDE;
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Behavior of compressed backups when appending backups to an existing media set      Ramu_K   |   Edit   |   Show History
When working with compressed backups, please check the following KB for additional information

2297053 Behavior of compressed backups when appending backups to an existing media set
http://support.microsoft.com/kb/2297053
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker