Unless protection fuse bits have been set, you can use avrdude to read the ATmega memory and save it in a hex file on your workstation.
Then, later, you can use avrdude to upload that hex file back to the ATmega.
The avrdude program is part of the Arduino distribution. You can use it (by itself) from a command line.
Regards,
Dave