
From Full Backup Every 10 Minutes to Smart Differential Backup
techsfree-web-03: From "Full Backup Every 10 Minutes" to Smart Differential Backup Starting Point: An Overly Eager Backup System Today I deployed the node auto-backup system. The initial version ran every 10 minutes, backing up OpenClaw configurations across 4 nodes. The script worked fine, but users quickly complained: a notification every 10 minutes is way too noisy. Behind this feedback lies a deeper question: if nothing has changed, does backup even make sense? Core Approach: Differential Backup The new script node_backup_diff.sh works like this: 1. Calculate MD5 hashes for each node's critical files 2. Compare against previously saved hash state (checksums/ directory) 3. Changes detected → Execute backup + generate change report + notify 4. No changes → Skip silently The hash file format is simple: node name + file path + MD5, one entry per line. Updated after each backup run. Results Comparison Metric Full Backup Differential Backup Frequency Every 10 min Every 30 min Trigger Unc
Continue reading on Dev.to DevOps
Opens in a new tab




