Fix SQL Server Error 3456 in 5 Ways
SQL Server error 3456 means a restore or a recovery found an older page where the log record expects the newest one. SQL Server raises the error while it redoes the transaction log and it can place the database in the SUSPECT state.
Five ways fix it. A decision table matches your case to a way and names the data risk of every way.
Quick SummaryFix SQL Server error 3456 in five ways. Check the Windows Event Log for an earlier error first. Bring the database online and execute DBCC CHECKDB when the cause was brief. Restore the full, differential and log backups in order when the cause is permanent. Set trace flags 3471, 3472 and 3475 for a striped VDI backup on SQL Server 2019 or later. Use the emergency mode repair as the last manual step. Use SQL Recovery when no backup works.
What Does SQL Server Error 3456 Mean?
Microsoft lists the message text as a failed redo of a log record and the symbolic name as REC_REDOLSNMISMATCH. SQL Server scans the transaction log during a restore or a startup and applies every record to its data page. Error 3456 appears when a record cannot apply.
Microsoft shows the sample below on its page for striped VDI restores.
Msg 3456, Level 16, State 1, Line 1
Could not redo log record (120600:18965748:1), for transaction ID (0:1527178398), on page (14:1987189), allocation unit 72057761533001728, database 'DB1_STRIPE' (database ID 8).
Page: LSN = (120598:23255372:8), allocation unit = 72057761317781504, type = 1. Log: OpCode = 6, context 2, PrevPageLSN: (120600:18965371:85).
Compare the page LSN with PrevPageLSN in the second line. The page LSN starts with 120598 and PrevPageLSN starts with 120600.
The page is older than the log record expects. That gap is the error.
Do You Know?Microsoft states that an error during redo, undo or recovery places the database in the SUSPECT state. Microsoft also states that SQL Server shuts down the instance when the error occurs for tempdb.
What Causes the Page to Be Older Than the Log Expects?
Three causes appear in Microsoft documentation. The cause decides the fix. Check it before you restore anything.
| Cause | Where Microsoft names it | Fix |
|---|---|---|
| A transient fault like a stopped service or a full disk | Troubleshooting page for errors 3313, 3314, 3414 and 3456 | Method 1 |
| A lost disk update or a stale page in the I/O path | Microsoft page on unreported I/O problems, which lists errors 605, 823, 3448 and 3456 | Method 1 and Method 2 |
| A striped VDI full backup taken on SQL Server 2019 or later | Microsoft page on VDI multistriped restores | Method 3 |
| A permanent failure of the data or log file | Troubleshooting page for errors 3313, 3314, 3414 and 3456 | Method 2, Method 4 or Method 5 |
Which Way Fixes Your Case?
| Your situation | Best way | Data risk |
|---|---|---|
| The Windows Event Log shows a fault that you already fixed | Method 1 | None. The database comes online as it was |
| A valid full backup and the log backups exist | Method 2 | Work after the last log backup is lost unless a tail log backup works |
| The restore fails on a striped VDI backup from SQL Server 2019 or later | Method 3 | Old backups can fail to restore. Test them first |
| No backup restores and the database is SUSPECT | Method 4 | Microsoft warns that the repair can cause data loss |
| Method 4 fails or you cannot accept data loss | Method 5 | None on the original files because SQL Recovery works on a copy |
How Do You Fix Error 3456 Step by Step?
Method 1: Bring the Database Online After a Transient Fault
Open the Windows Event Log and look for an error before 3456. Microsoft states that the earlier error shows whether the cause was transient or permanent. A transient cause clears after you fix it.
ALTER DATABASE SalesDB SET ONLINE;
SELECT name, state_desc
FROM sys.databases
WHERE name = N'SalesDB';
DBCC CHECKDB (SalesDB) WITH ALL_ERRORMSGS, NO_INFOMSGS;
The state shows ONLINE after a good recovery. DBCC CHECKDB prints nothing when the database has no damage.
Check the I/O path next. The first query lists databases without page checksums and the second query lists pages that failed.
SELECT name, page_verify_option_desc
FROM sys.databases
WHERE page_verify_option_desc <> 'CHECKSUM';
SELECT * FROM msdb..suspect_pages
WHERE event_type IN (1, 2, 3);
Microsoft states that a sudden growth of rows in suspect_pages points to the I/O subsystem. Follow the Microsoft page for error 824 and the post on SQL Server errors 823, 824 and 825 when rows appear.
Method 2: Restore the Backup Chain
Try a tail log backup of the damaged database first. Then restore the full backup and the latest differential backup with NORECOVERY. Apply every log backup up to the point of failure and finish with RECOVERY.
BACKUP LOG SalesDB
TO DISK = N'D:\Backup\SalesDB_tail.trn'
WITH NO_TRUNCATE;
RESTORE DATABASE SalesDB
FROM DISK = N'D:\Backup\SalesDB_full.bak'
WITH NORECOVERY, REPLACE;
RESTORE LOG SalesDB
FROM DISK = N'D:\Backup\SalesDB_log1.trn'
WITH NORECOVERY;
RESTORE DATABASE SalesDB WITH RECOVERY;
DBCC CHECKDB (SalesDB) WITH ALL_ERRORMSGS, NO_INFOMSGS;
The restore chain follows the Microsoft steps. The post on restoring a database with NORECOVERY explains the option and error 3117 explains the failure that appears when a step uses RECOVERY too early.
Heads UpMicrosoft states that RESTORE stops at the first error by default. CONTINUE_AFTER_ERROR makes RESTORE continue and salvage what it can. Microsoft calls that option a last resort and advises you to try an older backup first.
Method 3: Fix a Striped VDI Restore on SQL Server 2019 or Later
SQL Server 2019 introduced delayed log pinning. A full backup then takes a mini differential backup of pages that are updated during the backup. A data page can appear more than once in the backup set.
A VDI client that expects a single copy of every page fails. Striped VDI backups send data at the same time. Copies can arrive out of order and SQL Server finds the older version first.
SELECT SERVERPROPERTY('ProductMajorVersion') AS major_version;
A value of 15 or higher means SQL Server 2019 or later. Select the trace flag that matches your backup.
| Backup scenario | Trace flag | Effect |
|---|---|---|
| Full backup on a primary replica or a standalone instance | 3471 | Switches off delayed log pinning for full backups |
| Differential backup on a primary replica or a standalone instance | 3475 | Switches off delayed log pinning for differential backups |
| COPY_ONLY full backup on a secondary replica | 3472 | Switches off delayed log pinning for that backup |
Add the flag as a startup parameter like -T3471. Restart the SQL Server instance and take the backup again.
Use this statement when you cannot restart now. The setting lasts until the next restart.
DBCC TRACEON (3471, 3472, 3475, -1);
Heads UpMicrosoft warns that backups taken with delayed log pinning through a striped VDI client can fail to restore. Restore every existing backup on a test server before you trust it.
Method 4: Repair the Database From Emergency Mode
Use this method when no backup restores. Microsoft lists emergency mode as the last resort for a SUSPECT database.
Copy the MDF and LDF files to another disk before you start. REPAIR_ALLOW_DATA_LOSS can delete rows and the copy is your only way back.
ALTER DATABASE SalesDB SET EMERGENCY;
DBCC CHECKDB (SalesDB) WITH ALL_ERRORMSGS, NO_INFOMSGS;
ALTER DATABASE SalesDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
DBCC CHECKDB (SalesDB, REPAIR_ALLOW_DATA_LOSS) WITH ALL_ERRORMSGS, NO_INFOMSGS;
ALTER DATABASE SalesDB SET MULTI_USER;
Review the first DBCC CHECKDB output before you repair. The posts on recovering a SQL database from suspect mode and on DBCC CHECKDB REPAIR_ALLOW_DATA_LOSS that does not work show what to do when the repair fails.
Method 5: Recover the Data With SQL Recovery
Choose SQL Recovery when no backup restores and the emergency repair fails or loses data you need. SQL Recovery scans a copy of the damaged MDF and NDF files and your original files remain untouched.
SQL Recovery previews tables, views, triggers, rules, functions and stored procedures. SQL Recovery then exports them to a SQL Server database, to SQL scripts or to CSV files.
Download SQL Recovery Buy SQL Recovery
- Install SQL Recovery and select Add File.

