• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [HOW-TO] Make a full sd card backup via USB

This thread could probably be placed in a general help area of the forum. The user may need to determine where their sdcard(s) are, but in general, it should work for almost any Android device. I had success using this with my Droid X (iirc, I was actually able to do it by pulling either /mnt/sdcard OR /sdcard. Obviously they pointed to the same place, so I think I was able to do it with either command.

I imagine that on my Bionic I'll be able to accomplish what I want by pulling /storage (which contains both the internal and external sdcards) or by individually pulling /sdcard (a link to the internal sdcard) and /sdcard-ext (a link to the external sdcard). Heck, I'll probably even be able to pull them from their links in the /mnt/ directory if I want (/mnt/sdcard and /mnt/sdcard-ext).

One question though - what's up with the period in front of the destination? Let's say I want to pull the backup to a folder named "20130809_sdcardbackup" on my computer - I assume the command would be adb pull /storage /20130809_sdcardbackup right? I don't need to put in a period, do I?
 
  • Like
Reactions: EarlyMon
Upvote 0
One question though - what's up with the period in front of the destination? Let's say I want to pull the backup to a folder named "20130809_sdcardbackup" on my computer - I assume the command would be adb pull /storage /20130809_sdcardbackup right? I don't need to put in a period, do I?

the period is a reference to the present working directory. in other words, pulling to ./ will pull into the directory you are presently in while running the "adb pull" command.
 
  • Like
Reactions: EarlyMon
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones