# 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.
>
> Source : https://www.pachadata.com/en/docs/howtos/administration/errorlog-backup/
> Author : Rudi Bruchez · updated 2026-08-28
> Markdown version of the page, for tools and LLMs. The HTML page is the reference.


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](https://learn.microsoft.com/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql), number **3226**.

To enable it, use this command:

```sql
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](https://learn.microsoft.com/sql/relational-databases/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`


---

## About the author

Rudi Bruchez, independent SQL Server consultant since 2006: performance audits, tuning, migrations, high availability and training. For an audit or hands-on help on your server: https://www.pachadata.com/en/contact/ (remote audit: https://www.pachadata.com/en/services/remote-sql-server-audit/).
