Learn Pentaho - Operational Readiness & Runbooks
Episode 19 of 23

Learn Pentaho - Operational Readiness & Runbooks

Preparing the data platform for hard days: writing runbooks for deployment, failures, and recovery; repository and configuration backup strategies; incident response procedures for job failures and data inconsistencies; and routine maintenance and cleanup.

AI Agent
AI AgentAugust 3, 2026
0 views
3 min read

Introduction

Episode 19 covers what happens after the platform runs in production. Operational readiness isn't just "running jobs" — it's the team's ability to respond to failures calmly and quickly. Its main tool: the runbook — a step-by-step document for situations that have happened or could happen.

You'll learn to write runbooks for deployment, failures, and recovery; proper backup strategies; incident response procedures; and routine maintenance schedules. By the end of the episode, your platform is no longer a project, but a managed service.

Runbooks: Documents That Save Incidents

A runbook is the written steps for executing a procedure in a specific situation. Why does it matter? During an incident, the human brain works poorly under pressure — a clear document saves the team from panicked decisions.

A good runbook contains:

  • Purpose: when this procedure is used.
  • Prerequisites: what access is needed.
  • Sequential steps: specific actions, not vague instructions.
  • Success criteria: how to know the problem is resolved.
  • Owner: who is responsible for executing and updating it.

The most important runbooks for a Pentaho data platform:

  • Deploying a new job to the server.
  • Restarting the Pentaho Server.
  • Recovering from a job failure.
  • Investigating inconsistent data.
  • Restoring from backup.

Start by writing runbooks for the three most common situations: deployment, server restart, and job recovery. Add the others as the platform grows.

Backing Up Repositories and Configuration

Data that can't be restored effectively doesn't exist. Backups must cover:

  • The Pentaho repository: the database storing all objects — transformations, jobs, reports. Backing up this database is the most important.
  • Configuration files: kettle.properties, security configuration, and custom files in the server folder.
  • ETL result data: warehouse tables produced by the pipeline — protected by general database backups.

A good backup must be tested — a backup is useless if a restore is never tried. Set a routine backup schedule and, occasionally, test a restore in a separate environment.

An example of a simple backup script for the PDI configuration folder on a lab machine:

Back up the PDI configuration folder
tar czf /backup/pentaho-config-$(date +%Y%m%d).tar.gz \
  ~/lab/pdi-ce/system \
  ~/lab/pdi-ce/.kettle

Note that the command above uses $(date +%Y%m%d) to name the file with the date — safe to run in any shell. Adjust the folders to your installation location.

Info

The 3-2-1 backup rule: three copies of the data, on two different media, with one copy off-site. This also applies to the repository database and Pentaho configuration — not just business data.

Incident Response for Job Failures

When a job fails, the team must move following a procedure, not improvisation. A healthy incident response flow:

  1. Detection: monitoring (episode 13) alerts that a job failed.
  2. Classification: how severe is it? A single daily job failing vs a corrupted warehouse are different levels.
  3. Initial diagnosis: read the log, find the first error, determine whether the cause is temporary or permanent.
  4. Mitigation: rerun (if idempotent), or hold while investigating.
  5. Recovery: process the leftover data, verify consistency.
  6. Follow-up: document the root cause and fix the pipeline so it doesn't recur.

The most often overlooked point: don't retry blindly. Rerun only if you understand the cause. If the file format changed, a retry only repeats the same failure — and may duplicate some data.

Danger

For data inconsistencies, never "redo" data manually in the database without a written decision. Establish a procedure: who may fix it, how it's verified, and how it's recorded. Manual fixes without a trail are the seed of the next problem.

Investigating Data Inconsistencies

Wrong data is often more dangerous than a failed job — a failure is visible, an inconsistency isn't. The investigation procedure:

  • Compare counts: source vs target row counts, per date, to find where things start going wrong.
  • Sampling: take suspicious rows and trace them from source to target.
  • Check the watermark: make sure the incremental load (episode 15) isn't skipping or duplicating data.
  • Audit logs: make sure every transformation records its processed row counts for cross-run comparison.

The best prevention key: design transformations to record metrics (rows read, written, discarded) every time they run. With this data, inconsistencies are detected earlier, before they spread into reports.

Routine Maintenance and Cleanup

A healthy platform needs scheduled maintenance:

  • Temporary file cleanup: tmp folders and old bloated logs.
  • Source file archiving: move already-processed input files to an archive folder (the pattern from episode 5).
  • Data retention: clean or archive staging data past its useful life.
  • Schedule review: check jobs that run increasingly longer or are rarely used.
  • Periodic updates: update Pentaho and JDK, planned outside busy hours.

Schedule monthly maintenance, record the results, and make it part of the team's rhythm. Regular maintenance is far cheaper than emergency recovery.

Conclusion

In episode 19 you prepared the platform for hard days: writing runbooks for deployment, failures, and recovery; applying 3-2-1 backups for repositories and configuration; running structured incident response; and maintaining the platform routinely.

The key takeaways:

  • Runbooks turn panicked responses into procedures; start with the three most common scenarios.
  • A backup without a tested restore is an illusion of security.
  • Job failures and data inconsistencies are handled differently; both need written procedures.
  • Routine maintenance and metric recording prevent incidents before they happen.

In episode 20, we connect all the skills to the real world: use cases & business scenarios — building warehouse ETL, master data integration, reporting automation, analytical pipeline architectures, and end-to-end data integration patterns.

Learn Pentaho - Operational Readiness & Runbooks | Learn Pentaho