Skip to main content
MoodleLMSRAM
MoodleLMSRAM Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Partner Disclosure).
Hosting Tiers Hub (9)

Automated Course .mbz Archive & MariaDB Snapshot Strategy

Prevent moodledata/filedir and automated .mbz course backups from filling NVMe exam disks or stalling cron during teaching weeks.

Retention=2 .mbz · Offload snapshots · Dedicated 20% NVMe headroom

Automated Course .mbz Archive & MariaDB Snapshot Strategy
Telemetry verified 2026-10-25 by ExamLoad Systems.

How Unbounded .mbz Course Backups Silently Fill 160 GB NVMe

Leaving Moodle automated course backups enabled with keep = 5 on courses containing recorded lectures duplicates multi-gigabyte video blobs inside moodledata/filedir. Once disk usage hits 95%, MariaDB halts writes mid-exam.

Two-Tier Backup Hygiene: Lean .mbz + Nightly DB/Moodledata Sync

Cap automated .mbz retention to 1 or 2 versions, exclude unchanged courses (backup_auto_skip_modif_days), and run incremental MariaDB + moodledata/filedir snapshots offsite while keeping >= 25% free NVMe space.

Measured Thresholds & Configuration

Backup LayerFrequencyRetention WindowStorage Impact
MariaDB mysqldump / mariabackupDaily off-peak (02:00)7 - 14 days offsiteCompressed ~10-20% of DB size
Course .mbz (Automated)Weekly (skip unmodified)Keep 1 - 2 latestContained inside NVMe quota
moodledata/filedir syncDaily incremental rsyncMirror to cold storageZero local duplication
Retention=2 .mbz · Offload snapshots · Dedicated 20% NVMe headroom Launch ChemiCloud ($4.49/mo)UltaHost VDS ($41.50/mo)