How to Fix SQL Server Error 3043 (Msg 3043)

Published
Length
3 min read

Luis Felipe Dias

All posts

You get sql server error 3043 when a backup job hits a damaged page. You can fix it by restoring a clean page or running database repair checks. This problem carries a severity level of 16 in the database engine. The backup command stops right away to keep bad data out of your backup files. When this happens, the message gives you the database name, page numbers, and file path. Teams must act fast to find the bad disk sector and save the clean data. What causes sql server error 3043 in the da

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

You get sql server error 3043 when a backup job hits a damaged page. You can fix it by restoring a clean page or running database repair checks.

This problem carries a severity level of 16 in the database engine. The backup command stops right away to keep bad data out of your backup files. When this happens, the message gives you the database name, page numbers, and file path. Teams must act fast to find the bad disk sector and save the clean data.

What causes sql server error 3043 in the database engine

The engine logs message 3043 when a backup reads a bad page in a file. In most cases, a failing hard drive or storage array alters the page bits. Bad memory chips or buggy storage drivers can also corrupt pages on the way to disk. When the backup reads the file, it checks page headers and checksums for bad values.

If a page fails this check, the engine throws severity 16 error 3043 and stops. Stopping the job prevents you from overwriting older, clean backups with broken data. The message text shows the exact file ID and page ID where the check failed. You need those two numbers to check the damage and plan your fix.

How to check and fix the failure in production

Start by reading the error log to get the file number and page number. Next, run a database check to see how many pages have damage across the file. Check whether the bad page holds a user table, an index, or system data. If the damage only hits a non-clustered index, you can rebuild that index to fix it.

If the bad page holds base table rows, your best fix is a page restore. You take a clean copy of that page from an older backup and apply logs. Never turn off backup checksums just to force a failing backup job to finish. Skipping safety checks hides disk failures and leaves you with useless backup files later.

Kubernetes API Server Access + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Keeping permissions safe during database repair

When a backup fails, many people rush to give extra permissions to debug the issue. Instead, keep user roles tight while a senior admin runs the repair tasks. In this database, a user is the login identity when someone connects to a database. For people who need many databases, a login in the master database is common.

For one or a few databases, a contained database user with a password works well. An admin must first turn on contained databases on the server and the database. Avoid adding developers to the owner role during an incident. Members of the owner role can do all maintenance and can even drop the database.

If someone only needs to check table rows, use the fixed data reader role. Members of that role can read all data from all user tables and views. You cannot change the permissions assigned to fixed database roles. If you must block writes during a fix, use the deny data writer role. Members of that role cannot add, change, or delete any table data.

Check SQL Server batches and results on the wire

SQL Server logins and roles decide who connects. They do not check what each TDS batch does or mask sensitive values in returned rows. With hoop.dev, you run an open-source proxy, a sidecar for your SQL Server, inline in the TDS wire protocol. On every batch an AI agent or engineer runs against production, hoop.dev decides to pass, mask, block, or hold it for human review.

Before a batch hits the server, hoop.dev guardrails refuse disallowed actions with a native TDS error or hold risky statements for approval. On the way back, hoop.dev data masking rewrites sensitive values in supported result columns in memory, and every decision is logged. Explore the MIT-licensed project on GitHub.

Frequently asked questions

What does severity 16 mean for message 3043?

Severity 16 means the error came from a problem that the user or admin can address. For message 3043, it signals that the backup hit a damaged page in a file.

Should I force a backup to continue past bad pages?

No, forcing a backup past damaged pages creates a broken backup file that may fail later. Always fix the bad page through an index rebuild or a clean page restore first.

Which role should engineers use to verify data after a page fix?

Assign engineers to the fixed data reader role so they can check user tables safely. This lets them verify rows without giving them the power to change data or drop objects.

The query runs. The emails stay hidden.