Do you mean using the usb_import script?
@TrystanLea posted this. Backup module usb-import.sh script (beta) - #9 by TrystanLea about recovering SD Cards.
At a minimum I recommend a filtered/spike protected plug/extension lead for RPis. They are a little prone to this it seems.