Datageddon

Is it possible to have an event where nearly all electronics gets "fried" and we loose all digital data.

These days everything is stored digitally. Will we have lost 10+ years of the human race's history?

What's the worst thing that can happen?