[Q]CWM-backup keeps growing - Nexus S Q&A, Help & Troubleshooting

First backups I did with clockworkmod were about 400mb. Now its over 1GB.
data.ext4.tar alone has over 700mb. How could I keep these backups small?

asemore said:
First backups I did with clockworkmod were about 400mb. Now its over 1GB.
data.ext4.tar alone has over 700mb. How could I keep these backups small?
Click to expand...
Click to collapse
Have less apps?
Don't forget to wipe cache and dalvik cache before making your backup too.

Thanks, i'll try wiping cache/dalvik before I perform the backup. Actually, I thought these are not included in the backups.
What about the data partition?
Can I have some stuff removed before the backup?

Related

Nandroid backup..

I did a nandroid backup bit it said fatal error while backing up bpws...or something like that...(one more thing...will nandroid backup...backup my apps if I lost them??)
Sent from my XT720 using XDA App
vari9 said:
I did a nandroid backup bit it said fatal error while backing up bpws...or something like that...(one more thing...will nandroid backup...backup my apps if I lost them??)
Click to expand...
Click to collapse
For some reason we can't back up all the partitions in nandroid. It should be enough to backup system and data. Optional: boot, logo (if you modified M boot logo), cache (usually not necessary), sd data (if you use ext partition on SD card).
With nandroid of system and data (and the others, but only if you use them) you should expect to be able to go back to exactly how your phone was at the time you made the backup. But you will lose changes you made after you made the backups.
When I'm about to start testing ROMs, I backup system and data. To go back to my pre-testing ROM I restore system and data and then wipe cache partition.
Mioze7Ae said:
When I'm about to start testing ROMs, I backup system and data. To go back to my pre-testing ROM I restore system and data and then wipe cache partition.
Click to expand...
Click to collapse
You want to say system and boot ?
Because changing a room modify system.img and boot.img
The boot.img is the same on all the ROMs thanks to the locked bootloader.
Yeah, I never even bother changing boot.img from the sbf version. If I did I'd probably use the Russian one because I think it was the most recently compiled.
Ok, I wasn't knowing that I always flash boot.img that come with ROM.

[Q] Nandroid Backup

So i think my nandroid backup is nuked... i do a wipe/factory reset, wipe the cache etc etc - tried restoring the backup. After 10mins or so of waiting the process completes and i reboot the phone. I have been sitting here for over 1hr looking at the boot animation.
If there is noway to restore the ENTIRE backup, is there a way i can extract specific stuff like my text messages? I really can't afford to lose them
duwii said:
So i think my nandroid backup is nuked... i do a wipe/factory reset, wipe the cache etc etc - tried restoring the backup. After 10mins or so of waiting the process completes and i reboot the phone. I have been sitting here for over 1hr looking at the boot animation.
If there is noway to restore the ENTIRE backup, is there a way i can extract specific stuff like my text messages? I really can't afford to lose them
Click to expand...
Click to collapse
That seems to happen when /datadata is full or there's some other problem with restoring /data, and the system isn't able to boot. Maybe you can wipe /datadata only and see if boots. I also know that TiBu can extract data from nandroid backups, but I'm not positive whether that applies to messaging.
korockinout13 said:
...Maybe you can wipe /datadata only and see if boots...
Click to expand...
Click to collapse
Let me apologize for my ignorance but how do i do that?
duwii said:
Let me apologize for my ignorance but how do i do that?
Click to expand...
Click to collapse
In recovery, go to mounts & storage, and format /datadata. Although my memory fails me as to where messages are stored...
Sent from my SGH-I897
i forgot to mention that this is a fresh installation (i formatted the entire internal storage, basically coming from STOCK).. i still need to do that wipe you refer to?
duwii said:
i forgot to mention that this is a fresh installation (i formatted the entire internal storage, basically coming from STOCK).. i still need to do that wipe you refer to?
Click to expand...
Click to collapse
Well wiping /datadata may (or might not) allow the phone to boot, because the phone can't boot when that partition is completely full. It also might wipe your messages but I'm not positive.

Does wiping data/factory reset erase nandroid backups?

