CLASSROOM // HOMELAB ACADEMY M14 LESSON
M14 LESSONlesson

Homelab Academy / Modules

Teach it back 05-database-backup-and-restore: Lesson

Orient, prior check, guided practice, required Feynman, reflect.

Show commands for:

Overview

Module: Segmentation, Backup & Power
Activity type: Lesson (Orient → Recall → Learn → Explain → Reflect)
Learning objective: Distinguish a file copy from a transactionally consistent database backup.
Bloom level: Understand / Apply
Last reviewed: 2025-03-08

Objective

Learning objective

Distinguish a file copy from a transactionally consistent database backup.

Why it matters

Why this matters

Teach learners how to create, validate, restore, and document a transactionally consistent database backup. The lab uses SQLite and Python's standard library so that backup principles can be practiced without requiring a separate database server. The same operational concepts—consistency, retention, integrity checking, isolated restoration, and recovery verification—apply to larger database platforms.

Learn

Learn

Complete the module reading first:

Teach it back

Feynman teach-back: required

Explain the exercise to another learner without using the phrase "it just copies the file." Describe why the database backup API is used, what recovery point the backup represents, why a digest is calculated, why the restore is placed in a separate directory, and why both integrity checks and application-level assertions are necessary. A strong explanation should note that the restored database intentionally lacks app01 and retains router01 as active because those changes happened after the backup. It should also explain why a successful backup job does not prove that production RPO and RTO requirements can be met.

Answers save in this browser (localStorage). Completing all five fields is part of the mastery unlock.

Reflect

Reflection

  1. What did I learn?
  2. What did I struggle with?
  3. How does this connect to earlier classes?
Learn

Topic path (do in order)

Step Activity Purpose
1 Reading Learn
2 This lesson (Feynman) Explain
3 Lab Practice
4 Homework Apply
5 Quiz Test
← ReadingLab →