Back Up Using YubiHSM Setup

The YubiHSM 2 Setup Tool can be used to back up all exportable objects simultaneously:

$ yubihsm-setup dump
Enter the wrapping key ID to use for exporting objects: 0xd581
...
Successfully exported object Asymmetric with ID 0x6e77 to ./0x6e77.yhw
All done