Migrating password store to new hard drive

Ingo Klöcker kloecker at kde.org
Sun Apr 4 21:48:06 CEST 2021

On Sonntag, 4. April 2021 20:14:56 CEST Neil Webster via Gnupg-users wrote:
> I have recently installed a new SSD on my computer and I am trying to
> move my password store (using pass) to the new drive. I am using Ubuntu
> 20.04.2 LTS.

I have always copied the whole ~/.gnupg folder from the old system/disk to the 
new system/disk when I migrated to a new PC or a new hard drive. Actually, I 
always copied my whole home directory. Only when setting up a secondary 
computer I copied selected folders including the ~/.gnupg folder and the 
password store.

I suggest to do the same, i.e., instead of exporting and importing secret 
keys, simply copy the .gnupg folder from the old disk to the new disk. Make a 
backup of the already existing .gnupg folder on the new disk before proceeding 
just in case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210404/5b04b102/attachment.sig>

More information about the Gnupg-users mailing list