Oleksandr Gavenko's blog
2017-01-30 22:20 Moving learning history in AnkiDroid to new phone

I bought new Android phone and the only one application that should take care is AnkiDroid. I don't want to lose my learning progress.

Naive placing of SD card into new phone doesn't work. AnkiDroid said something about incorrect collection and cleanup /sdcard/AnkiDroid directory.

During cleanup AnkiDroid remove everything from /sdcard/AnkiDroid including .apkg files for import without conformation.

Of course I made reserve copy beforehand:

$ adb pull /sdcard/AnkiDroid ~/tmp/

I placed latest backup to old SD card in new phone:

$ adb push ~/tmp/AnkiDroid/backup/collection-2017-01-30-12-34.apkg \
           /sdcard/AnkiDroid/backup

and I chose to restore from this backup. Unfortunately I lost progress for current day, but fortunately not for 4 month!!

But I recommend to follow official instructions from:

https://github.com/ankidroid/Anki-Android/wiki/FAQ#how-can-i-copy-my-decks-from-an-old-device-to-a-new-device

How can I copy my decks from an old device to a new device?

Method 2: Export > Import

Export your collection as a .apkg file from your old device, copy it to your new device using any method you like, and then import this file into your new device according to the importing instructions in the manual.

srs, anki

Feeds

all / emacs / java / python

Tags

admin(1), anki(1), blog(1), css(2), cygwin(2), emacs(3), fs(1), git(1), hg(2), html(1), interview(11), java(1), js(3), lighttpd(1), mobile(1), naming(1), printer(1), problem(5), quiz(6), rst(1), security(1), sql(1), srs(1), unit(1), utils(1), vcs(1), web(2), win(2)

Archive