# Key Backup and Restore Between HSM 1 and HSM 2

**URL:** https://support.nitrokey.com/t/key-backup-and-restore-between-hsm-1-and-hsm-2/5857
**Category:** HSM
**Created:** [January 24, 2024, 9:40am UTC](https://support.nitrokey.com/t/key-backup-and-restore-between-hsm-1-and-hsm-2/5857 "2024-01-24T09:40:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kcchen](https://support.nitrokey.com/letter_avatar_proxy/v4/letter/k/f475e1/32.png) [@kcchen](https://support.nitrokey.com/u/kcchen)
#### Post date: [January 24, 2024, 9:40am UTC](https://support.nitrokey.com/t/key-backup-and-restore-between-hsm-1-and-hsm-2/5857/1 "2024-01-24T09:40:33Z")

</div>

Hi,

I would like to backup the key in HSM 1 and restore the key into HSM 2, and continue to use HSM 2 to operate the key. does it work? Will it have any issue?

PS:  
backup the key: sc-hsm-tool --wrap-key  
restore the key: sc-hsm-tool --unwrap-key

Thanks.

---

<div class="post-metadata">

### Author: ![saper](https://support.nitrokey.com/user_avatar/support.nitrokey.com/saper/32/493_2.png) [@saper](https://support.nitrokey.com/u/saper)
#### Post date: [January 28, 2024, 3:11pm UTC](https://support.nitrokey.com/t/key-backup-and-restore-between-hsm-1-and-hsm-2/5857/2 "2024-01-28T15:11:53Z")

</div>

Maybe this would be possible if you have DKEK configured on HSM 1.
