backups beyond nandroid - Android Q&A, Help & Troubleshooting

As we know, a twrp nandroid does not backup user data. So to be safe, that needs to be backed up separately. Even Titanium Backup does not backup documents, DCIM folders, etc.
I am not an android expert but I guess that all the data that is not included in a nandroid backup probably lies in a separate partition on the phone. If I am correct, rather than backing up these individual folders is it possible, on a rooted phone, to simply backup that entire user partition to a usb device in one go that ensures everything can be restored?
How?
Thanks.

maybeme2 said:
As we know, a twrp nandroid does not backup user data. So to be safe, that needs to be backed up separately. Even Titanium Backup does not backup documents, DCIM folders, etc.
I am not an android expert but I guess that all the data that is not included in a nandroid backup probably lies in a separate partition on the phone. If I am correct, rather than backing up these individual folders is it possible, on a rooted phone, to simply backup that entire user partition to a usb device in one go that ensures everything can be restored?
How?
Thanks.
Click to expand...
Click to collapse
User data is stored in the /data/media partition.
When creating a nandroid backup, you can choose the option to include "internal storage", this will backup your user data. Restoring this backup will restore your user data along with your ROM.
Other methods are:
Connect your device to PC via USB, then open the devices storage on PC then highlight all the folders and files that you see there and copy them then paste them to a folder on your PC. This will save all of your user data, to restore the data, connect to PC and copy everything back over to your devices internal storage.
You can also use "adb backup" to back up and restore user data.
Sent from my SM-S767VL using Tapatalk

Related

Titanium Backup after erasing /sdcard

I want to wipe /sdcard and then to restore apps and data. So what I'll do:
1. Titanium Backup for all apps and data.
2. Wipe /sdcard.
3. Reinstall a fresh Titanium Backup.
But -- Titanium Backup is now fresh, so it doesn't have the apps and data backup I made earlier to restore from.
So the question is:
Does it suffice to copy the entire old Titanium Backup directory into the fresh (and empty) Titanium Backup directory?
Will the option 'restore missing apps with data' show all the stuff I backed up?
Mmm I did this when I moved to a custom JB rom. Like you said if you wipe sd card you will loose all the TB data. I'm not sure if you can move the TB folder to your pc then move it back after the wipe to restore your apps. I personally decided not to as I wanted to make sure I only had JB compatible apps on my phone as I was moving from an ICS rom. Perhaps other users have done this and can advise further.
Sent from my GT-I9100 using xda premium
I found the answer here

[Q] Does TWRP not backup apps on ext sd?

I just restored a nandroid I had and all the apps I had moved to the sd were missing. Is there a way to correct this or do they have to be in the phone storage to be included in the backup? Of course I had everything in TiB, but that's not the same. When I do a nandroid I expect it be exactly the way I left it.
a nandroid backup usually includes the system, data, and boot images. user apps are usually installed on the data partition, but if you chose to move apps to your sd card via application settings then it would not be backed up.

Restore S-Planner

