# Luna (Backup Server)

# Luna (Backup Server)

Luna is the secondary compute and backup node for the Flora Family homelab. It serves as the primary replication target for Terra.

## 🖥️ System Status
*   **Current Status:** **ONLINE** (Recovered 2026-02-25)
*   **Role:** ZFS Replication Target, Thermal Monitoring
*   **Observability:** Fully integrated into the Vector/ClickHouse logging pipeline (Feb 2026).

## 💾 Storage Architecture (ZFS)
*   **Pool Configuration:** Striped Raid-Z1 vdevs
*   **Capacity:** 
    *   4x 4TB Drives
    *   4x 3TB Drives

## 🌡️ Monitoring
*   **Integrated Script:** `/usr/local/bin/cpu_temp.sh` (Runs via CRON every 5 minutes)
*   **Reporting:** Logs to ClickHouse via Vector.
*   **Average Temps:** ~46°C - 48°C (Idle/Light load)

## ⚙️ Software & Management
*   **Management:** Syncoid target for Terra's datasets.
*   **Logging:** Migrated from Fluent-Bit to Vector (Feb 25, 2026). 
*   **Sanoid:** Configured with `--quiet` to reduce log spam from snapshot cleanup.
*   **Timezone:** Correctly set to `America/New_York (EST)`. System clock and Vector timestamps are aligned.

## 🛠️ Recovery Notes (Feb 2026)
*   Luna was brought back online after an outage. 
*   Vector configuration synchronized via Ansible with Terra.
*   Verified successful `syncoid` backup completions from Terra at 07:44 AM EST (Feb 25).