Or you could have a sit down with your customer and talk about uninterruptable power supplies, which should give them enough time to shut down properly.
And also about doing regular backups.
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010