Hello,
I have made a backup of my calendar with "easy backup" from the Play Store and installed a custom rom. Therefore I made a full wipe - unfortunately I lost the backup.
I have stored both, the internal SDCard and the external SDCard to my Computer and still have this data.
Is there any possibility to restore my calendar entries with the given data?
Thank you very much
GerhardK90 said:
Hello,
I have made a backup of my calendar with "easy backup" from the Play Store and installed a custom rom. Therefore I made a full wipe - unfortunately I lost the backup.
I have stored both, the internal SDCard and the external SDCard to my Computer and still have this data.
Is there any possibility to restore my calendar entries with the given data?
Thank you very much
Click to expand...
Click to collapse
Just move the Easy Backup data folder back to your device and reinstall the app. As long as the folder is in the right spot, the app should recognize and restore your data. It's a good idea to sign into an account for the Calendar stuff so it gets stored in a cloud service, thus making this transition easier.
Thank you for your reply!
ahh I think I werent exact enough in my explaination. The problem is, that I made the backup of the internal and external SDCard first and then downloaded the backup tool of which I thought it would make the backup on the external SDCard. Unfortunately the tool stored the backup file on the internal SDCard. So the problem is, that my current backup does not hold the files of the backuptool.
GerhardK90 said:
Thank you for your reply!
ahh I think I werent exact enough in my explaination. The problem is, that I made the backup of the internal and external SDCard first and then downloaded the backup tool of which I thought it would make the backup on the external SDCard. Unfortunately the tool stored the backup file on the internal SDCard. So the problem is, that my current backup does not hold the files of the backuptool.
Click to expand...
Click to collapse
Ah, I see. Gonna be out of luck then unless you
A) Had signed up with a Samsung account and it had synced before wiping
B) Have a nandroid backup of your previous rom to restore (if you don't - shame on you! lol)
If it was saved to your internal storage, then I'm not sure why it still wouldn't be there unless you intentionally wiped it in recovery. Factory data resets in a custom recovery do not touch the partition of your internal storage that you save your app data and media to.
Edit: App data in this sense is what the apps store on your internal storage partition that the phone sees as /sdcard/, which is /data/media not the regular app data stored in /data/data such as like settings and preferences, which does get wiped in a reset.
es0tericcha0s said:
Ah, I see. Gonna be out of luck then unless you
A) Had signed up with a Samsung account and it had synced before wiping
B) Have a nandroid backup of your previous rom to restore (if you don't - shame on you! lol)
If it was saved to your internal storage, then I'm not sure why it still wouldn't be there unless you intentionally wiped it in recovery. Factory data resets in a custom recovery do not touch the partition of your internal storage that you save your app data and media to.
Edit: App data in this sense is what the apps store on your internal storage partition that the phone sees as /sdcard/, which is /data/media not the regular app data stored in /data/data such as like settings and preferences, which does get wiped in a reset.
Click to expand...
Click to collapse
:S I do not understand that actually, because somewhere S-Planner has to save the entries - or not? So I think if I backup anything from the internal/external storage I should also have backed up the database with the entries or not ?

Help with Nandroid Backupping

Hey,
I have a Samsung S6, and want to install my first ever ROM (gonna be Cyanogen Mod 12 or 13). It's recommended that I backup my device, but need help with using TWRP.
I clicked 'Backup' in recovery, and it comes up with options to backup: Boot, System, Data, Cache, EFS and another thing I can't remember. I assume I need to backup Boot and System, because I am assuming that this is the Marshmallow OS and Boot. I also want to backup Data, because I do not want to lose my apps, pictures and music. However, to backup all of them at once is too large of a file.
Instead, I decided to backup them all separately, then move them over to my PC and delete them from my phone. My question is, if I want to restore my phone, is it possible to restore each backup separately, of do I need to join them up into one file. If so, how do I do it?
Cheers in advance )
P.S. DO I NEED TO BACKUP THE EFS, CACHE AND OTHER THING I CANNOT REMEMBER???
You can backup to a flash drive using USB OTG cable as well. You will want to backup boot, system, and data. EFS is not needed, but I find it a good practice to back it up and save it to a safe spot like your computer. The nandroid will back up each partition separately into a folder marked with the date. You can restore each individual part as needed. Just keep everything in the folder as it was set up for ease of use.
Also, your /data backup will not include music and pictures. It will back up data/data and data/app. The pictures and music are stored in data/media, or what the phone and recovery see as /sdcard though it is an emulated point and not a physical "sd card". When you perform a factory reset in recovery, it does not wipe /data/media, thus leaving everything on /sdcard intact. Though I do recommend making a copy of that to a safe space as well. It's just not what a nandroid backs up.
es0tericcha0s said:
You can backup to a flash drive using USB OTG cable as well. You will want to backup boot, system, and data. EFS is not needed, but I find it a good practice to back it up and save it to a safe spot like your computer. The nandroid will back up each partition separately into a folder marked with the date. You can restore each individual part as needed. Just keep everything in the folder as it was set up for ease of use.
Also, your /data backup will not include music and pictures. It will back up data/data and data/app. The pictures and music are stored in data/media, or what the phone and recovery see as /sdcard though it is an emulated point and not a physical "sd card". When you perform a factory reset in recovery, it does not wipe /data/media, thus leaving everything on /sdcard intact. Though I do recommend making a copy of that to a safe space as well. It's just not what a nandroid backs up.
Click to expand...
Click to collapse
Thank you for helping me, Ill back it up now )
No problem. Let me know if you have other questions. I've literally flashed roms 1000+ times on over 100 different kinds of phones.

Safe to delete partitions from Nandroid backup?

I made a nandroid backup for almost all partitions using TWRP and now I need to restore the data partition. Unfortunately, TWRP (or a corrupt backup) does not offer the option to choose which partition to restore. So is it safe to delete anything but data.ext4.win0*, data.ext4.win0*.sha2 and data.info files from the backup directory and restore it (if I have no /data to loose)?
Would of course be disastrous if it tries to restore the partitions which I deleted from the backup, especially recovery, without the backup file, thereby just deleting it.
Thanks if you can give me some advice

Categories

Resources