A hard reset erases all the data of the PS4 console. Make sure you already backed up your console's data before doing a hard reset.