Assuming the router is a networking router and not a mill (given your engraving, I have to hedge!), I would set the router, NAS, computers on battery backups/UPS units.
Natch, all your expensive electronics should be on a surge protector already, but a battery backup/UPS will give you some backup time to either a: save and close or b: coast through minor disruptions.