⣿ ZOTHOS × 1NC0GN30 30 DAYS OF LINUX FUNDAMENTALS · TUI (./control-panel) + WEB GUI · 90 MISSIONS
← Back to 30-Day Curriculum

WEEK 4 · ADVANCED OPS · TUI: ./control-panel --day 25

Day 25: Backup Architecture, Rsync Mirrors & Recovery

Design automated incremental backups with rsync and tar, verify SHA-256 checksums, and test restores.

XP 0
Streak 0
Command Mastery 0%
Study Music

YouTube Study Radio

Pick a track or paste any YouTube URL.

🍳 Breakfast (Syntax) Session

Type commands, build streaks, and then review the source guide.

Live Terminal Drill

Re-type the command exactly to clear each challenge.

target$ loading...

0 / 12 mastered

    Command Board

    Tap a command when you practiced it in your own terminal.

    Command Intel

    Meaning

    Command explanation will appear here.

    Sample Output

    Output preview will appear here.

    Useful Fun Fact

    Fun facts about the active command will appear here.

    Last Run Output

    Run a command to see result feedback.

    Knowledge Boost

    Faster learning with topic cues, mini-missions, and external docs.

    Key Topics

    ⚡ 60-Second Mental Model (Student Digest)🌿 Breakfast: Introduction to Cron🔢 Objective🔧 What is Cron?✅ Setting Up Cron Jobs📅 Cron Time Fields (Five-Part Format)

    Mini Missions

    • Mission 1: Run tar -czvf and explain the output in one sentence.
    • Mission 2: Run sha256sum and explain the output in one sentence.
    • Mission 3: Run crontab and explain the output in one sentence.
    • Mission 4: Run scp and explain the output in one sentence.

    📖 Digestible Study Guide & Visual Architecture

    Source: day-25-breakfast-study-guide.md · Synced with ./control-panel --day 25

    Day 25 · Breakfast — Backup Architecture, Rsync Mirrors, Cron & Disaster Recovery



    ZothOS × 1nc0gn30 Linux Dojo · Phase: Week 4 (Advanced Ops) · Session: Breakfast (Morning Foundation & Core Command Syntax)

    Core Commands: rsync -avz, tar -czvf, sha256sum, crontab, dd, scp


    ⚡ 60-Second Mental Model (Student Digest)



    ╔══════════════════════════════════════════════════════════════════════════════╗
    ║  ZOTHOS × 1NC0GN30 // PRODUCTION TELEMETRY, SYSTEMD & RECOVERY MATRIX        ║
    ╠══════════════════════════════════════════════════════════════════════════════╣
    ║                                                                              ║
    ║   ┌──────────────┐   ┌──────────────┐   ┌──────────────┐   ┌──────────────┐  ║
    ║   │ CPU & SCHED  │   │ MEMORY / VM  │   │ DISK & VFS   │   │ NET SOCKETS  │  ║
    ║   │ top / mpstat │   │ free / vmstat│   │ iostat / df  │   │ ss -tulpen   │  ║
    ║   └──────┬───────┘   └──────┬───────┘   └──────┬───────┘   └──────┬───────┘  ║
    ║          └──────────────────┴─────────┬────────┴──────────────────┘          ║
    ║                                       ▼                                      ║
    ║                  [ Automated Remediation: systemd + cron + rsync ]           ║
    ╚══════════════════════════════════════════════════════════════════════════════╝


    Learning PillarHow to Practice This Session
    1. Native TUI (./control-panel)Run ./control-panel from repo root → Select Week 4 → Day 25 → Breakfast to drill interactive C lessons & quizzes.
    2. Web Workstation (astro-ui)Open /day/25 → Select Breakfast tab → Type each target command in the live Mission Terminal to earn XP & streak mastery.
    3. Safe Local SandboxRun mkdir -p /tmp/linux-dojo-day-25 && cd /tmp/linux-dojo-day-25 to test every flag below without touching production files.




    🍞 Day 25: Cron Jobs and Task Scheduling



    🌿 Breakfast: Introduction to Cron



    🔢 Objective



    Understand what cron is, how it works, and how to set up basic scheduled jobs for automation on a Linux system.




    🔧 What is Cron?



    Cron is a time-based job scheduler in Unix-like operating systems. It allows you to automate repetitive tasks like backups, system updates, or script executions.

    Key features:

    * Automates tasks without manual intervention
    * Runs in the background
    * Uses crontab to manage job schedules




    ✅ Setting Up Cron Jobs



    #### View your crontab:

    crontab -l


    #### Edit your crontab:

    crontab -e


    #### Example cron job (runs a script every day at 2 AM):

    0 2 * * * /home/user/backup.sh





    📅 Cron Time Fields (Five-Part Format)



    * * * * *
    | | | | |
    | | | | +----- Day of the week (0 - 7) [0 and 7 are Sunday]
    | | | +------- Month (1 - 12)
    | | +--------- Day of the month (1 - 31)
    | +----------- Hour (0 - 23)
    +------------- Minute (0 - 59)





    🧰 Common Cron Use Cases



    * Schedule backups
    * Rotate and delete old logs
    * Sync data between systems
    * Send reminders or alerts via email




    🤔 Review Questions



    1. What does crontab -e do?
    2. How would you schedule a job to run every Monday at midnight?
    3. What's the difference between crontab -l and crontab -r?




    📖 Resources



    * Crontab.guru – Cron expression helper
    * Linux Man Page: crontab(5)
    * Linuxize - Cron Jobs