Complete phone backup? - Nexus 5 Q&A, Help & Troubleshooting

I'm trying to clear up a confusion in my mind about how to really backup a rooted Nexus 5.
(For privacy reasons I use a firewall, etc. and do not sync with Google or the cloud).
- I know that Titanium Backup will backup all the installed apps and their data.
- I know that a nandroid backup (I use twrp) will backup the android system and apps.
But there seems to be gap here - unless I am mistaken. Over time, most users add new folders in the sdcard for downloads, documents, genealogy, and the like. I tend to think of a nandroid backup as similar to an "image backup" in windows, but I suspect it might not be because the nandroid backup does not backup these newly created folders. Am I correct? Does a nandroid backup these additional sdcard folders? I think most people assume they do, but a friend just told me they do not and he lost a lot of data because of that erroneous assumption. I hope he is wrong!
Does a nandroid backup the system and the entire sdcard - or not? If not, why not? I'm not a programmer but it would seem to be a simple thing to include any additional sdcard folders? What am I missing? Is there a technical reason why a complete backup is not possible in android?

A nandroid doesn't backup 100% of the device.. I'm not sure why, but I know it doesn't. /sdcard (or whatever its called lol) is not backed up.
Sent from my Nexus 5 using Tapatalk

You're correct that there is no simple way to back up your entire device. Even using Google will not back it up.
A nandroid will back up your system, apps and app data. It will not backup your /sdcard. That means any photos, music, downloaded files, etc.
Unfortunately, to backup your device you really need to use a nandroid, the cloud and your pc.
Sent from my Nexus 5 using XDA Free mobile app

That's a shame. I was hoping I was wrong! I bet a lot of users have been burned by that! :crying:
Seems to be a glaring opening for a "killer app" that would
a) reboot the phone into recovery
b) do a nandroid backup
c) append a backup of remaining folders
Then the whole could be copied to a pc or flashdrive. Maybe even done in one swoop while attached by usb to a pc. Like a pc backing up an image to an external hd - which I do all the time.
It's so obvious that I wonder what is making this unachievable in android.
Is there such an app? Looks like I have been living dangerously.......

If you could do that you'd run out of storage space before it completed
Sent from my Nexus 5 using Tapatalk

I just create a folder called backup on my comp. Then do a:
Code:
adb pull /. backup
It takes two hours but pulls the entire phone to my comp. Or at least as close as you'll ever get with android.

Ben36 said:
If you could do that you'd run out of storage space before it completed
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I thought of that. That is why it would be an app to run while your device was connected to the pc. Just like when I do an image backup of my windows laptop to an external HD.
You need to connect to a PC or other drive to transfer the nandroid anyway.

theesotericone said:
I just create a folder called backup on my comp. Then do a:
Code:
adb pull /. backup
It takes two hours but pulls the entire phone to my comp. Or at least as close as you'll ever get with android.
Click to expand...
Click to collapse
That is what I will have to do. Thanks for the adb command to use.
But, it is a two step procedure: first create a nandroid, then connect to PC to move everything there. Unless I am wrong, without a nandroid, just copying everything on the phone will not let me restore the system. (Maybe I am wrong).
I am not knowledgeable enough, but, if not an app, maybe a script that you run - while connected to the PC (or external HD? with stickmount?) - would either boot the phone into recovery, do the nandroid, and copy everything (including the nandroid) to the pc. Unless one can skip a step by creating the nandroid directly on the PC instead of on the phone.
I'm a relative newbie and could be talking nonsense - sorry if I am - but if it can be done in Windows, it should be abe to be done in android/linux.

maybeme2 said:
That is what I will have to do. Thanks for the adb command to use.
But, it is a two step procedure: first create a nandroid, then connect to PC to move everything there. Unless I am wrong, without a nandroid, just copying everything on the phone will not let me restore the system. (Maybe I am wrong).
I am not knowledgeable enough, but, if not an app, maybe a script that you run - while connected to the PC (or external HD? with stickmount?) - would either boot the phone into recovery, do the nandroid, and copy everything (including the nandroid) to the pc. Unless one can skip a step by creating the nandroid directly on the PC instead of on the phone.
I'm a relative newbie and could be talking nonsense - sorry if I am - but if it can be done in Windows, it should be abe to be done in android/linux.
Click to expand...
Click to collapse
Honestly the only time I've used that command was a few years ago when I was looking into what your asking about. Long
story short, it was a complete failure. lol The best bet is just using a nand and copying your sdcard over to the comp whenever you feel the need. It's really easy to restore the sdcard. It's really hard to use ADB to restore anything else. It's possible but takes way more time than just restoring a nand.

