Twrp backups too big - Nexus 4 Q&A, Help & Troubleshooting

Hello everybody. I've been flashing custom roms for a while now and I've never had this problem. I would like to make a twrp backup of my current rom and try another one, I've done this in the past but now I'm having some trouble doing it, and I'm not sure what's wrong. On my phone I have 5.5gb free, my apps total are 2.6gb and my other media in the SD card partition are about 4gb.. Now when I try to make a backup in twrp it comes out like 6gb which really to big to keep on the phone. I always remembered that all the backups I did where around 2.8gb so I don't understand what's wrong. I would like to backup my rom with apps and settings and exclude my SD card partition since even if a rom doesn't boot and I do a clean wipe doesn't get erased... Any ideas? I'm on the latest twrp...
Sent from my Nexus 4 using Tapatalk

Perhaps you should delete your old backups and choose to compress backup
Sent from my Nexus 4 using XDA Premium 4 mobile app

TWRP doesn't support excluding things afaik, you could always make a backup of just /system with TWRP and use 'adb backup' to do your apps.
I usually use 'adb backup -all -apk -nosystem' as this works without root and will backup all user apps + data.

Related

Backup Confusion

I have backed up my N7 two different ways, and am a little confused as to the differences in size, and *what* exactly is backed up. The first method I tried, because my N7 is encrypted, was the ADB backup method. Using the following:
adb backup -f C:\XXXXXX.ab -apk -shared -all -system (which is every option), get's me a backup of about 2.2 Gigs. I have 1.5 Gigs of Co-pilot maps, and about 600 Megs of video, in addition to apps and the system.
When I do a TWRP backup (now that it supports encryption), using *all* the options (3 are checked by default, and I add the rest like Cache, Boot, etc...) I get a backup of about 1 Gig.
Coming from the Windows world and having one image that includes the entire computer system, I want the same thing for the N7: Disaster occurs and I just recover 1 image and have everything back the way it was. Why the size difference between the two? Which one is more complete? Best for a disaster/replacement after loss/theft?
Thanks!
RF
Twrp and cwm compress their backups. Which is more secure? Well if they're both on the disk and it's encrypted I would think both, I'm not sure if encrypted backups are supported.
Sent from my paranoid Nexus 7.
redmonke255 said:
Twrp and cwm compress their backups. Which is more secure? Well if they're both on the disk and it's encrypted I would think both, I'm not sure if encrypted backups are supported.
Sent from my paranoid Nexus 7.
Click to expand...
Click to collapse
In case its helpful, the new TWRP version has some new features for doing encrypted backups.
Sent from my Nexus 7 using xda premium
Thanks for the replies. I'm not worried about the security (the ADB backup is encrypted by default. and the TWRP backup is stored in a TrueCrypt container). I was more concerned with the size difference. It looks like the TWRP backup might not include the GPS maps or my videos? I'm just looking for confirmation that I can restore *everything* in case of disaster, and which one would do that. It looks like ADB may be more complete...but I don't know.
RF

Nexus 7 CWM backups are very large

Hi,
I know cwm is NOT supposed to backup the sdcard but just /system, /data and a few other small partitions.
On my nexus 7 I have hardly any data, apps plus data are under 1G but a single cwm backup (I have just one backup) takes 2.8GB.
Its as though its backing up the sdcard as well as the size of the backup seems to be about right for an entire backup including the sdcard.
I wonder if the fact /data and /sdcard are actually accessing the same real storage (/sdcard sits on internal storage) is confusing cwm.
Has anyone else noticed this.
If its not the case then why is the backup so large.
BTW I know im not doing anything stupid like miscalculating the amount of data and apps etc.
Sent from my Nexus 7 using xda premium
I think the problem was I still had old backup blobs from deleted cwm backups. Looks like just deleting the backup via cwm doesn't delete the blobs, I had to chose the option to free nandroid space.
However I've switched to twrp now anyway as I don't like the way cwm uses these blobs. I find it much better to have each backup completely separate and then I can copy an individual backup off the system and store elsewhere.
I also find thousands of blobs/files slows things down when using apps to manage the internal sdcard filesystem

