Backing up and restoring GPG keys
If you use GPG to occasionally encrypt and/or sign your email, or to encrypt your files before placing them on the cloud, you will understand how important it is to have a backup of your GPG keys. Similarly important will be to know how to restore them as well.
To back your private, and public keys, as well as your trust database, you will do1:
gpg --armor --export-secret-keys > ~/Des ... โ [Read more](https://collantes.us/2015/10/13/backing-up-and-restoring-gpg-keys/)