# Does a backup contain pins?

**URL:** <https://onlykey.discourse.group/t/does-a-backup-contain-pins/498>\
**Category:** Backup and Restore\
**Created:** [September 5, 2021, 7:46am UTC](https://onlykey.discourse.group/t/does-a-backup-contain-pins/498 "2021-09-05T07:46:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gzm55](https://avatars.discourse-cdn.com/v4/letter/g/f05b48/32.png) [@gzm55](https://onlykey.discourse.group/u/gzm55)\
**Post date:** [September 5, 2021, 7:46am UTC](https://onlykey.discourse.group/t/does-a-backup-contain-pins/498/1 "2021-09-05T07:46:28Z")

</div>

When backup, does the output contain the primary/second/self-destruct pins or backup passphrase?

If contains, will the corresponding pin/passphrase be overwritten by restoring a backup?

---

<div class="post-metadata">

**Author:** ![t11](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@t11](https://onlykey.discourse.group/u/t11)\
**Post date:** [September 6, 2021, 2:58am UTC](https://onlykey.discourse.group/t/does-a-backup-contain-pins/498/2 "2021-09-06T02:58:16Z")

</div>

No, PINs are set per device and are not related to backup. The backup file also does not contain PINs or passphrase, backups are the AES-256 encrypted contents of the OnlyKey. If the OnlyKey restore is a success you would already have to have the correct passphrase loaded on your OnlyKey, if not the restore would not succeed.

---

<div class="post-metadata">

**Author:** ![gzm55](https://avatars.discourse-cdn.com/v4/letter/g/f05b48/32.png) [@gzm55](https://onlykey.discourse.group/u/gzm55)\
**Post date:** [September 6, 2021, 8:21am UTC](https://onlykey.discourse.group/t/does-a-backup-contain-pins/498/3 "2021-09-06T08:21:59Z")

</div>

ok, thanks for the detail explaination.