Question About Titanium Backup And Nexus 7.

Okay, I have yet to get mine, but will in a day or two (the Nexus 7) lol. I wanted to know if I installed TiBuPro on my N7, and needed to do a full wipe/factory reset or whatever when I am installing a custom ROM, will the TiBuPro backup be deleted since the backups will be stored on the internal storage since there is no external SD slot? I use TiBuPro on my One V just fine since it has an external SD card, but was worried if I follow steps to flashing custom ROM's and such, since the storage is internal, and wipes wipe everything if I will lose my backups?
That's a damn good question Freak, to be on the safe side I would just do the backup and then drag & drop the sdcard/TitanuimBackup folder to a computer.
Sent from my Nexus 7 using xda app-developers app
Once you understand the way nexus 7 works with storage you will understand more. Im not best person to explain. so .
As long as you do not format or delete /data/media your ti backup goo manager files roms and everything else there will still remain.. The cwm/ twrp skip erasing these directories (fake sd card so to speak) . I have installed many roms with few issues..
You can also use otg storage. Go into ti backup and set the default backup folder on a otg device.. same with twrp backup files.. Just plug in the device before you run either of the programs . with twrp to use otg for me anyway.. you have to boot into recovery . plug in the device reboot recovery and it will show up...
SO Simple answer is yes you can use TI BACKUP Just fine .. just know what to not format in recovery..

Best way to back up for a flash?

