Change SQL Server default backup compression

The default backup mode for SQL Server databases is no compression.

When creating maintenance plans, you’d need to select enable database backup compression for each plan.

In order to change the server default setting, use the following:

— View current setting. If result is 0, then compression is not enabled.

SELECT value 
FROM sys.configurations 
WHERE name = 'backup compression default' ;

— To change SQL Server default setting, run the following:

EXEC sp_configure 'backup compression default', 1 ;

This entry was posted in SQL, SQL Server, SQL Server 2012, SQL Server 2014. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.