Backup with TWRP: What partitions to backup? - Doogee X5 Questions & Answers

Hi,
i have twrp 3.0.2 on my Doogee X5 Max Pro and what to create a Backup. What partitions do i need to backup? There are much more than on my other phones? already check is boot, system and data. But there is also a big partition called "system-image". Whats with the partition 'cache'?
PM

PiereMallao said:
Hi,
i have twrp 3.0.2 on my Doogee X5 Max Pro and what to create a Backup. What partitions do i need to backup? There are much more than on my other phones? already check is boot, system and data. But there is also a big partition called "system-image". Whats with the partition 'cache'?
PM
Click to expand...
Click to collapse
I realize this is a very late reply to this question. I just picked up a Doogee X5 myself and wanted to take a moment to address this question so as to inform any members who may have similar inquiries. Making a TWRP backup of System-Image creates a full and complete backup of the entire /system partition, whereas backing up System makes a full backup of all data written to the /system partition. For all intents and purposes, whether you choose System or System-Image, the entire Android OS is being backed up, so you are covered on either option. A full and comprehensive backup should also include your /boot and /recovery partitions as well. The /uboot option backs up your bootloader partition. The nvdata option safely backs up your unique device identifiers such as MAC address, IMEI, ESN, etc. This is closely akin to making an EFS backup on a Samsung device. Making a backup of /cache is typically never necessary unless you are wanting to restore your device to its exact state at the time of backup.

Related

do cwm backups keep the file system?

If I have to switch file systems but I don't wanna lose data will recovering backups restore the filesystem of the backup too?
-sandro- said:
If I have to switch file systems but I don't wanna lose data will recovering backups restore the filesystem of the backup too?
Click to expand...
Click to collapse
In theory the latest CWM (5.0.2.0 as of this moment) should be able to restore the filesystem as well as the data. In practice however this doesn't work yet. (At least not for me if trying to restore an ext3-backup on an ext4-phone.)
That's not really a concern though, because you can revert from ext4 to ext3 by running/installing "r1_backtoext3-2x-unsigned.zip" (search for it) before restoring the backup, or install another .zip which will convert ext3 to ext4 without data-loss if going the other way. (Cannot remember the filename right now, never used it myself.) I think Rusty packaged that one.
CMW can backup the whole rom /system included. I always change into CM7 and the Leaked GB via the backup/restore.

How to move your data after ROM installation

Hey Guys ,,
is there any way to move a backup data to the ROM
i have ATT note 3,, i did backup using safe strap and after x note ROM instillation i tried to do restore data but it failed,,,any solution
I believe the Safestrap backups are similar to just TWRP or Nandroid backups.
They'll save the entire partition as is, to restore back to that state at a later date.
They aren't good for, say, moving all your apps and appdata to a new Rom.
For that, you should use Titanium Backup or a similar backup manager like Helium.
Then back up just the apps and appdata (not system apps, since they'll often conflict with the new rom) to your SDCard, and restore them when on the new app.
Sorry, it doesn't help when you've already done the TWRP backup and flashed a new rom.

Please help me. Tried to change /data file system and wiped all my files...

I'm panicking very much right now.
I did a big, big stupid and accidentally wiped my entire /data partition, including /sdcard (!!) in TWRP 3.0.4.1 while attempting to change the filesystem of my /data partition from F2FS to EXT4. I did a full backup of my phone, including /data partition (but excluding /data/media/0/ which is the location for /sdcard of course) on my phone prior to attempting to change the filesystem.
I didn't think that this would also wipe /sdcard, and ALL MY FILES INCLUDING MY BACKUP...
I'm frantically searching through Google as we speak for guides to clone these formatted sectors over USB (I'd imagine using ADB shell) to a PC and use Windows file or partition recovery tools to try and save every, if not most files.
Please lend me your knowledge and links to fixing this issue, Android community. <3
In older Android versions the /sdcard partition was it's own partition, which is why I didn't think of copying all my files over to a PC before making changes to /data.
well, when you wipe data from any partition in twrp it sort of resets all space to be overwritten. The data that is marked for overwrite doesn't remain when you full wipe. Since you changed the file system, the data was removed and overwritten by the wipe with blank space.... i hope you had at least some of it backed up on your pc. I never use those apps personally, i always hard backup all my things with a drag and drop onto my pc. I highly recommend it, saves you a disaster. Im very sorry.... i hope you didnt lose anything really important.
OcazPrime said:
well, when you wipe data from any partition in twrp it sort of resets all space to be overwritten. The data that is marked for overwrite doesn't remain when you full wipe. Since you changed the file system, the data was removed and overwritten by the wipe with blank space.... i hope you had at least some of it backed up on your pc. I never use those apps personally, i always hard backup all my things with a drag and drop onto my pc. I highly recommend it, saves you a disaster. Im very sorry.... i hope you didnt lose anything really important.
Click to expand...
Click to collapse
Heh, that's exactly what happened. I'm gonna attempt this guide: https://forum.xda-developers.com/ga...de-internal-memory-data-recovery-yes-t1994705
Basically try to use "dd" to make a RAW copy of "dev/block/dm-0" which according to the mount command I ran in TWRP's terminal shell, is what block /data is used on OnePlus 3T (OOS 4.1.3).
Wish me luck.

