SKYHOUSE.dev Journal

Maintaining the Cloud Fortress

Backups & Storage Layout (Discovery)

Why: Documenting the pre-existing backup pipeline and disk layout — captured during the 2026-05 audit so the cheat sheet has a citation target and the known gaps are on record.

The server hosts a large media library spread across six spinning hard drives plus the root SSD. Three nightly backup scripts mirror the primary Plex media directories to dedicated backup drives. This entry records the layout, the scripts, and the gaps the audit surfaced — none of which were changed during this session.

1. Eight-drive layout

All drives are mounted via /etc/fstab by UUID with nofail,x-gvfs-show options. The array as of the audit:

2. Backup scripts

Three scripts run nightly from the plex user crontab. All send a Telegram notification on any non-zero exit via /usr/local/bin/telegram_notify.sh.

3. robust_rsync.sh

/home/plex/robust_rsync.sh is a retry-on-stall rsync wrapper owned by root. It is invoked by the backup scripts via sudo, which is permitted by /etc/sudoers.d/plex-backup (plex ALL=(ALL) NOPASSWD: /home/plex/robust_rsync.sh). The wrapper adds stall detection and automatic retry logic on top of vanilla rsync, making it more resilient to temporary drive hiccups than a plain rsync call.

4. Known gaps

Two gaps were noted during the audit and are recorded here for follow-up:

The backup story is solid for hardware-failure scenarios within the array, but has zero off-site redundancy — worth resolving before the next disk swap forces any attention on this hardware.

← Back to Admin Hub