Comment on How to auto remount external HDD after power loss to laptop server?
Landless2029@lemmy.world 4 weeks ago100% correct. You need a wall adapter. As many have said we all recommend a UPS (Uninterruptible Power Supply) or battery backup for your stack.
You can get the cheapest one if it’s just short term outage or brown outs (grid low volting).
Based on your wattage the capacity of the UPS will dictate how long it’ll last during an outage.