- Browse to the MDF file and select Advanced Scan. Confirm the SQL Server version and tick the deleted records option.

- Open the preview and check the recovered database components.

- Select Export and save the objects to a SQL Server database, to SQL scripts or to CSV files.

Which Specifications Does SQL Recovery Need?
Compare both tables with your system before you install SQL Recovery on the server or on another workstation.
Software Specifications
| Attribute | Detail |
|---|---|
| Software name | SQL Recovery |
| Version | 14.0 |
| File types | MDF and NDF |
| SQL Server versions | 2025, 2022, 2019, 2017, 2016, 2014, 2012, 2008 R2, 2008, 2005 and 2000 |
| Scan modes | Quick Scan and Advanced Scan |
| Export options | SQL Server database, SQL scripts and CSV |
| SQL Server installation | Needed only for export to a live server |
| Demo limit | Preview of every item and export of 25 records per table and 5 other objects |
System Specifications
| Component | Requirement |
|---|---|
| Processor | Intel Core 2 Duo E4600 at 2.40 GHz or equivalent |
| RAM | 4 GB |
| Hard disk space | 100 MB free |
| Operating system | Windows 7, 8 and 10 (32 or 64 bit), Windows 11 (64 bit), Windows Server 2008, 2012 R2, 2016, 2019, 2022 and 2025 |
| Framework | Microsoft .NET Framework 4.5 or later |
| Permission | Launch SQL Recovery as administrator |
Common Questions on Error 3456
Does Error 3456 Mean the Database Is Corrupt?
Not always. Microsoft separates a transient condition from a permanent failure. Check the Windows Event Log for an earlier error and execute DBCC CHECKDB after the database comes online.
Can You Bring a SUSPECT Database Online After Error 3456?
Yes when the cause was transient. Execute ALTER DATABASE with SET ONLINE and check sys.databases. A permanent failure needs a restore or an emergency mode repair.
Why Does a SQL Server 2019 VDI Restore Fail With Error 3456?
SQL Server 2019 introduced delayed log pinning. A page can then appear more than once in a full backup. A VDI client that expects one copy or sends pages in the wrong order breaks the restore. Microsoft lists trace flags 3471, 3475 and 3472 as the fix.
Do Old Backups Restore After You Set the Trace Flags?
Not always. Microsoft warns that backups taken with delayed log pinning through a striped VDI client can fail to restore. Restore them on a test server to confirm.
What Happens When Error 3456 Hits tempdb?
SQL Server shuts down the instance. Microsoft states this on its troubleshooting page for errors 3313, 3314, 3414 and 3456.
Does CONTINUE_AFTER_ERROR Fix Error 3456?
No. The option makes RESTORE continue after an error and salvage what it can. Microsoft calls it a last resort for a damaged backup.
Who, How and WhyAndrew Jackson, Technical Content Specialist, is the author of this guide. The causes, the online and restore steps, the emergency mode order and the tempdb note follow the Microsoft troubleshooting page for errors 3313, 3314, 3414 and 3456. The trace flags and the delayed log pinning cause follow the Microsoft page on striped VDI restores. The check queries follow the Microsoft page for error 824 and the Microsoft page on the suspect_pages table. The CONTINUE_AFTER_ERROR note follows the Microsoft page for RESTORE arguments. The troubleshooting page is archived for SQL Server 2008. Verify every step on your version. The T-SQL was checked for syntax against Microsoft documentation and was not executed on a live server. The guide exists because error 3456 looks like corruption and the Event Log can show a brief fault that you fix without a restore.
Key Takeaways
- SQL Server error 3456 means a log record expects the newest version of a page and SQL Server finds an older one.
- The Windows Event Log shows whether the cause was transient or permanent. Check it first.
- A transient cause needs ALTER DATABASE with SET ONLINE and a DBCC CHECKDB check.
- A striped VDI backup on SQL Server 2019 or later needs trace flags 3471, 3475 or 3472 and a new backup.
- Emergency mode repair is the last manual step and can cause data loss. Copy the MDF and LDF files first.
- SQL Recovery repairs the data from a copy when no backup restores.