The best way to do it, is to have a separate partition for your /homedirectory.This way you don't have to worry about your settings and files.Of course it doesn't hurt to back up your /home directory.