How does everyone back up they're apps, photos, etc. I wanna flash a custom ROM but I have everything setup on stock ROM so its holding me back
Sent from my Nexus 7 using xda app-developers app
How to backup:
- when not rooted:
photos, etc.: connect your Nexus 7 to a PC and copy the files to your PC
apps: use a backup app like "App backup & restore" from play store or "titanium backup"
you cannot backup the settings for each app, like your progress in a game. :crying:
- when rooted:
photos, etc.: connect your Nexus 7 to a PC and copy the files to your PC
apps: use a backup app like "App backup & restore" from play store or "titanium backup"
Titanium backup can also backup each app's settings including your progress in a game.
I use Titanium Backup so I can always restore to whatever state I want independant of the (custom) ROM I'm using
but Titanium backup isn't the only tool that can do this, ROM Toolbox (Pro) can also do this.
Anyway, having a custom recovery is essential if you want to install custom ROMs, and to install a custom recovery
you need to be rooted ! (I use TWRP recovery on my Nexus 7 btw.)
Good luck !
^^ what peter said, might I recommend getting titanium backup pro if you get the flashing bug, the extra features help a lot.
Cheers Danny
I recommend titanium backup to backup apps. Everything else is app dependent... I usually backup launcher layout. These backups are stored on your sdcard which is not wiped when flashing so no need to backup to the PC. Also make a nandroid in recovery in case you need a restore point or you don't like your new ROM.
peterpv said:
How to backup:
- when not rooted:
photos, etc.: connect your Nexus 7 to a PC and copy the files to your PC
apps: use a backup app like "App backup & restore" from play store or "titanium backup"
you cannot backup the settings for each app, like your progress in a game. :crying:
- when rooted:
photos, etc.: connect your Nexus 7 to a PC and copy the files to your PC
apps: use a backup app like "App backup & restore" from play store or "titanium backup"
Titanium backup can also backup each app's settings including your progress in a game.
I use Titanium Backup so I can always restore to whatever state I want independant of the (custom) ROM I'm using
but Titanium backup isn't the only tool that can do this, ROM Toolbox (Pro) can also do this.
Anyway, having a custom recovery is essential if you want to install custom ROMs, and to install a custom recovery
you need to be rooted ! (I use TWRP recovery on my Nexus 7 btw.)
Good luck !
Click to expand...
Click to collapse
If I use titatium backup, won't my backups get wiped in the process?
Sent from my Nexus 7 using xda app-developers app
I use Apps2zip pro nice app just like ROMs
Sent from my Nexus 7 using xda premium
kevin130 said:
If I use titatium backup, won't my backups get wiped in the process?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
No. There is a partition on the N7 called "sdcard" which is just your internal storage, an emulated SD card if you will. It will only wipe the data, cache, dalvik, and system partitions which leave your data unharmed.
Sent from my Nexus 7 using Tapatalk 2
Osiris19 said:
No. There is a partition on the N7 called "sdcard" which is just your internal storage, an emulated SD card if you will. It will only wipe the data, cache, dalvik, and system partitions which leave your data unharmed.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Unless you still have a locked bootloader, in which case everything will be wiped. Err... right?
korockinout13 said:
Unless you still have a locked bootloader, in which case everything will be wiped. Err... right?
Click to expand...
Click to collapse
If true, that's a good point to go rooted! ONE More
And then Just to clean applications through google play reinstall. A good way to do it remote from your computer. hence i see how important are the application I previously had.
I used to use titanium backup, Now I use MYbackup Pro. Very simple to setup and use. But still does everything that most people would need.
Another level of backup I use is Applist Backup. It creates a file list of your apps on your sdcard. If you need to restore it links to the play store. I don't use it on the N7, but I do on my phone. If nothing else I don't have to try to remember what apps I have installed.
Personally I never back up data. It's sync'd with Google or the app has its own backup routine.
<><><><><><><><><><><><><><><><><
Swyped from my N7
Current: PA 2.99 b8 & M-Kernel+ a24
Has anyone backed up apps on 4.2.1, with a second user?
I am on stock rooted 4.2.1 and have my own user profile (with apps/widgets/settings) and also the wifes on another user profile. We both use our own google user details (for play store etc), does each user have to do a separate back up? I've used titanium before but just wondering how it works with more than one user, as I believe titanium now supports 4.2+, but chainfire SU root currently only works on the 'owner' user profile.
Osiris19 said:
No. There is a partition on the N7 called "sdcard" which is just your internal storage, an emulated SD card if you will. It will only wipe the data, cache, dalvik, and system partitions which leave your data unharmed.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Ohhh okay! Everything on the SD is what I didn't want to delete. Reinstalling apps is easy. thanks!
Sent from my Nexus 7 using xda app-developers app
After you backup in titanium backup its always a good idea to create a backup zip and save it to Dropbox /Box/Google Drive or whatever cloudy storage you use just in case
Sent from my Nexus 7 using xda app-developers app

[Q] Am I cloning my phone properly?

I am ready to switch from my 'old' xt907 to my 'new' xt907. both are on stock KK 183.46.10, rooted, unlocked, with TWRP 2710.
to have an exact carbon copy i figure i will need to :
1) copy my OS with all my hacks, exploits, tweaks, etc
2) copy all my applications with their appdata etc
to accomplish (1) i have used TWRP to create a backup of all 4 partitions.
is this enough? all i have to do is flash/recover it on the new phone?
to accomplish (2) will Titanium Backup do the job? can this even work or am i dreaming?
will i be able to also backup my Xposed framework apps?
and then what? i just copy the backups to the TiBu folder on the new phone and restore?
TIA
follow-up
how should i save my apps/appdata? do i
1) backup in TiBu and then create the system backup in TWRP and use that an i'm done? or
2) backup in TiBu and take those backup files and copy them to TiBu on the new device after it is restored with TWRP, then restore the app data with TiBu?
If you have twrp on both all I did was make a twrp back up to external SD then copy whatever I wanted from internal storage from device A.... Then restored the back up on device B... Your app data and all will be restored
Sent from my XT907 using XDA Premium 4 mobile app
Solved
thanks, after some trials and error i ended up finding this page and the instructions were flawless. http://heavyjumbo.com/2013/10/13/mi...android-phone-to-another-using-twrp-recovery/

Categories

Resources