Does anyone know of a way to reduce the size of my nandroid backups. I see it backing up cache and temp files. Where can I find some of these files to clear them out.
sgtagem said:
Does anyone know of a way to reduce the size of my nandroid backups. I see it backing up cache and temp files. Where can I find some of these files to clear them out.
Click to expand...
Click to collapse
I use the root app SD Maid...lets you clean up all those pesky leftovers.
This is one of the advantages of AMON recovery, it allows you to pick what you want backup. CWM does not have this yet...you could try moving the files to another folder and editing the md5 file. This way when it restores it doesn't run into a md5 error.
Related
I tried the lagfix here http://forum.xda-developers.com/showpost.php?p=7632258. It didn't work for me (got rid of my apps, etc) using 'ext4'. So I reverted to a nandroid backup. I've got a large 'ext4 image' file on my sdcard. I am wanting to know if I just need to delete this file to get back to my pre lagfix state or are there some other procedures I need to do? (like repartition my sdcard or delete other files, etc)
TIA
bird333 said:
I tried the lagfix here http://forum.xda-developers.com/showpost.php?p=7632258. It didn't work for me (got rid of my apps, etc) using 'ext4'. So I reverted to a nandroid backup. I've got a large 'ext4 image' file on my sdcard. I am wanting to know if I just need to delete this file to get back to my pre lagfix state or are there some other procedures I need to do? (like repartition my sdcard or delete other files, etc)
TIA
Click to expand...
Click to collapse
If you've just got a big ext4 left after a nandroid restore on your SD you can just delete it (I'm assuming you're talking about the area that's browseable from Windows)
Yes the filename is image.ex4. It is on my sdcard. I don't know if that's all I have, that's why I am asking is there more to get rid of?
Before people start coming in to flame me for using the search button, please let me clarify that i have looked into several threads on xda and none of them provided me with a clear cut answer of what i wanted to know.
I understand first of all is that nandroid backup is a complete image of what is on the phone which should include stuff like settings, sms, call logs, data etc. What i have not found, however, if they keep other files that are lying around in the phone. For example, most of my Nexus S consists of videos and music (7-10GB) and in separate folders that are not tied to any apps in particular. Hence, if they are included in nandroid backup i would not have sufficient storage to do so (reminder that Nexus S has 16 GB)
I have "accidentally" posted on the galaxy S forum of xda and someone pointed out that it backs up apps and data from the internal SD. As far as i know this is slightly different with Nexus S because i observed that most apps are already installed in the "external" SD portion of the data.
Overall, i'm just a little confused. Can anyone clarify this?
It is just apps and data. The sd card is i believe split so that it doesnt touch your music, videos, and images. It just takes care of the main system stuff like apps and settings. Hoped i helped
Sent from my Nexus S using XDA Premium App
But aren't most apps on the nexus S installed on the sd card section of the storage? At least they are under Settings->Application settings->Manage applications->USB Storage
For example my Gameloft games would be almost 1 GB in size so would that be backed up as well. I will end up with gigantic nandroid backups.
A nAnroid backup includes
.android_source - apps2sd information/apps stored on /sdcard
boot - boot image
cache - cache files stored on /cache
data - apps, dalvik other stuff on /data
recovery - recovery image
system - system apps, frameworks modules etc on /system
nadroid.md5 - md5 information
nandroids do not include anything on the /sdcard other than .android_source.
how to do it? by using CWM?? am i wrong or correct??
ciwek90 said:
how to do it? by using CWM?? am i wrong or correct??
Click to expand...
Click to collapse
Correct.
Flash ClockworkMod.
(You might have to rename /etc/install-recovery.sh to get it to stick.)
Boot into fastboot (volumeUp+ power).
Recovery - Backup and Restore - Backup.
Maximilian Mary said:
Correct.
Flash ClockworkMod.
(You might have to rename /etc/install-recovery.sh to get it to stick.)
Boot into fastboot (volumeUp+ power).
Recovery - Backup and Restore - Backup.
Click to expand...
Click to collapse
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
ciwek90 said:
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
Click to expand...
Click to collapse
Nandroid is basically all or nothing. There is an advanced restore which can restore only the partitions you want (like system or data), but it probably won't play nicely with a custom rom. Your best best is to use titanium backup for user apps & data, and perhaps some select system data like texts, bookmarks, and wifi settings. Check out the batch backup/restore options for user apps & data.
ciwek90 said:
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
Click to expand...
Click to collapse
Nandroid backup backs up everything including the rom... so NO you can't restore apps with it.
To just save apks/apps you use eg Titanium Backup.
NOW i know it! Thank you so much @Maximilian Mary and @rentaric for helping me!
Nandroid = for backup/restore previous rom
Titanium = for backup/restore data & apps
Thanks again!
rentaric said:
Nandroid backup backs up everything including the rom... so NO you can't restore apps with it.
To just save apks/apps you use eg Titanium Backup.
Click to expand...
Click to collapse
Bro, does nandroid backup include the IMEI also?
heyimCHOLO said:
Bro, does nandroid backup include the IMEI also?
Click to expand...
Click to collapse
Some recoveries have this option buy many don't, just boot to your recovery and see if it is listed as an option, if not, then no
Your apps will still be on your sd card because your just restoring your operating system that you had with all of it settings it will show all of your apps you had but if you deleted it from the sd card when you try opening it it would say app not installed. Nandroid backup saves everything in settings and operating system apps will be on sd card. Some apps can be included in nandroid it just depends where they are located when back up is saved.
I hope someone can help me. I have a 16 gig GS3. When I plug it in to the computer It says I have 1.5gb free out of 11.9gb. This is after I deleted all but the rom I am using and most of my backups. I've tried using directorybind to move some apps but shadowgun was the only big one I had and I just deleted it. Also, if I check the properties on all the files in the sd card it comes to 8.5gb. That leaves 2gb of unseen files. If that is the OS then why do I only have 11.9gb available. I am kindof wondering if I am making a new partition everytime I flash one of these wonderful roms peope are making. Does anybody know how I can free up some space on here. I'm not storing anything on there and it wont be long before I have no room what so ever.
Nate Rules said:
This is after I deleted all but the rom I am using and most of my backups.
Click to expand...
Click to collapse
What recovery are you using? How exactly did you delete most of your backups?
If you're using some version of CWM 6, it stores the meat of your backup in the /sdcard/clockworkmod/blobs directory. If you delete the backups in the backup folder, the blobs it references won't be deleted. Reboot into recovery, backup and restore, and free up nandroid space. That will delete any blobs that aren't associated with a backup. See if that gets you your space back.
Oh, and never delete stuff in the blobs folder, at least not if you expect your backups to work.
lazarus2405 said:
What recovery are you using? How exactly did you delete most of your backups?
If you're using some version of CWM 6, it stores the meat of your backup in the /sdcard/clockworkmod/blobs directory. If you delete the backups in the backup folder, the blobs it references won't be deleted. Reboot into recovery, backup and restore, and free up nandroid space. That will delete any blobs that aren't associated with a backup. See if that gets you your space back.
Oh, and never delete stuff in the blobs folder, at least not if you expect your backups to work.
Click to expand...
Click to collapse
Ok, before I do this, let me make sure I understand you completely. I don't think I have done any restoring. So are all my backups stored in the blob? And a backup and a restore will take it down to one backup? Do I delete the blob and then do a new backup? I'm pretty sure this is my problem, because I was wondering why my backups were only about 20 megs.
lazarus2405 said:
What recovery are you using? How exactly did you delete most of your backups?
If you're using some version of CWM 6, it stores the meat of your backup in the /sdcard/clockworkmod/blobs directory. If you delete the backups in the backup folder, the blobs it references won't be deleted. Reboot into recovery, backup and restore, and free up nandroid space. That will delete any blobs that aren't associated with a backup. See if that gets you your space back.
Oh, and never delete stuff in the blobs folder, at least not if you expect your backups to work.
Click to expand...
Click to collapse
Sorry Lazarus, I reread your post and realized that free up nandroid space must be an option. I did it and it cleared up 3gb of space. So I have some breathing room. But that still leaves 7gb of stuff on my internal sdcard. Seems like alot when I am trying to minimize stuff on there. Also, I still feel like my partition is shrinking. I am pretty sure there was at least 13gb there a couple weeks ago and now there is 11.9gb.
Nate Rules said:
Ok, before I do this, let me make sure I understand you completely. I don't think I have done any restoring. So are all my backups stored in the blob? And a backup and a restore will take it down to one backup? Do I delete the blob and then do a new backup? I'm pretty sure this is my problem, because I was wondering why my backups were only about 20 megs.
Click to expand...
Click to collapse
First, don't delete blobs. Bad stuff will happen.
When I said "reboot into recovery, backup and restore, and free up nandroid space", I meant in navigating the menus in CWR. When you get into recovery, select "Backup and Restore", then go to "Free Nandroid Space". If you already deleted the 20mb backup files you don't need, selecting that option will free the rest of the space. Also, any time you make a new backup, CWR will try to do the same thing before starting the backup. This way, you can selectively keep the backups you need and discard the ones you don't.
Again, don't delete any blobs and expect your backups to work. If for some reason you wanted to get rid of all your backups, you could delete the entire clockworkmod folder, and CWR will remake any directories it needs when you make your next backup. The downside of freeing space this way is you'd loose all of your backups, of course.
The reason this changed in CWM6 is to save space. Instead of backing up whole partitions in one huge file, it backs up each individual file into the blobs folder. If you back up often and much doesn't change much in between backups, CWR will only make another copy of files that actually changed. Smart, eh?
Hi,
Since recently I've noticed on Ext_sd card a folder in clockmod called "blobs", I mean I don;t really care for it, but I checked and it is using tone of space over 1GB sometime 2GB.
Is it necessaries and for what? Pretty much what are these files and how did they get there?
Thank you.
That's the actual file data from your ClockworkMod/nandroid backups.
jburchm1 said:
That's the actual file data from your ClockworkMod/nandroid backups.
Click to expand...
Click to collapse
There's 2 kinds of backup formats with the newer CWMR, 'dup' & 'tar. The 'dup' format makes a 'blob' folder where all the actual data is stored, it's kinda like an 'incremental' back up. It will only backup any changes and new stuff since your last backup, without repacking everything. This makes the backup a bit faster and somewhat smaller. The 'tar' backup is the old backup method, it backs up everything on the deviceevery timee you run it.
Read this, starting at #9, it explains it a bit better:
http://forum.xda-developers.com/showthread.php?t=1836754
^this
And this:
http://en.wikipedia.org/wiki/Binary_large_object
http://en.wikipedia.org/wiki/Binary_blob
scootertrashtx said:
There's 2 kinds of backup formats with the newer CWMR, 'dup' & 'tar. The 'dup' format makes a 'blob' folder where all the actual data is stored, it's kinda like an 'incremental' back up. It will only backup any changes and new stuff since your last backup, without repacking everything. This makes the backup a bit faster and somewhat smaller. The 'tar' backup is the old backup method, it backs up everything on the deviceevery timee you run it.
Read this, starting at #9, it explains it a bit better:
http://forum.xda-developers.com/showthread.php?t=1836754
Click to expand...
Click to collapse
I'll read thanks, but to be short, is there a way to do it like before or it's not an option?
Just saying the blob is triple the size on my Ext. Sd card.
odeccacccp said:
I'll read thanks, but to be short, is there a way to do it like before or it's not an option?
Just saying the blob is triple the size on my Ext. Sd card.
Click to expand...
Click to collapse
Yes... go to the Skyrocket Development Forum, and read the "[RECOVERY][CWM] ClockworkMod v6.0.1.2 Touch" thread (v11), by sk8erwitskil. You can go into the Backup/Restore option and set your format to either "dedup" or "tar". Blob folders are created with the dedup format. I wanted to avoid incremental backups and multiple folders so I'm using the .tar format... works just like it did in previous touch recoveries. You should also be able to restore nandroids done in previous Touch Recovery version (i.e., 5.5.0.4) in 6.0.1.2. Tar format took 3m45s to backup ~ 1.2Gb.
http://forum.xda-developers.com/showthread.php?t=1777970
DoctorQMM said:
Yes... go to the Skyrocket Development Forum, and read the "[RECOVERY][CWM] ClockworkMod v6.0.1.2 Touch" thread (v11), by sk8erwitskil. You can go into the Backup/Restore option and set your format to either "dedup" or "tar". Blob folders are created with the dedup format. I wanted to avoid incremental backups and multiple folders so I'm using the .tar format... works just like it did in previous touch recoveries. You should also be able to restore nandroids done in previous Touch Recovery version (i.e., 5.5.0.4) in 6.0.1.2. Tar format took 3m45s to backup ~ 1.2Gb.
http://forum.xda-developers.com/showthread.php?t=1777970
Click to expand...
Click to collapse
Thank you very much
DoctorQMM said:
Yes... go to the Skyrocket Development Forum, and read the "[RECOVERY][CWM] ClockworkMod v6.0.1.2 Touch" thread (v11), by sk8erwitskil. You can go into the Backup/Restore option and set your format to either "dedup" or "tar". Blob folders are created with the dedup format. I wanted to avoid incremental backups and multiple folders so I'm using the .tar format... works just like it did in previous touch recoveries. You should also be able to restore nandroids done in previous Touch Recovery version (i.e., 5.5.0.4) in 6.0.1.2. Tar format took 3m45s to backup ~ 1.2Gb.
http://forum.xda-developers.com/showthread.php?t=1777970
Click to expand...
Click to collapse
nice work
Hi guys,
I just wish to know what if I try to restore my backup after deleting "Clockworkmod/blobs" folder from internal memory of my device? Would I be able to restore the ROM? Or "Blobs" folder is also important to restore the backup?
The size of Backup folder is just 12.4 MB and size of "Blobs" folder is 1.2 GB, so I am assuming that "Blobs" folder is also important to restore the backup?
Hi nice_guy75,
since Version 6 of CWM they use a new backup format.
Koushik Dutta (Koush) said:
New ClockworkMod Backup Format
ClockworkMod Recovery now deduplicates files between builds. This results in way smaller backups.
Don't delete /sdcard/clockworkmod/blobs
Overview
I've gotten a few questions about how this works, so I figured I'd make a post on it. Basically, here's what happens:
The files being backed up are hashed (sha256, not that it matters). Then it checks for a file with the name of the hash in
/sdcard/clockworkmod/blobs
So, if the hash of the file was c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed, it looks for /sdcard/clockworkmod/blobs/c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed
If the hash file is found, it continues on to the next file. Otherwise, it copies the file to the blobs directory with the file name being the hash.
ROMs and user data, for the most part, do not change too much between builds and backups. So, your APKs, system files, etc, are generally only stored once. This saves a ton of space. Especially between incremental backups.
Some of you may be thinking "well, how do I delete a backup?".
First, never delete the blobs directory. This would actually delete all your backups by rendering them unusable.
Simply delete the usual backup directory, and the next time you run a backup, all the unused hash files will be automatically delete (a process known as garbage collection). The recovery will show "Freeing space..." while this is happening.
Click to expand...
Click to collapse