adb backup: incremental? - Moto G4 Plus Questions & Answers

Hello,
I want to perform a backup of the microSD over adb (adb pull).
There are 40 GB of data to be saved on the PC (Windows OS).
Is there a way to create a incremental backup after an full backup of microSD?
Thanks for your suggestions and
Greetings from Germany

PC295 said:
Hello,
I want to perform a backup of the microSD over adb (adb pull).
There are 40 GB of data to be saved on the PC (Windows OS).
Is there a way to create a incremental backup after an full backup of microSD?
Thanks for your suggestions and
Greetings from Germany
Click to expand...
Click to collapse
Why not pull out the SD card and copy directly to pc?

strongst said:
Why not pull out the SD card and copy directly to pc?
Click to expand...
Click to collapse
I use Adoptable Store. The microSD is encrypted.
I have now found a solution.
Now I use MyPhoneExplorer, it has a function to syncronize the memory.

Related

Clone SD card (with a2sd on)?

Question:
I've noticed I'm pretty much at my limit for space on my current SD card (like 80MB remaining on a 4GB!)...
I've ordered an 8GB card to replace this one... but how can I "clone" my current 4GB card (with a2sd partitions) and then copy it over to my 8GB card, without losing data, settings, apps, etc? Is there a way?
Thanks in advance.
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
gfinockio said:
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
Click to expand...
Click to collapse
Haha yeah, I think it's the easiest way to do it with Windows, since you can't read the ext partition from the computer. You could probably just copy the contents of both partitions through Linux if you're comfortable doing that.
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
jdwhite87 said:
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
Click to expand...
Click to collapse
Clockwork does not back up my ext partition. It can't mount it or anything. Not sure why. Might be because its ext4, but when I do nandroids the sd-ext backup always fails.
I have to use Ubuntu and mount as storage. Then both of my partitions mount on my computer and I can do as I please. For me this seems easiest anyway. Simple copy and paste and it can be done from a live cd for those that dont already have Ubuntu.
Sent from my cm7 Aria.
drumist said:
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Click to expand...
Click to collapse
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
gfinockio said:
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
Click to expand...
Click to collapse
Partitions menu
CallMeAria said:
Partitions menu
Click to expand...
Click to collapse
What version has that menu option? I don't see it.
Interesting. I was sure you could format a card with ext partition through Clockwork but apparently you can't. You can do it through ROM Manager though, so I guess you may have to boot into the phone to get to it.
The programs on the ext partition won't show up yet of course. Don't be alarmed. Just partition the card through ROM Manager, then once you're done doing that, do the nadroid advanced restore. If there are any problems after a reboot (i.e., it didn't work correctly), go back and try doing the regular full nandroid restore.
gfinockio said:
What version has that menu option? I don't see it.
Click to expand...
Click to collapse
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
CallMeAria said:
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
Click to expand...
Click to collapse
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
someone recommended in another thread that when that happens you just pull out the battery and then use volume down+power to boot back into recovery and it should then work.
But the method I use is to do it from Ubuntu (a linux version). If you dont want to install Ubuntu on your computer you can make a bootable CD or USB drive with Ubuntu on it (directions for this are on the Ubuntu download page) and actually run Ubuntu from the CD/USB without ever installing it on your computer. From there you can use gParted to create paritions. And while I recommend making backups, gparted even allows you to resize and move partitions without deleting anything.
gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
drumist said:
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
Click to expand...
Click to collapse
I'm reverting back now, going to sleep on it, and then investigate formatting it via LiveCD tomorrow morning. It's been several years since I've had to go near anything Unix.
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
drumist said:
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
Click to expand...
Click to collapse
That got me thinking...Ive never had a problem adding an ext partition using Rom Manager. Ive done it to 3 SD cards now without a single issue. BUT, Ive also always done it while on cm6/7 which both came with Rom Manager pre-installed with the rom and quite a bit of integration with the rom manager app...just a thought...
EDIT: Scratch that, I used it for 2 SD cards, the 3rd was done with Ubuntu.
Here's my post from the other thread
jdwhite87 said:
Rom manager - partition SD card - choose your partitions. It will reboot into recovery and try but fail to partition your card. Pull battery. Replace battery - hold volume down and power. Wait for it to try and find the libde. Img then press volume down and it will highlight recovery then press power. It will boot into recovery and finish partitioning your card.
I think that's how I got it to work.
Click to expand...
Click to collapse
I did this with two different SD cards on fr008. Both were sandisks. One was a 16 gb class 4 and the other was an 8 gb class 6. I couldn't get gparted to partition the 8 gb for whatever reason. I didn't know what Ubuntu was when I partitioned the 16 gb
It seems like an oversight that maybe of the masses of people with Android devices that one day the general (non-xda) population would want a simple way to transfer their sd card data to a larger card...
I Imagine there are a bunch of people out there clueless.
Hell, I read XDA and there was still no clear simple way in this thread.
(I got here from a Google search for SD CARD CLONE)
Got it to work, finally. Required some back-and-forth with the Nandroid backups, but I have everything running off of my 8GB SD card now, without reinstalling!
Now, to sell off my 4GB card... anyone?

