How to Verify a Backup Archive Checksum Before Restoring
A checksum can show whether a received archive matches the bytes originally recorded. It does not establish that the backup covered every needed system or that the files can be restored successfully.
Verify the delivered archive
- Obtain the expected SHA-256 from a trusted record made when the backup was created. Store it separately from the copy being checked and confirm the file name and backup date.
- Compute the received digest with sha256sum backup.zip on a system with GNU Coreutils or Get-FileHash backup.zip -Algorithm SHA256 in PowerShell. Compare the whole hexadecimal string.
- Investigate any mismatch before extracting. Check for an incomplete transfer, a similarly named backup or later repackaging. When it matches, rehearse a scoped restore to test the contents.
Keep the original archive and checksum immutable where practical. A hash stored only beside the file on storage you do not trust can be replaced along with the archive.
You can also calculate and compare a file checksum in your browser. Paste the trusted digest before selecting your backup file.
Related guides
- How to Test a Website Backup Before You Need It
- How to Choose a Plesk Backup Scope
- How to Measure Website Recovery Time in a Rehearsal
- Backups and Website Migration category
Official references
Ferkesh Hosting. Last reviewed .
Obrigado pela sua opinião!