Enormous NAND backup sizes - One (M7) Q&A, Help & Troubleshooting

So since sdcard is now part of /data, when I make a NAND backup the size is almost 4GB, since I have a bunch of music stored locally from Google Music. Is there anyway to get TWRP to ignore the sdcard directory when backing up (since it doesn't get wiped anyway) so that each backup I make isn't ginormous? I'm already down to only 15GB left on this phone. I know I could have it just not backup the data partition, but then restoring from a backup would only restore the OS and not the apps and configuration I previously had (which is kinda the whole point of a backup, since otherwise I could just fresh install a new ROM).

cant you just copy them over to your computer? and keep one on the phone for safety?

Just created a nandroid backup with CWM touch, mine came out as 2.1GB, not sure why your backup is so large
Sent from my HTC One using xda app-developers app

Mine are usually around 1.5GB. But I don't keep music and videos on mine.
Sent from my HTC One using xda app-developers app

Since the /sdcard data is sharing with the same partition as the /data doing a nandroid backup would depend on how much space is consumed by your sdcard.

So I guess nothing I can do, then? Thanks anyway.

Does this mean a Nandroid backup of the One would backup photos and media too?

dnydny said:
Does this mean a Nandroid backup of the One would backup photos and media too?
Click to expand...
Click to collapse
Yes!

Problem is that Google Music cache is in /data/data folder, so Twrp backs it up. Solution is to create a folder on /sdcard and symlink the Google Music cache folder to it. Twrp won't back it up because it doesn't follow symlinks nor does it backup /sdcard. There are several posts on the subject, just search.

Riyal said:
Yes!
Click to expand...
Click to collapse
I don't believe it does, I don't think Nandroid would perform backup functions differently on different devices but coming from the SGN I - I can tell you that all Nandroid backups are basically settings and OS files as well as Apps / App Data. For the most part, when you do a Wipe / Format on your phone, it is only removing the OS files and installed Apps. It does not backup your photos / videos as it never really removes that data to begin with and so you should see your stuff there even after installing a fresh copy of the ROM. If you go into advanced functions in CWM and format your card, then you will wipe the entire device off.
IIRC CWM started taking nandroid backups very differently from a few versions ago, there's now a "blobs" folder in the backup folder and that is the one that grows exponentially in size. I believe that was done to only make incremental backups easy but the downsize is grows massive.
I cannot give you a guaranteed answer if deleting the blobs folder is safe or not but I have deleted it in the past and eventually resorted to just keeping the most recent backup by deleting all backups / blobs and then doing a fresh backup.

click compression and mines 1 gig

A nandroid backup also backs up the data directories and your downloaded Goggle Music songs are in that data directory. Therefore whenever your do a nandroid backup, the songs will be backed up as well, increasing your final size...
Sent from my Nexus 7 using xda app-developers app

encrypshun said:
I don't believe it does, I don't think Nandroid would perform backup functions differently on different devices
Click to expand...
Click to collapse
The recovery may very well perform nandroids differently on "data/media" services such as the htc one. Check out http://teamw.in/DataMedia
Sent from my PC36100 using xda app-developers app

I'll try the symlink trick, thanks.
Sent from my HTC One using xda app-developers app

is there an app that lets you browse nandroid contents so you can confirm what has been backed up?

http://forum.xda-developers.com/showthread.php?t=2044414

Ok just to answer my own question.
I just took a nandroid backup of One of my phones and restored it to my other one.
Music and Gallary did not come across.
If anyone else wants me to verify anything I'm more than happy to as I have both phones in front of me and all my settings and profiles are there, just no media.

Related

[Q] Will I be able to back up saved games before flashing a ROM or wiping my device?

Subject says it all. I'm looking at flashing Cognition but I'm hesitant if I will lose all saved games. I have titanium backup but have only used it to removed at&t bloatware. Can I use that to backup saves? And if so.. how?
Sent from my SAMSUNG-SGH-I897 using XDA App
I use titanium backup and it has always restored my Angry Birds' saved games... I was three star-ing everything so I wasn't about to flash and lose it all either HAHA. I say use TiBu and you should be fine, though there are anomalies and I am not responsible for any lost saved games haha
Is there a "how-to" for titanium backup?
Sent from my SAMSUNG-SGH-I897 using XDA App
TiBu -> Menu -> Batch -> Backup all user apps
Flash ODIN
Flash new rom (you can click wipe data, it doesnt delete your sd card stuff, in fact, i recommend it)
Install TiBu (if your rom doesn't have it included)
TiBu -> Menu -> Batch -> Restore all apps with data
Click install, install, install. Done.
If you're really anal (which i was for a while), put in an external sd card and copy the titaniumbackup folder from your root folder to the external sd card and then take it out. lol
Ah sweet. So if I'm understanding those steps... the internal sd card is not treated like internal ROM storage that is wiped when you flash your phone?
Sent from my SAMSUNG-SGH-I897 using XDA App
No, but if you did, for instance, an Odin 3 one click back to stock, and clicked the master clear button, or if you do a factory reset, etc., that would wipe the internal SD card. So, if your ocd like me, connect to your pc and mount the SD card, and transfer everything on it to the PC hard disk. Then repeat that whenever you're going to flash. Just in case, you know.
Backup all user apps or backup all user apps + system data?
Sent from my SAMSUNG-SGH-I897 using XDA App
Do all backup stuff. You can later select what to restore. You can go in and just restore browser favorites if you want.
Demonic240 said:
Backup all user apps or backup all user apps + system data?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Sent from my HTC HD2 using Tapatalk Pro
Thank you all for the info! There's a reason these forums rock!
Sent from my SAMSUNG-SGH-I897 using XDA App

[Q] I'm an idiot! Undelete files after CWM wipe?

While updating the ROM in my phone I did a CWM wipe without realizing it would wipe the external sdcard as well, which of course is where my Titanium Backup is stored. Does anyone know whether CWM reformats or just deletes the files, and whether there's a prayer of recovering things? I'm familiar with utilities which will look for image files and reconstruct them, but I'm more concerned with my TiBu files.
Bill
BillShepp said:
While updating the ROM in my phone I did a CWM wipe without realizing it would wipe the external sdcard as well, which of course is where my Titanium Backup is stored. Does anyone know whether CWM reformats or just deletes the files, and whether there's a prayer of recovering things? I'm familiar with utilities which will look for image files and reconstruct them, but I'm more concerned with my TiBu files.
Bill
Click to expand...
Click to collapse
A CWM wipe of what?
Sent from my CM7 powered captivate
Its actually a proven fact that flash mem may always hold deleted data. The problem is finding a good application.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
google / torrent download some " flash data restore software "
To follow-up, I used PhotoRec, which is an open source (free) package which runs on virtually all platforms. It's not the most UI-friendly package, but it's extremely effective at recovering all forms of files, including music, movies, and archives. I'm still working through, but I've recovered hundreds of photos, movies, and audio files, and have found most of the Titanium Backup files (though I'll need to manually restore the data, I think).
Nonetheless, it's good to know that it's somewhat possible to restore a great deal of lost data...
Never done it from a sd card before, but there is software out there. Another good reason to always remove your sim and external sd when flashing. Good luck... hope you get it back.
Sent from my SAMSUNG-SGH-I897 using XDA App

[Q] wiped internal sd can it be restored

hello
any way to restore the internal SD card after an accidental deletion?
thanks.
i lost pretty much everything
restore deleted files or restore your system ?
retareq said:
restore deleted files or restore your system ?
Click to expand...
Click to collapse
i found a program that restores my media files, its running atm stellar photo,media and video recovery. so i decided to buy it.
but i am more intrested in my data files (save games, configuration files for luchners, and other configuration files for stuff....)
now its just an experiment, i was thinking to mount the phone in linux (there are many ways to achive it in linux) and try to restore data from there since there is no option to restore data of ext partions in windows...
I have made it a habit of keeping weekly backups from rom manager. Just the thought of what your going through and the amount of pain that comes with it makes me tremble. I royally f'd up my phone 5 times already and I just restore my backup and back to normal without the headaches.
Good luck with your recovery mission.
You can use PhotoRec and/or TestDisk from your Linux machine.
This happened to me once before, but luckily I am taking weekly backups of internal and external SD to a portable HDD.
Sent from my Optimus 2X using xda premium
hisham027 said:
This happened to me once before, but luckily I am taking weekly backups of internal and external SD to a portable HDD.
Sent from my Optimus 2X using xda premium
Click to expand...
Click to collapse
what about backing up with a schedule the games directory for example?
how would you do that?
shpapy said:
what about backing up with a schedule the games directory for example?
how would you do that?
Click to expand...
Click to collapse
Well I dont mind loosing a weeks game data, since I am not playing much games these days. But if you want to backup those folders you can use the app 'Titanium Media Sync' to automatically backup selected folders to your dropbox account.
hisham027 said:
Well I dont mind loosing a weeks game data, since I am not playing much games these days. But if you want to backup those folders you can use the app 'Titanium Media Sync' to automatically backup selected folders to your dropbox account.
Click to expand...
Click to collapse
Thanks
Sent from my LG-P990 using XDA App

what is the difference between cw backup and titanium backup?

what is the difference between cw backup and titanium backup?
which is better, more safe (for brick issue) , faster ...
what is meant by nandroid backup?
Difference between Nandroid and Titanium backup
I am glad I found this, I have been looking for a thread I could submit a useful post in so that I would be able to see the thank button.
Nandroid backup is the type of backup that CWM does.
i.e. when your phone is rooted you can go into the recovery and one of the options is nandroid backup.
A nandroid backup copies every single byte of data stored in the phone onto your SD card (or wherever) and is an absolute backup of one particular state of your phone.
It is a very powerful tool, you do a nandroid backup before flashing anything and if it all goes wrong the nandroid backup will restore everything back to the way it was before you messed it all up.
(with the Note you need to be careful because the nandroid backup does a wipe and write on restore and that will trigger the hard brick issues with the leaked ICS ROMs that you will no doubt have read about in the stickies.
Titanium backup is a tool that is run from inside the OS and can back up the installation files and app data of all your apps, it will allow you to remove and replace individual apps or batch replace the whole lot.
It can also force the OS not to update certain apps if you want them to run at an older version.
It can sync its backup files to Dropbox or Google drive too.
I guess in a nutshell the differences are these:
Nandroid will only back up a snapshot of the whole phone but does not need a working OS to do it.
Titanium will only work if you can get the phone to boot into android but it can do more specific backups and roll backs.
Let me know if that has answered your question buddy.
amateurstuntman said:
I am glad I found this, I have been looking for a thread I could submit a useful post in so that I would be able to see the thank button.
Nandroid backup is the type of backup that CWM does.
i.e. when your phone is rooted you can go into the recovery and one of the options is nandroid backup.
A nandroid backup copies every single byte of data stored in the phone onto your SD card (or wherever) and is an absolute backup of one particular state of your phone.
It is a very powerful tool, you do a nandroid backup before flashing anything and if it all goes wrong the nandroid backup will restore everything back to the way it was before you messed it all up.
(with the Note you need to be careful because the nandroid backup does a wipe and write on restore and that will trigger the hard brick issues with the leaked ICS ROMs that you will no doubt have read about in the stickies.
Titanium backup is a tool that is run from inside the OS and can back up the installation files and app data of all your apps, it will allow you to remove and replace individual apps or batch replace the whole lot.
It can also force the OS not to update certain apps if you want them to run at an older version.
It can sync its backup files to Dropbox or Google drive too.
I guess in a nutshell the differences are these:
Nandroid will only back up a snapshot of the whole phone but does not need a working OS to do it.
Titanium will only work if you can get the phone to boot into android but it can do more specific backups and roll backs.
Let me know if that has answered your question buddy.
Click to expand...
Click to collapse
thx alot for ur reply
amateurstuntman said:
I am glad I found this, I have been looking for a thread I could submit a useful post in so that I would be able to see the thank button.
Nandroid backup is the type of backup that CWM does.
i.e. when your phone is rooted you can go into the recovery and one of the options is nandroid backup.
A nandroid backup copies every single byte of data stored in the phone onto your SD card (or wherever) and is an absolute backup of one particular state of your phone.
It is a very powerful tool, you do a nandroid backup before flashing anything and if it all goes wrong the nandroid backup will restore everything back to the way it was before you messed it all up.
(with the Note you need to be careful because the nandroid backup does a wipe and write on restore and that will trigger the hard brick issues with the leaked ICS ROMs that you will no doubt have read about in the stickies.
Titanium backup is a tool that is run from inside the OS and can back up the installation files and app data of all your apps, it will allow you to remove and replace individual apps or batch replace the whole lot.
It can also force the OS not to update certain apps if you want them to run at an older version.
It can sync its backup files to Dropbox or Google drive too.
I guess in a nutshell the differences are these:
Nandroid will only back up a snapshot of the whole phone but does not need a working OS to do it.
Titanium will only work if you can get the phone to boot into android but it can do more specific backups and roll backs.
Let me know if that has answered your question buddy.
Click to expand...
Click to collapse
Thats incorrect as per my post regarding backup cwm does not take a snapshot of whole phone. One more thing you need to backup seperately is efs. See my thread on that. http://forum.xda-developers.com/showthread.php?t=1606012
Sent from my GT-N7000 using Tapatalk 2

[Q] RESTORE Not working!

I used the sony backup and restore app on the phone.
I then unlocked my bootloader, this is all on .290 firmware
In the middle of restoring, it reboots.
any ideas? I still have the .semc-fullbackup folder on my SD card, is there any way i can extract those or something? they are not APK's and sony PC companion software saves stuff as one big dbk file so i couldnbt drag it into there... any help would be much appreciated... my messages are very much needed!
c6903 tmobile usa
anyone?
stealthj said:
I used the sony backup and restore app on the phone.
I then unlocked my bootloader, this is all on .290 firmware
In the middle of restoring, it reboots.
any ideas? I still have the .semc-fullbackup folder on my SD card, is there any way i can extract those or something? they are not APK's and sony PC companion software saves stuff as one big dbk file so i couldnbt drag it into there... any help would be much appreciated... my messages are very much needed!
c6903 tmobile usa
Click to expand...
Click to collapse
i'm guessing sony back and restore app only works with locked bootloader?
try a third party app from playstore, there are some who don't require root.
I relocked the boot loader and still the same thing. Any way to get data out of these files??
Sent from my Nexus 7 using xda app-developers app
Have you tried factory resetting your phone? It works on mine.
Sent from my C6903 using XDA Premium 4 mobile app
Yes I've relocked, reflashed, re updated, tried again, didn't work, unlocked bootloader again, didn't work
Sent from my C6903 using xda app-developers app
try doing a selective restore to get back stuff like contacts and sms etc, at least you will have the important stuff, then just re-install all your apps - settings may also restore some stuff
Backup and restore does not backup your homepage folders and stuff like that, I have an SD card which I use for all my music pics videos and files, you can also copy the contents of your internal SD card/drive to a computer as a backup of those
You can also export your contacts as a VCF to your PC
Unfortunately I can't rely on backups working all the time especially if you are trying to restore a backup to a new version of FW, so I keep and hour a week and do a lot of stuff manually
PC Companion is the best option if trying to restore to newer devices or FW/OS it can often do a conversion on the fly
I've never tried any 3rd party backup app but I'd assume they are more flexible
Geoffxx said:
try doing a selective restore to get back stuff like contacts and sms etc, at least you will have the important stuff, then just re-install all your apps - settings may also restore some stuff
Backup and restore does not backup your homepage folders and stuff like that, I have an SD card which I use for all my music pics videos and files, you can also copy the contents of your internal SD card/drive to a computer as a backup of those
You can also export your contacts as a VCF to your PC
Unfortunately I can't rely on backups working all the time especially if you are trying to restore a backup to a new version of FW, so I keep and hour a week and do a lot of stuff manually
PC Companion is the best option if trying to restore to newer devices or FW/OS it can often do a conversion on the fly
I've never tried any 3rd party backup app but I'd assume they are more flexible
Click to expand...
Click to collapse
Can't seem to do a selective restore on the stock sony backup and restore app. You have a way of doing that? I have all my contacts and other stuff were all saved to my google accounjt, its just those SMS's that I need
stealthj said:
Can't seem to do a selective restore on the stock sony backup and restore app. You have a way of doing that? I have all my contacts and other stuff were all saved to my google accounjt, its just those SMS's that I need
Click to expand...
Click to collapse
Maybe try downgrading back to the firmware on which you did the backup and see if the restore function works. If it does restore your data and try to get a backup using Titanium Backup or other software.
Unfortunately I tried that already, seems like a part of the restorenis corrupt? This is really odd. Anyone know how to take data out of the backups?
Sent from my Nexus 7 using xda app-developers app
Any idea??
Sent from my C6903 using xda app-developers app
unfortunately not, I assume you've never done a backup using PCC
There might be some software out there that can extract the contents of the backup or there might be an update to the software at some point if it's not working properly
I was going to suggest rolling back to a previous firmware you never know, always keep a backup using PCC
Nah I didn't start messing with pc companion until my restore didn't work and I was looking for new ways to extract my backup but I guess they're in different formats. I'll keep looking, later I'll open the conversations backup with wordpad and see whats in there... its 50mB though...
Sent from my C6903 using xda app-developers app

Categories

Resources