Replacing the xml will restore the majority of your settings, such things as offsets, tooltables, brains and custom macros are not contained in the xml though.
If you can not get the settings restored from a backup xml then it sounds like you may be replacing the xml and starting a different named profile from the xml's name.
Hood