You could just copy the .minecraft folder under user/AppData/Roaming, or the world folders inside it, to somewhere else, then the game won't interfere with the folder you copy it to and you can copy the contents back if it breaks.
Server IPs are stored in the server.dat file inside .minecraft, so if it breaks you could just copy it back if you made a backup of your .minecraft folder.