Code backup before trip