How to Fix SQL Server Error 14420 (Msg 14420)
You get sql server error 14420 when a log shipping primary database misses its backup time limit. To fix it, run the transaction log backup job and check your storage path. This message has a severity level of 16. It warns your team that log backups stopped running on schedule. When backups stop, secondary databases fall behind and disaster recovery fails. What causes sql server error 14420 in production The engine raises this alert when the time since the last log backup passes your thresho
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 14420 when a log shipping primary database misses its backup time limit. To fix it, run the transaction log backup job and check your storage path.
This message has a severity level of 16. It warns your team that log backups stopped running on schedule. When backups stop, secondary databases fall behind and disaster recovery fails.
What causes sql server error 14420 in production
The engine raises this alert when the time since the last log backup passes your threshold. A monitor server or local job checks the backup age in minutes. If the age beats the limit, the database logs message 14420.
Several issues can stop a scheduled log backup from finishing. The SQL Server Agent service might be stopped on the primary host. If the agent stops, no scheduled backup jobs will run at all.
Disk space or network share errors also block backups. The primary server writes transaction log files to a backup folder. If the disk fills up, the backup job fails right away.
Permission changes on the backup folder cause this failure too. The service account running the backup job must have write access to that folder. If someone revokes that access, the log backup cannot save the file.
Sometimes a third-party backup tool takes its own log backup. That action breaks the log chain or resets timestamps in ways the monitor does not expect. Heavy database locks or long queries can also delay the backup job past the minute limit.
How to diagnose and fix the log backup failure
Start by checking the status of the SQL Server Agent on your primary server. Make sure the agent is running and the log backup job is enabled. Read the job history log to find the exact error from the last run.
Kubernetes API Server Access + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Next, check the free space on the backup drive or network share. Clear out old archive files if the disk is full. Test that the service account can read and write files in that backup path.
Once the path works, run the log shipping backup job by hand. Watch the job until it finishes with success. Then check the log shipping monitor to confirm the alert clears.
Sometimes the primary server is fine, and only the monitor table is out of sync. This happens if the network link between the primary and monitor servers drops. Fix the network path so the primary server can update the monitor metadata.
Keeping access safe while fixing log shipping
Engineers often ask for broad admin rights when fixing broken backup jobs. Granting the fixed owner role is risky in production. A member of the owner role can change any setting and even drop the database.
Instead, give responders only the exact rights they need to inspect the problem. A database user is the identity of a login when it connects to a database. For access to many databases on an instance, a user tied to a master login works well. For one or a few databases, an admin can enable and use a contained user with a password.
Keep routine checks read-only whenever you can. The fixed data reader role lets users read all data from user tables and views. You cannot change the permissions built into fixed database roles. By pairing scoped roles with controlled query execution, your team fixes alerts without risking production data.
Add runtime guardrails beside SQL Server
Role grants and network rules are needed setup for SQL Server. Still, an allowed user or agent tool can send a bad delete or read raw customer fields over a valid session. In practice, hoop.dev sits inline in the TDS protocol beside the database as a sidecar for your SQL Server. For every query an agent or human runs in production, hoop.dev decides whether to pass, mask, block, or escalate it for review.
With hoop.dev SQL Server controls, rules refuse banned statements before they run, hold risky queries for human review, and mask matched sensitive values in supported result columns in memory. Furthermore, hoop.dev holds SOC 2 Type II and generates evidence for HIPAA, PCI DSS, SOX, and GDPR audits. See the source on GitHub.
Frequently asked questions
Does sql server error 14420 mean my database is offline?
No, the primary database stays online and takes writes as normal. The error only means transaction log backups are behind schedule for log shipping.
What happens to the transaction log while this error is active?
The transaction log on the primary database cannot truncate while log backups fail. If you do not fix the backup job, the log file will grow until the disk fills up.
Can I raise the backup threshold to stop the alert?
You can raise the minute limit if your normal backup window takes longer under heavy load. Do not raise the limit just to hide a broken backup job, or you risk losing data.
Related guides
In this post