The Backup Succeeded. Does That Mean You Can Restore the Database?

2026-10-20 路 2 min

A green backup job status answers one question:

Did the backup command complete successfully?

It does not answer:

Can we restore the database within the required time and to the required recovery point?

Backup with CHECKSUM

1
2
3
4
5
6
BACKUP DATABASE [TwojaBaza]
TO DISK = N'X:\Backup\TwojaBaza_FULL.bak'
WITH
    COMPRESSION,
    CHECKSUM,
    STATS = 10;

RESTORE VERIFYONLY

1
2
3
RESTORE VERIFYONLY
FROM DISK = N'X:\Backup\TwojaBaza_FULL.bak'
WITH CHECKSUM;

This command is useful, but it does not prove that the backup chain is complete, the TDE certificate is available, the restore meets the time target, or the application works.

A Full Restore Test

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
RESTORE DATABASE [TwojaBaza_RestoreTest]
FROM DISK = N'X:\Backup\TwojaBaza_FULL.bak'
WITH
    MOVE N'TwojaBaza_Data'
        TO N'Y:\RestoreTest\TwojaBaza_RestoreTest.mdf',
    MOVE N'TwojaBaza_Log'
        TO N'Z:\RestoreTest\TwojaBaza_RestoreTest.ldf',
    RECOVERY,
    CHECKSUM,
    STATS = 10;

After the restore:

1
2
DBCC CHECKDB (N'TwojaBaza_RestoreTest')
WITH NO_INFOMSGS;

TDE and Certificates

A backup of an encrypted database can be valid yet impossible to restore without the certificate and private key.

A disaster recovery plan should include export, secure storage, and an import test.

RPO and RTO

RPO defines the maximum acceptable data loss.

RTO defines the maximum acceptable time to restore service.

A backup can be technically valid while the overall strategy still fails to meet requirements.

What Should You Measure During the Test?

  • time needed to locate the files,
  • file copy time,
  • restore time,
  • recovery time,
  • DBCC CHECKDB execution time,
  • application testing time,
  • total procedure duration.

Summary

A backup is not proof of readiness.

Only a tested restore demonstrates recovery readiness.

A level-headed DBA regularly proves that data can be restored within the required RPO and RTO.


Tags: SQLServer , Backup , Restore , DisasterRecovery , DBA

Marcin Pytlik
LinkedIn 路 GitHub

Marcin Pytlik

LinkedIn 路 GitHub