If I have a backup on the internal sd card, when wipe data before flashing a rom, will that delete my nandroid backups? Don't know if I should backup my roms to internal storage or external.
Wipe data won't delete your nandroids on the internal but Odin a stock ROM and you will loose them... all of them.
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Farabomb said:
Wipe data won't delete your nandroids on the internal but Odin a stock ROM and you will loose them... all of them.
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Click to expand...
Click to collapse
okay cool thanks. Just wanted to make sure it doesn't delete after wiping data.
Farabomb said:
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Click to expand...
Click to collapse
LOL at "potentially dumb".
Couldn't have put it any better myself. I use the same procedure, I make a weekly nandroid to the internal storage & then copy the backups to both my 64gig card & also to my PC occasionally.
I can't make a nandroid directly to my 64 gig card as I won't format it to FAT32 because of some of the restrictions of FAT32.
tu3218 said:
If I have a backup on the internal sd card, when wipe data before flashing a rom, will that delete my nandroid backups? Don't know if I should backup my roms to internal storage or external.
Click to expand...
Click to collapse
No put them where ever you want.
Farabomb said:
Wipe data won't delete your nandroids on the internal but Odin a stock ROM and you will loose them... all of them.
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Click to expand...
Click to collapse
Not true...IF you wipe data/factory reset from stock recovery, it reformats the whole internal sd card(everything is wiped). Now if you wipe data from cwm recovery, then no nandroids are not deleted. Also odin does not wipe internal sd either...again you have to boot into stock recovery and wipe data/factory reset to reformat internal sd. I still always back my nandroids up to external sd, just incase my internal ever corrupts, I wont lose them!
droidstyle said:
Not true...IF you wipe data/factory reset from stock recovery, it reformats the whole internal sd card(everything is wiped). Now if you wipe data from cwm recovery, then no nandroids are not deleted. Also odin does not wipe internal sd either...again you have to boot into stock recovery and wipe data/factory reset to reformat internal sd. I still always back my nandroids up to external sd, just incase my internal ever corrupts, I wont lose them!
Click to expand...
Click to collapse
Ahh yeah, that makes sense. That's how it was on my nexus with being just internal storage and nandroids never were deleted. Thanks for the clarification.
droidstyle said:
Not true...IF you wipe data/factory reset from stock recovery, it reformats the whole internal sd card(everything is wiped). Now if you wipe data from cwm recovery, then no nandroids are not deleted. Also odin does not wipe internal sd either...again you have to boot into stock recovery and wipe data/factory reset to reformat internal sd. I still always back my nandroids up to external sd, just incase my internal ever corrupts, I wont lose them!
Click to expand...
Click to collapse
There's something in Odin that wipes it because when I used it to go back to stock it wiped mine...
Either way though, backup your nandroids to your ext card... saves you all the hassle lol
Does not erase backups unless they are stored internally by default
Sent from my SCH-I535 using xda app-developers app
I can see the stock recovery wiping it but since the OP used the term nandroid I assumed CWM. Good to know the stock wipes it clean if there is ever a time I have to send it back.
I had an issue back before we were unlocked and when I ODINed back to stock all the internal SD was wiped. Wasn't too pleased but my fault for not backing up.
Sidenote about backing up. I tend to backup the entire internal and external SD every Sunday. The app I use for backup doesn't see the S3 as a media device so I can't use it to make incremental backups. Is there any program that would do that? I use karens replicator for backup btw. That's the one that doesn't work.
I need to clear it - I made "wipe data/factory reset" in stock ICS recovery menu - is it going to cause deleting ROM (and reboot will make brick) OR just wil get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.
My device is Thinkpad Lenovo tablet (rooted) with Android 4.0.3..my apology by writing in here, but I'm a newbie on this forum and that's why I can't write in some threads, including more relevant ones.
Bumerank said:
I need to clear it - I made "wipe data/factory reset" in stock ICS recovery menu - is it going to cause deleting ROM (and reboot will make brick) OR just wil get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.
My device is Thinkpad Lenovo tablet (rooted) with Android 4.0.3..my apology by writing in here, but I'm a newbie on this forum and that's why I can't write in some threads, including more relevant ones.
Click to expand...
Click to collapse
Well, in the recovery for our device that would just wipe the data and not the ROM. I use TWRP
Sent from my SCH-I535 using xda app-developers app

[Q] Nandroid backup, app and sdext

