If the upgrade corrupts the database, you can restore from this backup after the new firmware is loaded (though note that major version jumps may require database conversion).