IBM Db2 recovery

Db2 restore pending and rollforward pending are recovery states with different missing prerequisites.

A redirected restore can leave tablespaces in restore pending until containers are defined and the restore completes. A recoverable database or restored tablespace enters rollforward pending until the required archived logs are applied to a consistent endpoint.

Understand the symptom

The selected tablespace set and log sequence define what can become consistent together.

WHY

What is happening

Db2 can roll a database or tablespaces forward to end of logs or a point in time. After a tablespace restore, rollforward is required. Changing the tablespace list during an in-progress rollforward can put omitted spaces back into restore pending, while cancelling recovery can require a new restore.

What you may see

Symptoms that change the recovery path.

01

SQL1117N on connection

The database remains in rollforward pending state.

02

Tablespace state is 0x80

The tablespace needs archived log application before use.

03

Tablespace state is 0x100

A restore is incomplete or container definition is unresolved.

04

Rollforward requests another log

The next archive file in the recovery chain is missing or inaccessible.

Protect the source

Actions that can make the situation worse.

01

Cancelling changes the recovery state

The database or tablespaces can be placed into restore pending.

02

Inconsistent tablespace lists break set recovery

Partitioned-table pieces may need the same point-in-time endpoint.

03

Creating new containers can overwrite evidence

Original paths and extents may still contain recoverable pages.

Do this now

Safe steps before evaluation.

01

Stop recovery commands

Pause restore, rollforward, cancel, and container changes.

02

Query and save status

Record LIST TABLESPACES or MON_GET_TABLESPACE plus rollforward query status on every partition.

03

Collect the full chain

Preserve database and tablespace backups, active logs, archived logs, history, and keys.

04

Map storage containers

Record paths, sizes, filesystems, mount points, failures, and any redirected-restore commands.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Chain and state analysis

NEPFOSYS maps backups, logs, tablespaces, partitions, and the intended recovery endpoint.

02

Protected replay

Restore and rollforward are tested on copied storage with command-by-command logging.

03

Logical validation

Tables, indexes, LOBs, constraints, and application totals are checked before return.

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.

Why is a restored tablespace rollforward pending?

Db2 requires logs after a recoverable restore so pages can reach a consistent point.

What does rollforward query status provide?

It identifies processed logs, the next required archive, and the last committed timestamp.

Can I omit one tablespace later?

Changing the original recovery set can put omitted spaces into restore pending and may require restoring them again.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case