Pi Field Notes

Hands-on Raspberry Pi and small-homelab recovery guides

Guide

Build a UPS and shutdown script for unclean power

Build a UPS and shutdown script for unclean power
Build a UPS and shutdown script for unclean power

Measure how long your Pi and disk survive on the UPS you actually own. Trigger a clean shutdown with enough margin for filesystem sync. Test by pulling wall power once during a maintenance window.

Log the event

A shutdown without a note looks like a crash later. Write a line to a file on another machine or a USB stick if network is down. Include battery percentage if the UPS exposes it.

Build a UPS and shutdown script for unclean power — in practice
Build a UPS and shutdown script for unclean power — in practice

Recheck after storage changes

Adding disks changes drain time. Repeat the pull-power test after major hardware changes.

Build a UPS and shutdown script for unclean power — checklist view
Build a UPS and shutdown script for unclean power — checklist view

Related guides