Next time try this:
COMPUTER MEMORY SAVERS - JCWhitney Replacement auto parts Parts
or this:
Vehicle Computer Memory Saver
or several other brands.
I have used this to change out my battery.
Got down to the point of disconnecting the battery, plug the thing in, and change out the battery. I even had time to run to the auto parts store. ALL functions are retained.
Later,