Question Taking a full backup

Hi there everyone!
A few days ago, I was wondering about taking a full backup of my phone. I thought about titanium backup, but I also red something about extracting a partition as an image from the device. And then, I came up with an idea:
Is it possible to extract the userdata and the data partition as an image on this device? (I know that boot image can be extracted)
And if it's possible, after a full wipe and reflash of the phone, can I also flash these two images to get back my user data and the data of my apps? Or will it be enough?
As far as I know, these two partitions store most of the data, maybe system stores data too, like system apps.
Can you also provide me some commands for the process?
Thank you!
gurtnyi said:
Hi there everyone!
A few days ago, I was wondering about taking a full backup of my phone. I thought about titanium backup, but I also red something about extracting a partition as an image from the device. And then, I came up with an idea:
Is it possible to extract the userdata and the data partition as an image on this device? (I know that boot image can be extracted)
And if it's possible, after a full wipe and reflash of the phone, can I also flash these two images to get back my user data and the data of my apps? Or will it be enough?
As far as I know, these two partitions store most of the data, maybe system stores data too, like system apps.
Can you also provide me some commands for the process?
Thank you!
Click to expand...
Click to collapse
use twrp for that
tutibreaker said:
use twrp for that
Click to expand...
Click to collapse
Does it also backup the full data partition including /data/media ?

Question Does TWRP backup everything?

I'm planning to backup my current ROM using TWRP before switching over to another one. If I selected everything on the TWRP backup screen, how much data will this include? Will I be able to restore it and have everything run exactly the same as it is now? App data? Files? System settings?
notBradPitt said:
I'm planning to backup my current ROM using TWRP before switching over to another one. If I selected everything on the TWRP backup screen, how much data will this include? Will I be able to restore it and have everything run exactly the same as it is now? App data? Files? System settings?
Click to expand...
Click to collapse
It does NOT backup everything. TWRP only backups the operating system. If you flash the wrong file or change the wrong setting, which can / will cause bricks, then TWRP is used to restore the OS to the original state you backed up. Internal storage files are not backed up, nor app data.
immortalwon said:
It does NOT backup everything. TWRP only backups the operating system. If you flash the wrong file or change the wrong setting, which can / will cause bricks, then TWRP is used to restore the OS to the original state you backed up. Internal storage files are not backed up, nor app data.
Click to expand...
Click to collapse
Ah I see, so I have to backup files manually, but the app data too? I was under the impression that the so-called NANDroid backups at least includes app data
notBradPitt said:
Ah I see, so I have to backup files manually, but the app data too? I was under the impression that the so-called NANDroid backups at least includes app data
Click to expand...
Click to collapse
Yes, it will backup app data. Btw, you really need to select the boot, system, and data partitions. For the other partitions, you can keep separate backups (in case of a bad restore). On that note, your first restore might appear broken; try restarting the phone; it should boot fine the next time around.
Cheers.
ictsz.roy said:
Yes, it will backup app data. Btw, you really need to select the boot, system, and data partitions. For the other partitions, you can keep separate backups (in case of a bad restore). On that note, your first restore might appear broken; try restarting the phone; it should boot fine the next time around.
Cheers.
Click to expand...
Click to collapse
Got that. Thank you so much

Categories

Resources