Microsoft Certified IT Professional Rudi Bruchez EI Microsoft Certified IT Professional

Rudi Bruchez EI · www.pachadata.com · rudi@pachadata.com · +33 6 22 48 76 99
Consulting, audit, performance tuning, solutions, training
SQL Server OLTP and BI / NoSQL

Version of August 28, 2026 (06268b2e) · https://www.pachadata.com/en/docs/howtos/administration/errorlog-backup/

Remove backup messages from the error log

The error log records every successful backup, which is of no use. Here is how to turn those messages off.

The SQL Server error log holds important information. Unfortunately it is often drowned in backup messages. By default, every database or log backup operation is written to the error log. That is generally useless, and it takes up a lot of room — especially when you have a strategy of very frequent transaction log backups.

You can turn those writes off with a trace flag, number 3226.

To enable it, use this command:

DBCC TRACEON (3226, -1);

This takes effect immediately, but it is reset when the instance restarts. To make it permanent, add the option to the service startup parameters as well.

To do that:

  1. On the server, open SQL Server Configuration Manager.
  2. Go to the SQL Server service and open its properties with a right-click.
  3. Find the service startup parameters, and add this line: -T3226

Contact

I have been an independent SQL Server consultant since 2006. I help when an application slows down, when a server costs too much in storage or licenses, or when a migration must not stop production: audit and diagnosis, query and index tuning, migrations, high availability, training. On site, or as a remote audit delivered in five working days.

rudi@pachadata.com · +33 6 22 48 76 99 · www.pachadata.com/en/contact/