[q] cwm backup /restore

Hello.
I've had my SGS 4 (I9500) for about 10 days, and have some problems (not critical but anoying), I don't know if they are related.
1) I use a microSD of 64 GB, the same I was using in my previous SGS 3 without any problem. In the SGS 4, sometimes the microSD is reported as damaged (even at boot, or during usage). It has happend several times, and fixed with a reboot. When this happends, the microSD can't be readed by the file explorer (neither ES explorer or Solid Explorer). I have formatted the microSD with the SGS 4, but didn't help.
2) I can't mount, format neither backup on the microSD from Recovery, even using Recovery that claim "backup / restore folders fixed". I need to backup on external SD in order to free the little space available on the internal SD!!
3) I can't find the folder where the backups made from Recovery are! Recovery says the path is sdcard/clockworkmod/backup, but I browse to that path in Solid Explorer, and it only has one file: .recovery_version. (I have activated the option "show hidden files"). I need to find these folders for at least move/copy the backup files to my PC, if I can't store them on the external SD.
At the beginning, I thought it was a generic problem of the SGS 4 that would be fixed with custom kernels or ROMs, but so far nothing has helped!
Any help or ideas would be appreciated.
Thank you.
Javier.
jolivera said:
Hello.
I've had my SGS 4 (I9500) for about 10 days, and have some problems (not critical but anoying), I don't know if they are related.
1) I use a microSD of 64 GB, the same I was using in my previous SGS 3 without any problem. In the SGS 4, sometimes the microSD is reported as damaged (even at boot, or during usage). It has happend several times, and fixed with a reboot. When this happends, the microSD can't be readed by the file explorer (neither ES explorer or Solid Explorer). I have formatted the microSD with the SGS 4, but didn't help.
2) I can't mount, format neither backup on the microSD from Recovery, even using Recovery that claim "backup / restore folders fixed". I need to backup on external SD in order to free the little space available on the internal SD!!
3) I can't find the folder where the backups made from Recovery are! Recovery says the path is sdcard/clockworkmod/backup, but I browse to that path in Solid Explorer, and it only has one file: .recovery_version. (I have activated the option "show hidden files"). I need to find these folders for at least move/copy the backup files to my PC, if I can't store them on the external SD.
At the beginning, I thought it was a generic problem of the SGS 4 that would be fixed with custom kernels or ROMs, but so far nothing has helped!
Any help or ideas would be appreciated.
Thank you.
Javier.
Click to expand...
Click to collapse
look in data/media/clockworkmod
samersh72 said:
look in data/media/clockworkmod
Click to expand...
Click to collapse
Excelent!!! :victory:
And I even found a efs_Backup, that I was wondering how to do!!
Thank you very much! :highfive:
(Now I just need to solve the problems with the external SD) :fingers-crossed:
Greetings,
Javier.
jolivera said:
Excelent!!! :victory:
And I even found a efs_Backup, that I was wondering how to do!!
Thank you very much! :highfive:
(Now I just need to solve the problems with the external SD) :fingers-crossed:
Greetings,
Javier.
Click to expand...
Click to collapse
use dd command to backup efs and you must also backup m9kefs partitions
samersh72 said:
use dd command to backup efs and you must also backup m9kefs partitions
Click to expand...
Click to collapse
aham... sorry, I don't know how to use "dd command". :silly:
Do you mean the efs_Backup folder isn't a full backup of the efs?
Sorry for my ignorance, and thanks again.
jolivera said:
aham... sorry, I don't know how to use "dd command". :silly:
Do you mean the efs_Backup folder isn't a full backup of the efs?
Sorry for my ignorance, and thanks again.
Click to expand...
Click to collapse
i think you backuped efs partition with recovery, that is fine.
NV_DATA must be secured also, they are included in other partition, they are not included in efs partition so make a backup for them see this.
Hello guys.
Can anybody help me with the external SD issues? :fingers-crossed:
Thanks in advance.
Solution to Recovery access to external SD
As I thought, the issue with the Recovery access to external SD was solved with a new version of Recovery. The Cofface Recovery V 2.0 made the magic! :victory:
I thought this would solve the issues with the esternal SD in general, but I keep having the error "SD is damaged", and when I try to mount it, it is detected as empty. I let the phone alone, and some minutes later the SD card is detected and mounted itself. :silly:
I hope this to be a release problem, and be eventually solved with new versions of kernels or ROMs. :fingers-crossed:
help
samersh72 said:
look in data/media/clockworkmod
Click to expand...
Click to collapse
Am sorry for hijacking your thread OP, but am having the same problem as you had cant seem to find that backup folder, I want to transfer it to my pc to save some memory, when I saw this reply "data/media/clockworkmod" I was so happy but when I went no luck whatsoever I get "data/com.mdc.ustv (that's it) and I can find "media/audio/notification" .
whenever I do go to restore in recovery mode it does show directory sdcard/clockworkmod/backup
any help would be greatly appreciated
DsmEvo said:
Am sorry for hijacking your thread OP, but am having the same problem as you had cant seem to find that backup folder, I want to transfer it to my pc to save some memory, when I saw this reply "data/media/clockworkmod" I was so happy but when I went no luck whatsoever I get "data/com.mdc.ustv (that's it) and I can find "media/audio/notification" .
whenever I do go to restore in recovery mode it does show directory sdcard/clockworkmod/backup
any help would be greatly appreciated
Click to expand...
Click to collapse
I found the clockworkmod backup in the described path. Are you reaching the memory root?
The sound/norifications folder is in system/media path.
Good luck.
jolivera said:
I found the clockworkmod backup in the described path. Are you reaching the memory root?
The sound/norifications folder is in system/media path.
Good luck.
Click to expand...
Click to collapse
thanks! got it.. I was searching in internal sdmemory via pc got it now!
correct path for deleting cwm backup files
... thanks, with your help I was finally able to delete my unneeded image.zip backup file that was not recognized by the recovery / mod manager clean up tool. Some other posts suggested to reach it under /mnt/shell/emulated/clockworkmod/backup which is basically correct for accessing it, but even with root permission you are never allowed to delete it there (symlinks?). However, /data/media/clockworkmod was finally the correct path to physically remove it :victory:

