A quick and easy way to pull a backup of a sqlite database from a connected Android device.
npm install -g cordova-sqlite-devtools
cordova-sqlite-devtools
uses Android Debug Bridge (adb)
to communicate with your Android device. Make sure you have adb
installed / configured, and you
have connected your mobile phone to your laptop / desktop.
csd --help
List all databases the device.
csd list
With the below command, you should be able to find the database copied into the _sqlite-backups
folder of the current directory. Use SQLite browser to open the
database and browse the data.
csd pull awesome.db
Where awesome.db
is the name of the database to backup. Note: the database name is case sensitive.
Remove _sqlite-backups
folder and all backups.
csd clean