FreeOTP Backup and Restore

Backup

  1. Set Android into "developer" mode
    • Tap the "Build number" 7 times
    • Settings -> About phone -> Software information -> Build number
  2. Turn on USB debugging
    • Settings -> Developer options -> USB debugging (in dialog click "Allow")
  3. On computer, install adb
    • dnf install adb
  4. Connect Android to computer
    • In dialog click "Allow" to allow the USB connection to computer
  5. Check from computer that the Android is connected
    • adb devices
  6. Backup the FreeOTP info to a file on the computer
    • adb backup -f android-org.fedorahosted.freeotp.adb /path/to/backup/file

Restore

  1. Restore the FreeOTP info
    • adb restore /path/to/backup/file