CWM Backups

Hi everyone,
I just received my brand new TN7. I rooted and installed CWM by using Pac's Super Tool and made some backups (and restore) of my differents mods.
Till then everything is ok exept when I tried to save my backups to my PC.
I think I looked everywhere on SD0 and SD1 but no traces of my backups. Where are they?
I'm not so new on android (Phones, tablets, other devices,...) and on each device the backups were visible on SD0/SD1.
Someone can explain me where to find them?
Hello.Tegra note is mounted as media device mtp or camera ptp,thats why you dont see all files when looking thru pc(device connected to pc).Copy backups to sd card in tablet and insert card to pc.I think your backups are on internal storage(main storage) in cwm folder.
subzero82 said:
Hello.Tegra note is mounted as media device mtp or camera ptp,thats why you dont see all files when looking thru pc(device connected to pc).Copy backups to sd card in tablet and insert card to pc.I think your backups are on internal storage(main storage) in cwm folder.
Click to expand...
Click to collapse
I use ES-Explorer (in root mode) on my tablet and I see no folder containing cwm backups. Does it use a special mount?
Hello.try using root explorer.mnt-sdcard-cwm.

[Q] Making a Nandroid backup directly to PC

Hi People of XDA,
Is there any way for me to directly make a Nandroid backup to a PC?
Because my phone has no space left for a full Nandroid backup and I want to try some custom ROMs.
Thanks in advance.
You might be better off mounting your storage in recovery to the USB interface and moving all the backups off to return them as needed.
Alternatively, move all but one for on the go repairs.
Wait, I do what? Can you explain a little better? I mount my storage on a PC you mean?
What recover do you use? You should be able to mount your storage to your PC and pull your old backups off for preservation.
nikotank said:
What recover do you use? You should be able to mount your storage to your PC and pull your old backups off for preservation.
Click to expand...
Click to collapse
I use Clockworkmod Touch Recovery 6.0.4.7.

[SOLVED] How can I make a backup of the data partition on my computer?

What I want to do is I want to be able to either copy the userdata partition to my computer or do a file level copy of everything in /data to a folder on my computer. I've already rooted my phone, so preferably I'd be able to make the root file system available over usb. Does anyone know how I'd be able to do something like this? I know I could plug in a usb device to my phone and probably copy /data to it, but that wouldn't be my preferred method. Let me know if I missed any methods that I could use.
I want to mention that I'm into doing this because recently my phone died and I had to send it out to have some of the data recovered and I don't want to have to spend that kind of money if I can frequently make full backups myself.
EDIT: I found a solution but I'm leaving this up in case anyone else wants to know how to do it.
I'm using FTPDroid to run an ftp server on my phone which I'm then mounting on my computer and then using rsync to backup the data. I'd recommend paying the $1.99 for SSL/TLS support for FTPDroid and setting up a dynamic dns for your phone to allow for automation of backups.
Just install TWRP custom recovery and do a full backup. You can transfer or copy the backup to your computer if you wish. If your storage is full you can backup straight to SD card or computer I believe.
Exodusche said:
Just install TWRP custom recovery and do a full backup. You can transfer or copy the backup to your computer if you wish. If your storage is full you can backup straight to SD card or computer I believe.
Click to expand...
Click to collapse
The only problem with that is that I don't have an SD card slot on my phone for an sdcard.

Categories

Resources