Skip to main content
LEARN / LINUX SYSTEMS ADMINISTRATION / PHASE 05

Keep it running.
Prove you can recover.

The final phase connects every part of Linux administration: monitoring, operational baselines, patching, backups, and restoration. Then you'll take ownership of a Northstar outage that requires careful investigation across storage, service identity and networking.

Phase 05 / Final curriculumMaintenance & recovery5-stage integrated capstoneFree · No account
PHASE 05 / OPERATIONS, MAINTENANCE & RECOVERY

Good administrators keep services reliable—and know what recovery actually proves.

Phases 01–04 introduced the command line, access controls, services, Linux networking and storage. The final phase turns those skills into a repeatable operational approach: baseline the system, change it safely, validate recoverability and communicate an accurate outcome.

By the end, you should be able toDefine meaningful service-health evidence, distinguish capacity and scheduling signals, plan controlled patching, assess backups and restore tests, calculate RPO/RTO comparisons, document recovery and complete an integrated multi-fault Linux incident with defensible verification.
01 / FROM REACTIVE FIXES TO RELIABLE OPERATIONS

Know the normal state before you call something abnormal.

A Linux server isn't healthy merely because it responds to SSH. A good operational baseline covers the business-facing service and the host beneath it: expected processes, request success, latency, filesystem occupancy, memory pressure, backups, recent changes and security boundaries.

In the Northstar scenario, an intranet outage follows a maintenance window. Several alarms fire together, but that doesn't mean they share a single root cause. Treat the alerts as independent hypotheses until you can demonstrate their relationships. Establish scope and ownership before changing the system.

USER EXPERIENCEDoes the workflow succeed?

An authorized client completes an expected request, with correct identity, data and response timing.

SERVICE STATEIs the right process active?

The unit, account, runtime, journal and application-specific health checks agree.

HOST RESOURCESIs capacity sustainable?

Data blocks, inodes, memory, I/O, and network errors are compared against known workload baselines.

RECOVERABILITYCan you restore required data?

The backup point is usable, isolated restore tests pass and the business objectives are understood.

Monitoring rule

Differentiate symptoms from signals. A 200 response from localhost is strong evidence for one local endpoint, but does not establish correct external routing, authorization, critical application data or a working restore process.

02 / BUILD A REPEATABLE HEALTH SNAPSHOT

Collect a small set of observations you can compare over time.

Operational troubleshooting starts with the current state, but its meaning comes from context: when the alert began, the last successful business request, normal demand, recent maintenance and the actual filesystem/route involved. A single CPU or memory reading without a workload baseline is rarely enough to justify a change.

systemctl --failed

Find systemd units currently in failed state. No failures does not prove application health.

journalctl -p warning -b --no-pager

Inspect warnings and higher-priority records in the current boot; correlate with the incident window.

df -hT; df -i

Inspect mounted filesystem block and inode capacity together. Check the actual mount source first.

free -h; uptime

Review memory availability, load averages and uptime, then compare with expected workloads.

ss -ltnp

Inspect listening TCP sockets; use a real client health check for service accessibility.

systemctl list-timers --all

Check timer state and past/next triggers; independently verify the jobs they activate.

findmnt -T /srv/northstar/data

Confirm which filesystem actually backs an important application path.

ip route get 10.24.20.25

Inspect the current selected return path to an authorized client.

For capacity alarms, check both df -h and df -i. If the data mount is missing, df -h /srv/northstar/data might report the root filesystem that contains the mountpoint rather than the intended data volume. Check findmnt first. For memory alerts, Linux file cache can be reclaimed; distinguish readily available memory from a simplistic “used memory” percentage.

When access is available, correlate historical trend data with observed errors. Rapid growth rates, frequent service restarts, queue depth, failed health checks and backup lag can matter more than absolute utilization.

03 / ALERT ON WHAT MATTERS

Monitoring should lead to a specific technician decision.

A useful alert explains what failed, which system or customer is affected, how urgent the impact is, and where an engineer can start investigating. Alerts for business workflow failure should be distinguished from infrastructure indicators such as load or disk occupancy. Otherwise a team can clear a low-level warning without restoring the actual service.

SERVICE / AVAILABILITYHealth or request failures

Alert on failed end-to-end checks, sustained 5xx rates or critical service dependency failures. Validate from the appropriate client path.

CAPACITY / FORECASTTime to exhaustion

Combine occupancy with growth rate and inode pressure. A 95% full filesystem and a rapidly growing 75% one may require different response times.

