WARC archive recovery

WARC is record-oriented, so valid records around a damaged capture may remain recoverable with provenance intact.

WARC files store web responses, requests, metadata, revisit references, and other records with headers, declared content lengths, identifiers, dates, and optional block or payload digests. Gzip-compressed WARC commonly uses one gzip member per record.

Understand the symptom

Record boundaries depend on WARC headers and content length, while digests validate captured bytes.

WHY

What is happening

A bad content length can desynchronize sequential parsing. Independent gzip members, later WARC version lines, record IDs, and index offsets can help locate intact records, but revisit records may depend on earlier payloads.

What you may see

Symptoms that change the recovery path.

01

Parser stops at one record

A header, content length, or delimiter may be malformed.

02

Unexpected end

The final record payload or gzip member is incomplete.

03

Digest mismatch

Stored block or payload bytes differ from their digest.

04

Index seeks to wrong offset

The CDX entry and WARC stream may no longer align.

Protect the source

Actions that can make the situation worse.

01

Reserializing changes evidence

Original headers, spacing, offsets, and timestamps matter.

02

Revisit records can lack payload

They may reference content stored in another record.

03

Blind carving creates false boundaries

Candidate WARC lines inside payloads require validation.

Do this now

Safe steps before evaluation.

01

Freeze archives and indexes

Hash every WARC, index, and manifest.

02

Save crawl context

Keep logs, configuration, software version, and capture time.

03

Record failing offsets

Preserve parser messages and the last valid record ID.

04

Protect storage versions

Retain object history, multipart remnants, and source media.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Record inventory

NEPFOSYS maps version lines, headers, lengths, gzip members, IDs, and index offsets.

02

Selective recovery

Structurally complete records are extracted with original provenance fields.

03

Digest and relationship checks

Payloads, revisit references, dates, and indexes are validated where evidence permits.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Can records after a corrupt WARC entry survive?

Often, especially when later boundaries or independent gzip members remain intact.

Does a revisit record contain the page body?

Not always; it may refer to a payload stored by another record.

Should recovered records be put back into the original?

Keep recovery output separate so the source archive remains unchanged.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case