You should backup all the files and data you want to have. You can do that with your computer or SD card. After the reset, install them one at a time to monitor the reaction of the router. Save all the data and delete them from the accidental format.