backup a single key pair

Keytool can export certificates, but they do not include the key pair entry. How can I extract a single private/public key pair and use it in a different keystore in another machine?
[189 byte] By [kulkuria] at [2007-11-27 0:02:21]
# 1
As far as I know you can't. Why can't you just copy the keystore?
ejpa at 2007-7-11 15:54:41 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 2
In JDK 6 keytool has a new command called -importkeystore.
wangwja at 2007-7-11 15:54:41 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 3
In any case moving a private key around is conceptually invalid. A private key is supposed to be unique to its holder. Otherwise it is worthless as it isn't private. So for example any digital signature generated by it is legally repudiable.
ejpa at 2007-7-11 15:54:41 > top of Java-index,Security,Other Security APIs, Tools, and Issues...