Itunes backs up all photos and contacts when it syncs.
Once sync'd, simply hit restore and itunes will restore it back to 2.2.1... then insert all contacts, messages, photos etc back to the new software.
I personally would wait till wednesday tho (new software release) unless you are desperate to do so now