Backup freeotp

Setup android-tools on Fedora 25

Install Android tools

sudo dnf install android-tools

Setup udev rules

sudo cp /usr/share/doc/android-tools/51-android.rules /etc/udev/rules.d/

Enable and Start adb

sudo systemctl enable adb
sudo systemctl start adb

To backup

adb backup -f ~/backup-org.fedorahosted.freeotp.adb org.fedorahosted.freeotp

To Restore

adb restore ~/backup-org.fedorahosted.freeotp.adb