BACKUP / PROTECTIONMissing recent recovery point

Alert when a scheduled job fails, the backup age exceeds the policy or a restore verification becomes overdue.

CHANGE / CONFIGURATIONDrift after maintenance

Detect unexpected changes to services, firewall rules, mounts and package versions. Preserve the ability to compare and roll back.

Alert thresholds require context and an agreed owner. A service check may have healthy redundancy while another is single-instance; a failed backup deserves a different response when recovery points are still within the organization's RPO. Review false positives, alert fatigue and missing coverage as part of ongoing operations.

04 / PRESERVE EVIDENCE, DON'T DESTROY IT

Use journal and log retention safely during incidents.

journalctl -u northstar-web -b -n 30 --no-pager inspects recent records for a named service in the current boot. Add --since, --until or priority filtering to correlate a change window. In multihost incidents, ensure clock synchronization and timezone interpretation before comparing timestamps across machines.

journalctl --since "09:30" --until "10:30"Bound the incident window

Inspect records that correspond to the maintenance and reported outage, with the host's relevant date/time context.

journalctl -u northstar-web -b -n 30Follow a specific service

Separate application messages and systemd result codes from unrelated events.

journalctl --disk-usageInspect journal storage

Review journal footprint before choosing a supported retention policy.

logrotate -d /etc/logrotate.confPreview rotation behavior

On distributions using logrotate, dry-run a reviewed configuration. Avoid running rotation or deleting evidence during active investigations without a plan.

Linux logs may live in journald, plain files, centralized collectors or application-specific stores. Retention controls, access permissions and storage pressure matter. Don't delete or truncate production logs to free a filesystem merely because they are large. Preserve necessary incident evidence and confirm retention requirements first.

Official journalctl documentation ↗
05 / CONTROLLED MAINTENANCE

Patch safely, then prove that the application survived.

Security and stability updates matter, but a package transaction can replace libraries, alter service behavior, change dependencies or require a reboot. The safe process begins before the install command: confirm the system and repository origins, list affected versions, identify dependencies, select an authorized maintenance window and prepare rollback.

01
Document the change

Record the exact target host, service owner, impact, approved window, action, maintenance dependencies, user communication and rollback trigger.

02
Protect the data

Confirm what is backed up, which recovery point is eligible, where the backup is stored and when a representative restore last passed.

03
Execute deliberately

Check prerequisites and permissions before restarting applications, changing routes or resizing mounted filesystems. Stop if observed state differs from the plan.

04
Verify the user's workflow

Validate the local process, data path and an actual approved client request. Recheck monitoring, timers and backup jobs afterward.

05
Write an accurate handoff

Separate observed evidence, changes performed, results tested, unresolved risks and follow-up ownership. Do not report full recovery from one status command.

For Ubuntu/Debian, apt update refreshes package lists; apt list --upgradable previews available updates, and a reviewed upgrade transaction applies permitted changes. For supported RHEL-family systems, DNF provides equivalent workflows, with different dependency handling and system settings. Always check your distribution's release and repository policy.

After patching, compare the expected and actual package versions, service status, logs, listening sockets, client requests, backup status and reboot state where applicable. Rolling upgrades or maintenance by service group can preserve capacity when redundancy exists; a single-node workload may need a planned interruption.

Don't treat a snapshot as a complete recovery strategy.

Hypervisor or filesystem snapshots can aid rollback, but may not represent an application-consistent, independently restorable backup. Confirm supported restore procedures and test them.

06 / BACKUPS ARE A RECOVERY PROMISE

Know what is protected and what isn't.

A backup policy identifies critical data, system configuration, retention, frequency, encryption, repository access controls and recovery ownership. Different workloads need different consistency guarantees: copying a live database directory while writes continue may not produce a usable transactionally consistent restore, even if the copy command succeeds.

BACKUP DATACritical application state

Include relevant files, databases and configuration according to workload documentation, not just arbitrary folders.

RECOVERY POINTSFull, incremental and chains

Some backups depend on earlier bases or increments. Verify every required object and the actual restore path.

PROTECTION BOUNDARYOff-host & restricted

Use protected, authenticated, encrypted storage with limited deletion privileges and appropriate offline/immutable copies where available.

RESTORE PROCEDURESTest the entire sequence

Restore a representative point into an isolated target, then confirm files, permissions and application behavior—not just archive metadata.

