Export the database file
Steps
- With the database open, go to Settings, thenDatabase settings, thenExport database....
- Pick Keepass 2 database (.kdbx), select OK and choose where it goes.
- If the .kdbx is in a cloud drive or a folder you can get at, you can just copy it from there instead.
- The copy opens with the same master password and key file as before.
Watch out for
New databases go in the app's own folder by default, which other apps can't get at, so use the export rather than hunting for the file.
- If its key file is in the app's internal folder, get that out too with Export key file from internal folder, in the same settings.
- One-time codes you set up in Keepass2Android are saved as an otp field holding an otpauth link, the way KeePassXC does it, so apps that only read KeePass's TimeOtp fields won't see them as codes.
- If it unlocks with a YubiKey, the other app has to support that too. Password + OTP and Password + Challenge-Response also need their .xml file from next to the database, and only KeePass with a plugin reads those.
- Comes with it 8
- Logins and passwords
- One-time codes
- Custom fields
- Attachments and files
- Folders and groups
- Tags
- Password history
- Created and updated dates
- Left behind 1
- App settings
Sources
- Official docs github.com/PhilippC/keepass2android/wiki/Keepass2Android-file-handling
- Evidence github.com/PhilippC/keepass2android/wiki/Documentation
- Evidence github.com/PhilippC/keepass2android/wiki/Generating-TOTPs
- Evidence github.com/PhilippC/keepass2android/blob/v1.15-r6/src/keepass2android-app/ExportDatabaseActivity.cs
- Evidence github.com/PhilippC/keepass2android/blob/v1.15-r6/src/keepass2android-app/Resources/xml/pref_database.xml
- Evidence github.com/PhilippC/keepass2android/blob/v1.15-r6/src/keepass2android-app/Resources/values/strings.xml