Good morning, I'm here to do some questions about the nandroid backup.
Fist of all I'm using rashed's cm10.1.5 with halo and I have s2e installed and all running smoothly. I also have Clockwork 5.Now the questions.
1- Can I do a nandroid backup from my clockwork? Do I have to install something? Or something like that? What is the easy way to make a backup of my data?
2- In case I decide to change the rom, can I get my app back with my nandroid backup? How?
3- Will my ext partition in the sd work like before? I mean if the nandroid backup will restore my s2e, my app in the ext partition and the script or it will show an error because the appdata will take more space than the free space in the phone. For example I have my ext part with 400mb occupied. So I do a nandroid backup. When I'm going to restore it, it will restore to te ext, or to the phone?
3- I think this is not number free but number 6534532, and it's a noob (very nooooob) question. I always have trouble when a zip says "flash it from recovery" or "Install it from recovery" and all that options. How I know when I have to choose "Install ZIP from sd card" or "Install UPDATE from sd card"? what is the difference? -because I think that I have half bricked (bootloops, stuck in logo) a lot of times because from this. Thanks from now.
And please forgive my english, my noobing and the big number of questions.
1. Yes you can do a nandroid backup from CWM
2. As CWM backups all the data i.e settings,Google accounts but AFAIK you may lose the apps which were on SDcard
If all apps are on internal memory then you will not lose them (If you want, you can backup all your apps with MyBackup Root)
3. SDext partition has been a hit-and-miss for me on CWM
It did not restore my sdext backup sometimes and when it did, the ROM boot looped
TWRP is the best for wiping/backup/restoring SDext backup
6534532. Choose Install ZIP from SD card.
Install update from SD card means it flashes /sdcard/update.zip from SD card if it exists
Always use 'Install zip'
akiratoriyama said:
1. Yes you can do a nandroid backup from CWM
2. As CWM backups all the data i.e settings,Google accounts but AFAIK you may lose the apps which were on SDcard
If all apps are on internal memory then you will not lose them (If you want, you can backup all your apps with MyBackup Root)
3. SDext partition has been a hit-and-miss for me on CWM
It did not restore my sdext backup sometimes and when it did, the ROM boot looped
TWRP is the best for wiping/backup/restoring SDext backup
6534532. Choose Install ZIP from SD card.
Install update from SD card means it flashes /sdcard/update.zip from SD card if it exists
Always use 'Install zip'
Click to expand...
Click to collapse
mmm The bakcup save the app in the phone. But how about the symlinks that are created in the phone that directs to the ext? It will backup the app anyway in the ext or only will backup the "Link"?
Another question. The Dalvik cache is important? Because I can move all the app to the phone, but if I move the app, the app data and the dalvik cache all that get bigger than my internal memory, but if I move only the app and the app data it fits perfectly. So can i backup the app and the data only and wipe the dalvikcache?
Dalvik cache is not important while backing up
AFAIK SDext backup saves the links only
But I have limited knowledge on SDext backups
Asking @ibub @Junior Einstein and @shinobisoft
Sent from my GT-I9082 using xda premium
I think I'll move all the app and the appdata to internal memory and then do the backup. So all the app and the data will be saved. And after flashing rom y will put it. But the dalvik cache i'll leave in the sdext. So it will be erased, but i was thinking it doens't matter, but I wanted an expert opinion, to aovid getting bootloops or have to reflash the rom 2 or 3 times or whatever problem can be found. Thanks a lot.
akiratoriyama said:
Dalvik cache is not important while backing up
AFAIK SDext backup saves the links only
But I have limited knowledge on SDext backups
Asking @ibub @Junior Einstein and @shinobisoft
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
The backups, for any partition, besides cache and dalvik cache, are exact duplicate images of the partition(s). Comparable to that of an ISO image for the PC.
akiratoriyama said:
Dalvik cache is not important while backing up
AFAIK SDext backup saves the links only
But I have limited knowledge on SDext backups
Asking @ibub @Junior Einstein and @shinobisoft
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
If you choose to backup both sd-ext and the data then the apps symlinked to the sd-ext will be restored on restoring from the clockwork recovery...
Hit thanks if i helped you.. !

[Q] full wipe

Hey,
I want to do a full wipe (incl internal storage). But do I loose my TWRP then?
Thanks!
Nope. But if you do a complete wipe you'll lose everything that's on the internal SD.
No, a full wipe is wiping system, data, cache, and dalvik cache. Your internal storage isn't touched unless you specifically wipe it as well.
Heisenberg said:
No, a full wipe is wiping system, data, cache, and dalvik cache. Your internal storage isn't touched unless you specifically wipe it as well.
Click to expand...
Click to collapse
But I want to wipe my internal storage because there's a lot of things I don't need.
I want to clean my device from folders my phone never uses.
tijsje69 said:
But I want to wipe my internal storage because there's a lot of things I don't need.
I want to clean my device from folders my phone never uses.
Click to expand...
Click to collapse
Are you worried about losing a TWRP backup or the actual recovery? If you wipe internal storage you'll lose everything that's on it, including any TWRP backup. But, no matter what you wipe inrecovery you'll never erase TWRP.
Heisenberg said:
Are you worried about losing a TWRP backup or the actual recovery? If you wipe internal storage you'll lose everything that's on it, including any TWRP backup. But, no matter what you wipe inrecovery you'll never erase TWRP.
Click to expand...
Click to collapse
And no system files will be deleted? So my phone works just fine?
Allright thanks for the answer!
tijsje69 said:
And no system files will be deleted? So my phone works just fine?
Allright thanks for the answer!
Click to expand...
Click to collapse
Week of course system files will be deleted if you do a full wipe, because a full wipe entails wiping the system partition. Exactly what are you trying to do? Are you flashing a new ROM?
Heisenberg said:
Week of course system files will be deleted if you do a full wipe, because a full wipe entails wiping the system partition. Exactly what are you trying to do? Are you flashing a new ROM?
Click to expand...
Click to collapse
No just clean up my phone by only wiping my internal storage.

Categories

Resources