When you get the fault you may only have a Backup for the previous version.
Therefore, install the previous firmware version.
Restore the data
Run upgrade again.
You can restore direct onto Version 4, although this will have to be done manually, as some components will just make the restore freeze.