I will format my computer and i dont want to loose my bats

Hi, I need to format my pc but i dont want to loose my brave rewards.
I have sync all my devices to uphold too, so i cant sync more devices, is there a fix to remove my session so i will be able to sync my new brave + uphold session in the new operating system in the future.
Best regards