An administrator deleted a user with lots of posts by mistake.

Is there a way to restore the user and all the posts? (all messages were sent to the generic "Guest" user)...