- Enable USB debugging in the phone developer options
- Pull the SQLite database using adb
adb pull /data/data/com.google.android.apps.authenticator2/databases
- Extract the database records using an SQLite client
sqlite3 database
.dump accounts
- Save the output in a reasonably safe place (for instance store it in a lastpass secure note)