A scheduled backup service reporting exit code 0 only proves that its job reported success under its own rules. It doesn't prove retention completeness, decryptability, application consistency or that a restore operator can meet the business deadline. Schedule periodic restore exercises and track any failures to conclusion.

07 / THE RESTORE TEST IS THE EVIDENCE

Restore to an isolated target. Compare more than filenames.

An isolated restore avoids overwriting production data during routine readiness checks. Before starting, identify the target recovery point, restore destination, necessary keys, expected filesystem and application requirements. Verify the backup tool's supported behavior in the actual environment; there isn't one universal Linux restore command.

01 / IDENTIFYSelect an approved recovery point

Confirm timestamp, chain dependencies, repository accessibility and business RPO requirements.

02 / ISOLATEUse a disposable recovery destination

Keep restores off the production mount; control credentials, secrets, network exposure and storage capacity.

03 / VERIFYInspect data and application consistency

Check reference checksums where appropriate, file ownership, database/application checks and sample business queries.

04 / DOCUMENTRecord evidence and gaps

Capture restore point age, elapsed time, missing records, failed steps and decisions requiring owner acceptance.

For our fictional Northstar app, a restore test checks site-index.json against an approved checksum and confirms selected application files are present. That is meaningful, but still does not prove every file or every disaster case is recoverable. Record the specific scope tested.

08 / TWO BUSINESS OBJECTIVES, TWO DIFFERENT CLOCKS

RPO measures data exposure. RTO measures recovery time.

Recovery Point Objective (RPO) is the maximum tolerable data-loss window for a defined workload, often expressed in minutes or hours. Recovery Time Objective (RTO) is the maximum acceptable time to restore a defined service after disruption. They describe business tolerance and targets; neither is automatically achieved because backups exist or a server booted.

Our Northstar incident begins at 10:00. The most recent modeled recoverable point is 09:30, a potential 30-minute data loss gap. Authorized client service is restored at 12:30, a 2-hour-30-minute interruption. Compare those measurements with the fictional business limits of one hour RPO and four hours RTO. Data loss is potential, not proof those 30 minutes contained changes.

INTERACTIVE / RECOVERY OBJECTIVES

How much data loss and downtime can the business tolerate?

Choose a hypothetical outcome and compare the potential recovery point gap and observed service interruption with business limits.

LAST RECOVERABLE POINT09:30
INCIDENT BEGINS10:00
SERVICE RESTORED12:30
RECOVERY POINT / potential gap00:30

Business RPO limit: 01:00 · Within target

RECOVERY TIME / observed outage02:30

Business RTO limit: 04:00 · Within target

A tested 09:30 recovery point, 10:00 incident, and 12:30 service restoration. Both measured comparisons fall inside these illustrative objectives.

RPO describes maximum tolerable data loss, not proof of actual lost records; an available checkpoint is only useful when it can be restored. RTO is measured against a defined business service, not merely successful server boot.

Business validation still matters

Even when an observed gap falls within target, an actual business may require more than a successful URL health response: application transactions, data freshness, authorization and owner acceptance can all be part of the service's recovery definition.

09 / GOOD CHANGES ARE AUDITABLE

Record the action, verification and unresolved risk.

During an incident, a technician should be able to explain why a particular action was necessary, which evidence supported it, who approved it, what it changed, and how success was measured. A ticket with only “Restarted service, fixed” loses the information needed to learn from a recurrence.

EXAMPLE / EVIDENCE-BASED INCIDENT NOTE
Impact

Intranet unavailable to approved client subnet following maintenance; service failed and required data mount absent.

Findings

Persistent mount UUID did not match the existing ext4 data volume. After mounting, service account lacked search permission on the data directory. Local app later passed, but host firewall denied approved clients.

Actions

Updated the scoped mount entry; restored authorized group traversal; restarted only northstar-web; applied the approved firewall policy exception. All steps modeled with owner approval and rollback planning.

Verification

Expected filesystem source and checksum, service state, localhost health, approved remote client response and isolated restore check.

Outstanding

Maintain monitoring, validate wider client access and repeat restore tests under the operational policy.

Use change records to link the incident timeline, affected asset, approvals, rollback procedure and the post-change evidence. If a condition remains unresolved, state it explicitly; escalation is not a failed investigation when it protects an intentional operational control.

10 / INTEGRATED NORTHSTAR CAPSTONE

Bring the full learning path into one recovery.

