# 2FA עם OTP נשבר לאחר שחזור מגיבוי

**URL:** <https://meta.discourse.org/t/2fa-with-otp-broken-after-restoring-from-backup/191453>\
**Category:** Product Support\
**Created:** [24 במאי,‏ 2021,‏ 11:57am UTC](https://meta.discourse.org/t/2fa-with-otp-broken-after-restoring-from-backup/191453 "2021-05-24T11:57:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Blechpirat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blechpirat/32/221370_2.png) [@Blechpirat](https://meta.discourse.org/u/Blechpirat)\
**Post date:** [24 במאי,‏ 2021,‏ 11:57am UTC](https://meta.discourse.org/t/2fa-with-otp-broken-after-restoring-from-backup/191453/1 "2021-05-24T11:57:53Z")

</div>

I moved my Discourse from my personal PC to an “always on” Server, both in the same network. Created a fresh docker with discourse and then restored the backup as shown here: [Restore a backup from the command line](https://meta.discourse.org/t/restore-a-backup-from-command-line/108034)

Everything is fine but login for users who activated 2FA with OTP. I’m using AndOTP on Android and the OTP was no longer valid. Also, creating a new 2FA-Token is impossible, because the token created by the app is not accepted by Discourse. So somehow, even tho I just scanned the QR-Code, the created token is no longer correct.

I assume I did something wrong?

---

_[View the full topic](https://meta.discourse.org/t/2fa-with-otp-broken-after-restoring-from-backup/191453)._
