This document shows the steps to export and then import again a private GPG key. I find this useful when I need to reinstall my OS. If the GPG key has not been compromised (e.g., theft), then this is a safe way of moving keys around.
First, obtain the ID of the private key.
gpg --list-secret-keys --keyid-format LONG