Northstar's intranet service goes down after maintenance. The first alert looks like one outage, but there are multiple dependent faults. You'll gather evidence before every decision, work through authorized simulated changes, and prove which aspect of the service is actually restored. The final checkpoint goes beyond availability: can you demonstrate a recoverable backup point and compare it to business objectives?

Five connected checkpoints

Triage → data mount → service identity and startup → firewall/client path → restore readiness and handoff.

How progress works

Each checkpoint unlocks only after all four observations are reviewed, the supported decision is selected, modeled actions are recorded and both independent verification checks are read.

INTEGRATED CAPSTONE / NORTHSTAR INCIDENT INC-2408

The Northstar Recovery

One incident, five connected operational checkpoints. Evidence and completed decisions unlock the next stage. The service is not considered recovered until both its local health and approved remote client path are verified.

0/5CHECKPOINTS REVIEWED
CHECKPOINT 01 / INCIDENT RESPONSE / TRIAGE

Contain the outage before changing systems

At 10:00, the Northstar intranet is unavailable to users. Multiple alarms appear after overnight maintenance. You have an approved incident response runbook, but no general authorization to reboot, restore or open firewall rules.

01 / Build a defensible picture0/4 observations

The simulated outputs are read-only; no command contacts a host. Select each source to reveal what the technician observed.

Optional, session-only notes. They aren't uploaded or saved after this page closes.
02 / Choose the next safe actionReview all observations
What does the evidence support?

Inspect all four sources to unlock this stage's decision.

This simulation has no clock, real environment access or persistent progress. Completion is based on evidence, approved choices and two independent modeled checks at every checkpoint.

11 / KNOWLEDGE CHECK

Can you defend your operational decisions?

The final nine questions revisit diagnostics, service recovery, approved maintenance, backups, RPO/RTO and protected operational controls. Use the explanations to identify weak spots rather than relying on command memorization.

REVIEW / MAINTENANCE & RECOVERY DECISIONS0/9 answered · 0 correct
01 A Linux disk-space alert fires, but df -i shows 100% inode use while df -h shows free blocks. Which condition is most plausible?
02 Why is a backup job exit status of 0 insufficient to establish recovery readiness?
03 After changing /etc/fstab for a critical volume, which action is safest?
04 When an alert remains after an app service becomes active locally, what's missing?
05 A patch requires a reboot on a production Linux server. What should a maintenance plan include?
06 What does Recovery Point Objective (RPO) describe?
07 How is RTO different from RPO?
08 Which command is appropriate to inspect recent service logs without deleting them?
09 When a required dependency is intentionally masked under a maintenance hold, what's the appropriate default?
12 / COURSE COMPLETION / REFLECTION

From command-line confidence to controlled system recovery.

The Linux Systems Administration curriculum is designed as one progression. The first phase teaches evidence-gathering and safe shell habits; the second explains identity and permission boundaries; the third focuses on services and software; the fourth connects Linux networking and storage; and this final phase tests how those layers interact during a real operational workflow.

PHASE 01 / ORIENTNavigate and preserve evidence

Move through Linux, read files and logs, and use commands deliberately.

PHASE 02 / PROTECTRespect the access boundary

Inspect group membership, directory traversal, ACLs and mandatory security policy.

PHASE 03 / OPERATERecover services through evidence

Read systemd, journals, dependencies and software changes before restarting.

PHASE 04 / CONNECTProve paths and filesystems

Investigate resolver, route, firewall, mount and capacity behavior on Linux hosts.

PHASE 05 / RECOVERValidate recovery and communicate

Compare business objectives, restore data safely and document every significant claim.

Carry these skills into a real Linux VM

Repeat the read-only tools on your own supported Linux installation, investigate a disposable test service and rehearse a recovery using test data. Avoid trying privileged or potentially destructive commands on production or an unfamiliar machine.

YOUR NEXT STEPS / FIVE-PHASE JOURNEY

Linux Systems Administration

You now have a connected five-phase curriculum to revisit. Use the full roadmap to revisit any phase, review optional completion marks and resume where you left off. Progress is saved in your browser only; you never need an account.

Review all five phases →
PRACTICE & CAPSTONE / PHASE 05

Review the operational lessons before the capstone. The final investigation combines the Linux skills from Phases 01–04 and requires a verified outcome at each checkpoint.

CONTINUE YOUR LEARNING PATH · LINUX SYSTEMS ADMINISTRATION

You've reached the end of this learning path

If you've completed this capstone, mark it below. Your progress will appear on the full Learning Path page when you return.

Your completion marks are saved in this browser only.