Backup keychains from hard drive During the installation of Yosemite, I got locked out due to my hard drive having some errors.  Thankfully I had a Windows partition and am able to access my files.

However, how do I backup my Keychain keys when I only have access to the files?  I am specifically trying to backup my developer private key.
You have two ways to copy the Keychains directory

Finder -&gt; Go -&gt; Go to folder... -&gt; /Library/Keychains


or something like

cp -r /Library/Keychains ~/Desktop/MyKeychainsBackup [in terminal window]


However, the Keychains is saved with iCloud; you don't really need to make a local backup.