Related

Help with Nandroid

Hey all,
I've been searching everywhere in google as well as in XDA with no success. I am trying to do a full Nandroid backup (just like people are advising you to do when changing roms).
I currently have Clockwork 3.0.0 and am Rooted on stock. When I go into recovery, the only thing I have in regards to backup is just "backup" and no "Nandroid Backup" like people are saying all over the forums. Do I have to install something specific? I am puzzled! Is nandroid a method of backing up or the name of a program?
Also, when I backed up using Clockword >> Backup I found its only around 300mb so I assume it doesnt backup your SD content (i.e. pictures and videos + programs) as well? Is there a way to do a FULL image with literally everything?
Any help will be appreciated!
Hi...well backup sounds about right. Don't worry about whether it says nandroid or not. Mind doesn't. Just go ahead and do the backup.
And as for the SD card...well no need to worry there either because the SD contents do not get wiped out anyway, so there's no need for it to be backed up in the sameway.
Hope that helps.
Sent from my Nexus S using XDA App
When I'm looking at the development section, it says that it will "WIPE ALL YOUR DATA". Doesn't this suggest I should also backup my pictures + videos?
Thanks for the help!
The only thing that wipes all your data and sdcard is a fastboot oem unlock, and it sounds like you're already past there. Flashing new roms and choosing "wipe data" in clockwork recovery does not touch your sdcard at all.
It's always a good idea to backup your photos and videos just in case. It only takes a few minutes and better to waste a few minutes than lose a precious irreplaceable video of the kid's first steps.
Nothing should wipe your sdcard other than the fastboot oem unlock, but that doesn't mean it can't be wiped by mistake. I just responded in another thread where the guy accidentally formatted his sdcard. Everything gone.
Better safe than sorry, in my opinion.
haha i agree, will Titanium Pro backup my photos/videos aswell (as you've commented on the other thread) or it just backs up apps ?
co0kie said:
haha i agree, will Titanium Pro backup my photos/videos aswell (as you've commented on the other thread) or it just backs up apps ?
Click to expand...
Click to collapse
It will only backup apps/data on the internal rom space, not on the sdcard; so no, it won't take care of your photos/videos.
Mount the phone via USB, select mount USB storage, then drag and drop the folders with your photos/videos to your computer harddrive.
Camera photos and vids are kept in the /dcim folder if you use stock. Some 3rd party camera apps may put them someplace else.
I usually just make a full copy of the sdcard at one point, then use rsync periodically to keep it current.
distortedloop said:
It will only backup apps/data on the internal rom space, not on the sdcard; so no, it won't take care of your photos/videos.
Mount the phone via USB, select mount USB storage, then drag and drop the folders with your photos/videos to your computer harddrive.
Camera photos and vids are kept in the /dcim folder if you use stock. Some 3rd party camera apps may put them someplace else.
I usually just make a full copy of the sdcard at one point, then use rsync periodically to keep it current.
Click to expand...
Click to collapse
So I guess this is one adv. of keeping apps on internal rom space.
Making a copy of the sdcard and resyncing it periodically sounds like a good idea IMO, what programe do you use to resync the sdcard?
thanks,
co0kie said:
So I guess this is one adv. of keeping apps on internal rom space.
Making a copy of the sdcard and resyncing it periodically sounds like a good idea IMO, what programe do you use to resync the sdcard?
thanks,
Click to expand...
Click to collapse
Titanium will backup apps and data that are on the sdcard if you put them there with the apps2sd feature. It's smart that way. I'm talking about the apps that store settings and stuff (like Titanium itself, Launcher Pro, ADW, the gym log apps I've used, lots of games, etc) that put user data on the sdcard outside of the protected or apps2sd storage area on the sdcard.
I don't use an app for rsync, I just use the rsync command from the terminal on my Mac.
There's a couple of rsync apps on the Market. Someone mentioned using an app to rsync in one of the threads on here not too long ago. Here's an appbrain link to a search on the term rsync, it only shows two apps.
What if I move the app using Gingerbread feature to "move to sd", will it still know to back them up?
/is that what u meant in the beginning by feature of apps2sd? not sure cause there is an actuall program that does this
co0kie said:
What if I move the app using Gingerbread feature to "move to sd", will it still know to back them up?
/is that what u meant in the beginning by feature of apps2sd? not sure cause there is an actuall program that does this
Click to expand...
Click to collapse
Yes, that's what I meant. It also covers just about all of the various apps to the sdcard hacks that various rom makers have implemented over the last year or two; certainly the popular ones like cyanogen and darktremor's versions.
If you get Titanium Pro, pay for the license. It will enable batch restore where all your apps can be restored at once without user intervention, otherwise I believe you have to okay each one individually.
I just bought it and performed a batch back up thank you!
Now, assuming i have already perfomed a backup and now if i move the app2sd, will it know to update it next time?
Then, when i jump to the next ROM, all i have to do is batch restore?
co0kie said:
I just bought it and performed a batch back up thank you!
Now, assuming i have already perfomed a backup and now if i move the app2sd, will it know to update it next time?
Then, when i jump to the next ROM, all i have to do is batch restore?
Click to expand...
Click to collapse
If you move the app to the sd, the restore will put the app back in its location where it was during the backup. Just run a batch backup of all changed applications after moving anything around.
After you flash a new rom, just run a batch restore: apps and data only, usually not a good idea to restore system settings across different roms.

Extract CWM nandroid backup

Hey all,
I used CWM to make a nandroid backup. I am trying to extract data from it specifically the sdcard/DCIM where all my pictures are. I tried to just perform a restore of the nandroid backup but it fails the md5 checksum. Been there done that, got the t-shirt and I just can't fix the md5 checksum. So my next option is to just extract the sdcard/DCIM from the nandroid backup. I looked in system.ext4.tar and its not in there. Also checked data.ext4.tar and its not in there. Only other place it could be is in boot.img or recovery.img. Let me know if I am wrong about this! Anyways, I tried using unyaffs.exe and the command code "unyaffs.exe recovery.img" to extract and I get a "bad image file" error. I tried with all my backups even the ones I know work and they all give me the error so all my backups can't be bad so something either I am doing wrong or unyaffs.exe does not support newer versions of .img?
As of right now I am out of options. Does anyone have any ideas as to how I can extract/recover my sdcard/DCIM folder from my CWM nandroid backup?
Thanks!
JDubbed said:
Hey all,
I used CWM to make a nandroid backup. I am trying to extract data from it specifically the sdcard/DCIM where all my pictures are. I tried to just perform a restore of the nandroid backup but it fails the md5 checksum. Been there done that, got the t-shirt and I just can't fix the md5 checksum. So my next option is to just extract the sdcard/DCIM from the nandroid backup. I looked in system.ext4.tar and its not in there. Also checked data.ext4.tar and its not in there. Only other place it could be is in boot.img or recovery.img. Let me know if I am wrong about this! Anyways, I tried using unyaffs.exe and the command code "unyaffs.exe recovery.img" to extract and I get a "bad image file" error. I tried with all my backups even the ones I know work and they all give me the error so all my backups can't be bad so something either I am doing wrong or unyaffs.exe does not support newer versions of .img?
As of right now I am out of options. Does anyone have any ideas as to how I can extract/recover my sdcard/DCIM folder from my CWM nandroid backup?
Thanks!
Click to expand...
Click to collapse
A nandroid backup will never have your internal data backed up in it. It backs up your system and the data incorperated with apps and and all that stuff. Pictures, music, video, etc. does NOT get backed up every time you do a backup (thank God!). That stuff is ALWAYS still there unless you do a wipe data/factory reset on the phone. I'm sure someone else will chime in here but I'm almost 100% positive I'm right. If you are looking for your pictures just boot your phone and hook it up USB to your computer. Open up the drive on your computer and look in the DCIM folder, your pics will all be there.
copene said:
A nandroid backup will never have your internal data backed up in it. It backs up your system and the data incorperated with apps and and all that stuff. Pictures, music, video, etc. does NOT get backed up every time you do a backup (thank God!). That stuff is ALWAYS still there unless you do a wipe data/factory reset on the phone. I'm sure someone else will chime in here but I'm almost 100% positive I'm right. If you are looking for your pictures just boot your phone and hook it up USB to your computer. Open up the drive on your computer and look in the DCIM folder, your pics will all be there.
Click to expand...
Click to collapse
Thanks for that. Unfortunately my phone came back from Samsung after a storm fried my phone and they wiped my phone crystal clean. I thought that was one of the points of a nandroid backup was that it also backed up or at least gave you the option of backing up your personal files like music, pictures and so forth. I was under the impression this whole time that my files were safe in my nandroid backups now I cannot believe all my irreplaceable pictures are gone. Years of pictures lost. Maybe a recovery software could bring it back?
Nope they gone bro let it go if it fried the phone and SD card
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Suggestion...
From here on out... I would install Google+ and instant upload that stuff or PicasaTool or something... That is what I do... I have them set as private unless I want to share it. It's the best form of picture backup, unless you plug your phone into your computer on a daily basis and transfer them...
I would go for the instant upload method in the future... does pics and videos....
Sorry man... they are gone...Factory doesn't mess with that stuff... If your phone got fried, its a different board inside and the internal SD is on the "motherboard" of the phone...
It also doesnt hurt to just backup your memory card(s) files to your pc every so often, via good 'ol fashioned drag and drop.
Sent from my SAMSUNG-SGH-I727 using xda premium
onealvideo said:
From here on out... I would install Google+ and instant upload that stuff or PicasaTool or something... That is what I do... I have them set as private unless I want to share it. It's the best form of picture backup, unless you plug your phone into your computer on a daily basis and transfer them...
I would go for the instant upload method in the future... does pics and videos....
Sorry man... they are gone...Factory doesn't mess with that stuff... If your phone got fried, its a different board inside and the internal SD is on the "motherboard" of the phone...
Click to expand...
Click to collapse
Yes. Another option is Dropbox, which you can also set to automatically upload pictures. Then, they sync with the Dropbox folder on your desktop.
If nanbackup backed up your SD card every time, people would run out of space in no time. Especially if you keep more than one backup handy. This is why I would encourage OP to use an external SD and be sure to physically take it out of the phone before wiping, flashing, anything like that. Multiple redundant backups, bro.
Thanks for the replies. Yeah I am just going to let it go. Probably a new internal SD card anyways like suggested. I still think there should at least be an OPTION in CWM to backup full internal SD card and make it default no. I have a 32GB card and having 1 to 2 concurrent FULL SD and nandroid backups wouldn't dent it. But it is what it is.
Since I want everything backed up not just pictures and videos I think the infamous old fashion drag and drop method is the best option. I'll store the data on my PC HDD or something for safe keeping.
If anyone discovers an app that not only backs up nandroid but complete internal SD or selectable internal SD folders as well please post it here. Between Titanium Backup and CWM it still does not backup everything. Maybe a 3rd app is needed to cover my ass with internal SD data or an all-in-one backup tool is yet to be created.
:good:
If you ask sk8tr I am sure he would try to integrate it....
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

Full Android backup to PC possible?

Hello I wonder if making a full phone backup to PC's hard drive would be possible...I mean something similar to Acronis trueimage of Windows partition...but do this on phone with exclusion of the main firmware. Because of no SDcard slot I need store everything to connected PC HDD...
Looked at TitaniumBackup which probably is close to what I need but I'm afraid it lacks support for storing to networked location. Any working solution is highly appreciated
bflmpsvz said:
Hello I wonder if making a full phone backup to PC's hard drive would be possible...I mean something similar to Acronis trueimage of Windows partition...but do this on phone with exclusion of the main firmware. Because of no SDcard slot I need store everything to connected PC HDD...
Looked at TitaniumBackup which probably is close to what I need but I'm afraid it lacks support for storing to networked location. Any working solution is highly appreciated
Click to expand...
Click to collapse
Take backup using Cwm and u can reflash it using ir phone again.
Sent from my GT-I9103 using xda premium
You need to root (gain root/superuser access) your device and install a custom recovery. Clockwork Mod is one of the (CWM), TWRP is another (having used both, I prefer TWRP - but you can try either/both yourself). You can then copy or cut the backed-up files from the recovery's folder to your computer.
Thanks, probably give it a try if anything else fails. Would it be possible to mount a windows shared drive to phone's internal filesystem? So that TB could access it as internal folder...
use nandroid backup (cwm)
you must root your device
backup cwm will get what you want
or you can try this GO Backup Pro 2.9
http://www.1mobile.com/go-backup-pro-550518.html
Thanks for your suggestion
LEON_HEART said:
backup cwm will get what you want
or you can try this GO Backup Pro 2.9
Click to expand...
Click to collapse
Thanks for the advices. I finally managed to install CWM
CWM's backup = Nandroid?
This works for SDcard, however the condition to backup directly to my PC's hard drive is not met
Remember I suffer with lack of space on builtin SDcard so I need to exclude it from backup process at all even as temporary location.
One more question about CWM, where can I find the latest version? I have 6.0.1.2.
bflmpsvz said:
Thanks for the advices. I finally managed to install CWM
CWM's backup = Nandroid?
This works for SDcard, however the condition to backup directly to my PC's hard drive is not met
Remember I suffer with lack of space on builtin SDcard so I need to exclude it from backup process at all even as temporary location.
One more question about CWM, where can I find the latest version? I have 6.0.1.2.
Click to expand...
Click to collapse
Yeah, you need to be able to access files in the phone not on sd card, the phone has a seperate memory he wants to access, I think he is asking how to put the phone (everything) onto PC.... im not sure how to do this myself but I will look into it for you, I believe you can access that info but im not sure where the files you want are.
The backup is saved into /sdcard/clockworkmod/blob/ but the problem I have with it is that used soace in internal memory is over 1.5GB while free space on Sdcard is usually several 100s MB...
Sent from LT22i using Tapatalk 2

Restoring Back Up

Well since this was my first root I guess I made a mistake or maybe not?
So this is the case :
I have an HTC One S (Rooted using SuperSu Method)
What I did for backup is just copy all the content from the phone (in hard drive mode) to a folder on my pc (which ended up being around 7gigs)
My question is how do I restore all that data\pics\apps\profiles back to my phone?
(Tried to copy past it back into the phones SD-Card and rebooting, The phone doesn't recognize any of the data)
Any way to actually make this work? or is it a lost cause?
Thanks for the help! :laugh:
As far as apps and their data goes, only some info is saved on the sdcard, the rest is saved on the devices internal memory.
Only restoring the stuff saved on the SD card aint gonna bring back any apps. They need to be reinstalled properly.
Goatshocker said:
As far as apps and their data goes, only some info is saved on the sdcard, the rest is saved on the devices internal memory.
Only restoring the stuff saved on the SD card aint gonna bring back any apps. They need to be reinstalled properly.
Click to expand...
Click to collapse
How about all the Contacts \ Messages and ect?
Because I have all the files on my PC (Exactly the same files that have been on the phone before the ROOT\Unblock)
Can I recover those back to the phone somehow?
Messages and contacts are stored on internal memory, unless you export them.
You dont have access to anything except /sdcard/ through the PC, unless you use ADB.
edit: What I mean is, if you have only backed up /sdcard/ (which seems to be the case), you have lost everything on the internal memory (such as messages and contacts etc).
Goatshocker said:
Messages and contacts are stored on internal memory, unless you export them.
You dont have access to anything except /sdcard/ through the PC, unless you use ADB.
Click to expand...
Click to collapse
So basically even tho I copied all the content from the phone itself to the pc, All I copied is squat.
All the raw data I get is pictures.
So no encrypted data can be found on the storage partition and I have to just start over from scratch?
And the next time I root or flash, just use Recovery backup?
You didnt copy all the content. You only copied what was stored on the /sdcard/ (which is more or less the only thing you have access to without root).
Theres a very slim amount of data android uses on the sdcard, unless the user specifically tells it to.
Next time you flash, you should back up all your apps you want to save with for example titanium backup (requires root, which you now have), save all the contacts to the sim card, and export all messages.
Then after you have wiped and flashed a new rom, just restore the backups with titanium backup again, and import contacts from sim.
The backup/restore in recovery backups/restores the WHOLE system, so when you restore it it will be exactly like the way it was when you made the backup. (edit: to clarify, if you flash a new rom, then restore a backup made on another rom, you will return to that rom the backup was made on)
Goatshocker said:
You didnt copy all the content. You only copied what was stored on the /sdcard/ (which is more or less the only thing you have access to without root).
Theres a very slim amount of data android uses on the sdcard, unless the user specifically tells it to.
Next time you flash, you should back up all your apps you want to save with for example titanium backup (requires root, which you now have), save all the contacts to the sim card, and export all messages.
Then after you have wiped and flashed a new rom, just restore the backups with titanium backup again, and import contacts from sim.
The backup/restore in recovery backups/restores the WHOLE system, so when you restore it it will be exactly like the way it was when you made the backup. (edit: to clarify, if you flash a new rom, then restore a backup made on another rom, you will return to that rom the backup was made on)
Click to expand...
Click to collapse
Got it
I actually found some encrypted data such as : Whats up message history, Some Contacts, Specific apps.
And I recovered all my contacts VIA my google account.
Only thing lost is the applications, which I will reinstall in like 30 minutes.
Anyhow I am quite happy I got into the rooting business, Already feel the different abilities and the uncovered raw code + new line of root supported apps waiting to be savaged by me.
Thank you for the help anyways (and the quick reply as well)
And I think the original ROOT tutorial post should have a step which is a "back-up step" which explains how to back up most of the info before rooting, and the ability to back up with root.
Cheers!

Full(!) backup via ADB

Is there a way to perform a full backup via ADB?
Like a script or a line which creates a flashable full copy of one or all of the phones filesystems to PC.
Not(!)
adb backup -all
which backups merely system settings and not a migrate app which a) does not perform a full backup as it omits random files and b) works internal and neither TWRP backup-tool which only works internal.
andy01q said:
Is there a way to perform a full backup via ADB?
Like a script or a line which creates a flashable full copy of one or all of the phones filesystems to PC.
Not(!)
adb backup -all
which backups merely system settings and not a migrate app which a) does not perform a full backup as it omits random files and b) works internal and neither TWRP backup-tool which only works internal.
Click to expand...
Click to collapse
It can backup/restore your data, it can not backup your ROM/firmware, if you are not rooted, you will only be able to backup/restore user data, you will not be able to backup/restore any of your system apps/system app data, or any other part of system data and system settings, that will require rooting the device.
If you want a complete backup of the operating system and everything else on the device, you will need TWRP.
Sent from my SM-S767VL using Tapatalk
I am rooted. I am running TWRP.
I can't copy large amounts of data from inside the phone because something is buggy; this includes TWRPs backup-function. Copying works fine if and only if controlled by connected PC.
andy01q said:
I am rooted. I am running TWRP.
I can't copy large amounts of data from inside the phone because something is buggy; this includes TWRPs backup-function. Copying works fine if and only if controlled by connected PC.
Click to expand...
Click to collapse
Try flashing a newer or slightly older version of TWRP, it might fix the bugs that you are experiencing in TWRP. Is TWRP set to store your backups on external? Or is it set to store backups on your internal storage? Storing backups in internal takes up too much space, it's best to store backups on external.
As for adb...
https://forum.xda-developers.com/galaxy-nexus/guide-phone-backup-unlock-root-t1420351
There are several switches that can be used to be specific about what you want backed up and what you don't.
Sent from my SM-S767VL using Tapatalk
I updated to TWRP 3.4.0-0 (newest version) and backup from within TWRP still always fails between 20% and 30%. The last 30 to 40 backups failed and the only one that did finish to 100% is still broken and can't be read.
I would be thinking hardware-failure if not for the thing that copying anything from within the phone is super buggy, but copying when controlled from a PC works completely fine.
I guess I'll try the simple adb backup with some more parameters and then move on.
andy01q said:
I updated to TWRP 3.4.0-0 (newest version) and backup from within TWRP still always fails between 20% and 30%. The last 30 to 40 backups failed and the only one that did finish to 100% is still broken and can't be read.
I would be thinking hardware-failure if not for the thing that copying anything from within the phone is super buggy, but copying when controlled from a PC works completely fine.
I guess I'll try the simple adb backup with some more parameters and then move on.
Click to expand...
Click to collapse
How much free space do you have on internal storage? If there is less free space than your system, data and cache partitions combined, that may be why it is failing. Clear some space. I say this because when the backup is being created, the data that you want included in your backup is being read bit by bit from their partitions and then written into cache bit by bit and then it is read from cache bit for bit then it is written to its final storage location bit for bit. If there is not enough space to write it all into cache before writing it to its final location, it will fail.
The same rule applies when you move files from internal to external or vice versa, the same rule also applies when you are extracting files. It requires enough free space to write that data into cache before it goes where it is actually going.
Sent from my SM-S767VL using Tapatalk
Oh come on, I appreciate your efforts, but I felt being treated like a little child from your first answer and this tops it very much. Backup fails at 20-30% with 45GB of free internal space, external MicroSD removed and <10GB of data to backup. Aside from that I doubt that if a lack of free space causes the backup to fail, that this will not cause an error message to tell me what caused the fail.
By now I did the backups that I could backup:
That is I manually pulled all folders I deemed important.
Then I used "adb backup -apk -shared -all -system" which created a 7GB backup.
I also used the buggy migrate-app and ticked all boxes to get a 3GB backup.
And I used Googles cloud-service-backup.
In the end plenty of data and configurations were lost; worst is probably the Corona Warn App data as this can't be remedied.
andy01q said:
Oh come on, I appreciate your efforts, but I felt being treated like a little child from your first answer and this tops it very much. Backup fails at 20-30% with 45GB of free internal space, external MicroSD removed and <10GB of data to backup. Aside from that I doubt that if a lack of free space causes the backup to fail, that this will not cause an error message to tell me what caused the fail.
By now I did the backups that I could backup:
That is I manually pulled all folders I deemed important.
Then I used "adb backup -apk -shared -all -system" which created a 7GB backup.
I also used the buggy migrate-app and ticked all boxes to get a 3GB backup.
And I used Googles cloud-service-backup.
In the end plenty of data and configurations were lost; worst is probably the Corona Warn App data as this can't be remedied.
Click to expand...
Click to collapse
I can't help how you feel and you are entitled to feel however you wantl, but, at the end of the day, it is still only how you "feel", that doesn't make anything true or false. Just saying.
I didn't post anything to make you feel any kind of way, I was merely attempting to be as informative as I could because one can never gauge what someone else knows or understands before your interaction with them.
I've seen some other issues with TWRP backups failing and/or being unreadable, the solution is not a singular solution, there are several reasons why it fails and several fixes to solve it. Have you tried doing some google searches for:
"TWRP backups fail at 40%"
That pulls up some information that might apply or may not, you'll just have to peruse what you find to see if any of seems like it might be what you are experiencing and then try some of the solutions that others have tried. You might get lucky, you might not.
I'm more interested in helping you "find" an answer than whether I "know" the answer or "tell" you the answer.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Have you tried doing some google searches for:
"TWRP backups fail at 40%"
Click to expand...
Click to collapse
Yeah, I've done that for an hour or so before starting a thread - obviously b/c that has the chance for much quicker solutions and seems less work for me.
Also I did try several solutions like update TWRP, try smaller backups (the small ones do usually work) and so on. I think I did mention that I tried this over 40 times.
Some of the solutions suggest installing another ROM first, (apparently the ROM can cause Read-errors within TWRP?) but obviously I want the full backup before I try another ROM so I tried other methods to backup my data.
Also moving data via adb has worked completely without fail so far, so I wanted to try that path.
By now I can tell that TWRP full backup doesn't work on other ROMs either.
andy01q said:
Yeah, I've done that for an hour or so before starting a thread - obviously b/c that has the chance for much quicker solutions and seems less work for me.
Also I did try several solutions like update TWRP, try smaller backups (the small ones do usually work) and so on. I think I did mention that I tried this over 40 times.
Some of the solutions suggest installing another ROM first, (apparently the ROM can cause Read-errors within TWRP?) but obviously I want the full backup before I try another ROM so I tried other methods to backup my data.
Also moving data via adb has worked completely without fail so far, so I wanted to try that path.
By now I can tell that TWRP full backup doesn't work on other ROMs either.
Click to expand...
Click to collapse
Flash an older version or newer version of the exact same ROM as what you have but not doing any of the wipes, just flash ROM and that's it. This is called a "dirty flash", it will not wipe any of your data unless you specifically tell it to.
Alternatively, you could just do a backup via TWRP without including system and boot, just data and maybe cache(cache isn't necessary and might even cause issues if you restore it). Then, if you need to restore, flash the ROM the backup was created from then reboot to system, then boot back into TWRP then use "advanced restore" in TWRP to restore data and cache, this "should" give the same result as including system and boot in the TWRP backup along with data then restoring everything from that backup.
Also, can you post a copy of your recovery logs to some hosting site then link it here, someone here might be able to see something in the log that needs addressing, preferably the logs from the failed backup processes, if they errored in different ways, post the differences also. You should be able to find your logs if you haven't wiped the device.
Sent from my SM-S767VL using Tapatalk

Categories

Resources