Clockwork Backup & /SDCARD/Android - Verizon Droid Charge

Hi, im using CWM for backup and restore and my /sdcard/android folder is HUGE because of com.google.music cache. I cant move the cache directory and its making my backups large and slow. Any way to exclude that directory from the CWM back up (like .nomedia, maybe a .nobackup?) or could i move the cache and replace the directory with a symlink or something?

First, how many backups do you have? I just put the backup/restore CWM up a few days ago. Second, the latest version of CWM should stop backing up /sdcard/Android (or doing anything with it) if I remember correctly as it was just removed from the stuff that gets backed up recently.

Related

[Q] Restoring backup

Hi,
I've been trying to return to a backup i made before flashing the latest build and cwm recovery keeps spitting out errors. My backup copy is under /emmc/clockwork/backup. It shows up under cwm recovery when i go to 'backup and restore' but it won't flash. i thought maybe because its on the internal drive its not flashing and tried to move it to the /mnt/sdcard. It won't move! Its my first flash so i need some help. it seems after flashing cm7, my old data is under /emmc and my current stuff is going to /mnt/sdcard. my understanding is that restoring the backup would overwrite everything and restore the phone to stock state (partitions, data everything)...is that right???? currently i have a 14gb internal and 2gb external partititions.
There is a fix somewhere to reroute the file path back from emmc back to internal SD . You ll need Script Manager from the market and a script called ''mountshd" . Someone posted a download with some good instructions a while back I would search the forum

Backing up CWM6 backups

I have CWM 6.0.1.0 as my recovery and I have a good number of backups saved on my sdcard spanning a number of different roms (mostly cm10 official nightlies). I understand that the newer CWM backs up roms using a different method than before. When I look in my Clockworkmod directory on the sdcard, I see a BLOBS folder and a BACKUP folder. The latter contains the backups, but they are very small in size. So do I understand correctly that the bulk of the backup information is in the BLOBS folder?
Assuming that's true, how do we safely:
1) Delete individual backup? If I delete a backup from the BACKUP folder, how will it know what to delete from the BLOBS folder? Do we have to actually delete the backup from within recovery in order for it to delete the proper BLOBS info? Or can I delete an individual backup from the BACKUP folder from Root Explorer? If I do that, won't the BLOBS folder continue to grow in size with outdated information?
2) Back up the CWM backups to my PC? I assume I have to back up the entire BLOBS folder to my PC, right? And then I can just back up individual backups from the BACKUP folder, right? But I would need BOTH the individual backup and the entire BLOBS folder back on my phone to restore a backup, right? If so, then I revert back to question 1 and ask how to I pare down the BLOBS folder without messing up individual backups?
Thanks!
You can delete backups from Rom Manager or if using the newest version of cwm you can delete it from recovery. As far as backing it up. I just deleted all but the one(s) wanted and copy the cwm folder to my computer. Hope that helps.
ren274u said:
You can delete backups from Rom Manager or if using the newest version of cwm you can delete it from recovery. As far as backing it up. I just deleted all but the one(s) wanted and copy the cwm folder to my computer. Hope that helps.
Click to expand...
Click to collapse
So we have to delete old backups using Rom Manger or from within Recovery? I delete some of them from Root Explorer, so does that mean the Blogs info will still retain old data. Or will it know to clear that space simply because the old backup files are missing?
Travisimo said:
So we have to delete old backups using Rom Manger or from within Recovery? I delete some of them from Root Explorer, so does that mean the Blogs info will still retain old data. Or will it know to clear that space simply because the old backup files are missing?
Click to expand...
Click to collapse
I'm not sure how the blog info works. I just assumed if you delete from cwm it knows whats the data incorporated with the specific backup and it deletes it with it.
Wow, I tried copying the Clockworkmod folder to my PC via USB and it took over an hour just to index and then it just stopped and failed. I imagine because there are so many individual files in the Blobs folder that it causes Windows indexing to crash. I deleted all the old backups I didn't need, did the free up space thing in CWM and it's still impossible to copy to my PC. I have 3 backups left (from different roms), so I supposed the Blobs folder is going to be pretty large.
So I can see how this backup method works out good on the phone itself because it makes backups easier and faster. But trying to back them up to PC is ridiculous. The old way where I could just copy over an individual backup was much easier.
Isn't there a better way? Someone suggested zipping the Blobs folder up on the device first and then copying to PC, but zipping the Blobs folder is taking forever as well...

Restored nandroid, what's with the sdcard?

Hey guys,
a nandroid backup is a really convenient method to backup your complete phone and restore everything or partially data. All partitions (/system, /data, /cache) were being backed up.
But what happens with the sdcard?
Before I flash/install a new rom, I always format my sdcard with my PC, hence I make sure, that it’s clean and has no remains from older roms.
On first boot, the android system creates a lot of folders contaning data, which both are modified during the daily use. For example the folder “DCIM” contains all the taken pictures and videos.
But what’s about these?
- .android_secure
- .dta
- .estrong
- and especially “Android” and subfolders
What happens, if I make a full nandroid of my phone, format my sdcard, so that all the folders and data, which were created while using the rom, were deleted. After that I restore the complete backup and boot up the phone.
My question is, how the restored system will react, if it notices, that these folders and their contents were not available?
- will they be recreated?
- does the system not boot
- after booting it will show some error messages?
- something else?
Thanks in advance!
@@RON
Hi
Greeting
Nandroid only backups phone memory
It does not backup sdcard
And their is no need to format sd card everytime before flashing Rom (i haven't formated my sd card even once ) every thing works f9
Even if u remove all the file from sdcard which u mentaion then the phone recreate these file againg and causes no problem
Basically a Rom has to do nothing with the sdcard the phone runs completely even without sdcard . Sd card is just an expansion of memory to phones
And you do whatever with it , it does not affect the way your Rom runs
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
@@RON said:
Hey guys,
a nandroid backup is a really convenient method to backup your complete phone and restore everything or partially data. All partitions (/system, /data, /cache) were being backed up.
But what happens with the sdcard?
Before I flash/install a new rom, I always format my sdcard with my PC, hence I make sure, that it’s clean and has no remains from older roms.
On first boot, the android system creates a lot of folders contaning data, which both are modified during the daily use. For example the folder “DCIM” contains all the taken pictures and videos.
But what’s about these?
- .android_secure
- .dta
- .estrong
- and especially “Android” and subfolders
What happens, if I make a full nandroid of my phone, format my sdcard, so that all the folders and data, which were created while using the rom, were deleted. After that I restore the complete backup and boot up the phone.
My question is, how the restored system will react, if it notices, that these folders and their contents were not available?
- will they be recreated?
- does the system not boot
- after booting it will show some error messages?
- something else?
Thanks in advance!
@@RON
Click to expand...
Click to collapse
When making a nandroid backup, system, data, boot and cache partitions are saved. Also, the android_secure from the SDcard is saved. As for the other folders, they are not kept. EStrongs is the guys who make ES File Explorer, and I believe this folder has something to do with the app. I don't know about the other folders, but they are not required for running the ROM. If they are missing, they will be recreated.
I believe I answered some of your questions above, but I'll answer the rest here:
-As I said, the restore won't create the folders, but the ROM might create them. At least one of the folders you listed is of an app, and there are many more apps that create folders on your SDCard, that's just cache or some data, which is not a problem to restore.
-The system will boot. That's the idea of a nandroid backup (if those folders were required, they would have been backed up)
-It will not show error messages, it will resume just like when you made the backuo.
-Something Else? You name it. There is no need to format your SDCard every time you flash a ROM, as usually it doesn't create problems. It can get a bit messy, but besides that, it's fine to keep it the way it is.
astar26 said:
When making a nandroid backup, system, data, boot and cache partitions are saved. Also, the android_secure from the SDcard is saved. As for the other folders, they are not kept. EStrongs is the guys who make ES File Explorer, and I believe this folder has something to do with the app. I don't know about the other folders, but they are not required for running the ROM. If they are missing, they will be recreated.
I believe I answered some of your questions above, but I'll answer the rest here:
-As I said, the restore won't create the folders, but the ROM might create them. At least one of the folders you listed is of an app, and there are many more apps that create folders on your SDCard, that's just cache or some data, which is not a problem to restore.
-The system will boot. That's the idea of a nandroid backup (if those folders were required, they would have been backed up)
-It will not show error messages, it will resume just like when you made the backuo.
-Something Else? You name it. There is no need to format your SDCard every time you flash a ROM, as usually it doesn't create problems. It can get a bit messy, but besides that, it's fine to keep it the way it is.
Click to expand...
Click to collapse
Yeah, you're right!
I clicked through the folders on my sdcard and the most directories are named "cache" etc. Only some exceptions for e.g. whatsapp message database or downloaded maps for htc locations ...etc.
So it seems, that the android system and the installed apps create folders for their use. If a nandroid will be created, the last mentioned folder should be backed up, too ... but manually. Thus the first mentioned folders (.data ...) are unnecessary.
You said, that there is no need to format the sdcard everytime a new rom will be flashed. I think it is, because every new rom deserves a clean sdcard, which has no remains from older roms. So the rom can expand themself and have a great feeling
No joke, in my opinion it will be the better way, if there are no possible complications with older existing files.
@@RON said:
Yeah, you're right!
I clicked through the folders on my sdcard and the most directories are named "cache" etc. Only some exceptions for e.g. whatsapp message database or downloaded maps for htc locations ...etc.
So it seems, that the android system and the installed apps create folders for their use. If a nandroid will be created, the last mentioned folder should be backed up, too ... but manually. Thus the first mentioned folders (.data ...) are unnecessary.
You said, that there is no need to format the sdcard everytime a new rom will be flashed. I think it is, because every new rom deserves a clean sdcard, which has no remains from older roms. So the rom can expand themself and have a great feeling
No joke, in my opinion it will be the better way, if there are no possible complications with older existing files.
Click to expand...
Click to collapse
What needs to be cleaned is cleaned when you wipe the phone. Anyway, formatting the SDCard is your choice. Files of apps that are not installed just won't be used. I like your idea of starting fresh, but it's quite a hassle to format and rearrange the SD every time I flash a ROM.
It's nice to have it clean without many directories (Imust say that I managed to reach such a situation with my own documents, with directories I created myself and have no idea what they are for. But I guess that's what you get when you don't clean your "room" for a couple of years.

[Completed] Restoring TWRP Nandroid .win files

My Mum's managed to mess up her tablet (seems to have reset it but not factory reset, as it's still encrypted, password protected, etc, just all her apps and even Apex Launcher have vanished) and the only recent backup I can find is a TWRP backup made with Online Nandroid Backup.
TWRP doesn't seem to recognise the files however, as it doesn't list any backups. I looked at the log and see that when pointed to the internal storage (which it can't mount as it's encrypted), it looks in /data/media/TWRP/ and I've recreated that structure on the microSD (where the backups are), giving me /data/media/TWRP/BACKUPS/0000000000000000/2015-04-05--07-14-50/
In that folder I have:
boot.emmc.win
cache.ext4.win
data.ext4.win
recovery.emmc.win
system.ext4.win
and .md5 files for each of those.
The .win files I can open with 7-zip, to show the files without that extension (e.g. data.ext4).
If anyone could help me restore this backup I (and more importantly my Mum) would be very grateful!
I tried installing Nandroid Manager and ES File Explorer and both failed, so something's clearly messed up. SU 2.46 is installed and I checked root with Root Checker and updated Busybox.
OK, I found a good tip to make a new backup (I just ticked boot to make it quick) and check where TWRP puts it. It turned out to be /micro_sd/TWRP/BACKUPS/Lenovo_A5500-HV/
So I moved my existing backup folder there, formatted /data to remove the encryption and then I was able to restore the backup. Now the tablet's stuck in a boot loop though and I can't even boot into recovery, so I'll have to start from scratch and then try and restore just /system and /data.

Where is mmssms.db located in a TWRP backup of Nougat>

I am trying to extract the file mmssms.db from several nandroid (TWRP) backups of Nougat. I know that in Nougat this file was moved to "/data/user_de/0/com.android.providers.telephony/databases". I can browse to this file on my phone but if I browse through the contents of the data partition backup from the nandroid backup files (data.ext4.win00X) the path "/data/user_de/" does not exist. Can anyone tell me where this file can be found in a TWRP backup archive? Otherwise I will have to completely restore these backups one by one to pull each iteration of the file off the phone.
I think that TWRP doesn't backup this folder for the simple raison that Nougat is quite new.
Maybe it backups only a list of folders in /data (but I can't confirm it)
I got just ****ed right now, me too.

Categories

Resources