Rsync backup as alternative to nandroid backup? - Android Q&A, Help & Troubleshooting

I am looking for a full backup solution for my rooted Pixel 5a.
Unfortunately, TWRP is not (yet) available, so I can't do nandroid backups.
Also, solutions such as Swift Backup don't backup everything (e.g., device settings, downloaded data).
Can 'rsync' be used to get a full and restorable backup?
If I am not concerned with the static (and non-user-writable system elements), would it be enough to backup:
/sdcard
/data
/cache
/persist
The notion would be that if I wanted to restore the phone at any point, I would just use 'rsync' to restore the previously transferred data.
Any limitations/challenges to this backup method?
If I wanted to extend this to also back up the static system itself, what would I need to backup and what would I need to do to restore?
Thanks

Related

[Q] Nandroid backup/restore on rooted Streak...

I'm curious about this. Maybe someone can enlighten me.
Lets say that I'm on stock 2.2, rooted. I do a nandroid backup. Then I allow the upgrade for 2.2.2. Of course I lose root.
Will a nandroid restore, restore root, or will I have to root again?
A full nandroid restore will restore everything - the system and data - and you will be right back where you were, on 2.2 and rooted.
maltloaf said:
A full nandroid restore will restore everything - the system and data - and you will be right back where you were, on 2.2 and rooted.
Click to expand...
Click to collapse
Ahh, okay.
So to confirm that I understand you correctly...
...the 2.2.2 update won't hold after the nandroid restore? I'll be back to 2.2, as it was before the (2.2.2) update?
If you just wanna backup and restore your apps, use Titanium Backup (it's free on the Market).
Nandroid backs up your entire phone. When you restore a nandroid backup your phone will be exactly like it was when you made the backup. Restoring a nandroid backup is used to recover from a crash or to revert to a previous ROM.
After a ROM change I will set up my accounts, root if needed and do any other basic setup stuff and then, before installing any apps, do a nandroid backup. I can then go back to a "fresh install" if I want to. I also do a nandroid each weekly to capture the state of my phone.
Backing up apps and restoring them across different ROMs may or may not work for you. When I have tried this with Titanium Backup I had many force closes and ended up reinstalling everything from the market. Others have had success. I have read the MyBackup pro does better, but most suggest that you just backup and restore data not the app itself.
I have not tried backing up my apps to Google, which you can do in later versions of Android. Go to Privacy in the setting menu and then to Backup and restore. There are boxes for data backup and automatic restore you can check. maybe someone who has used this can comment on how well it works.
If your nandroid backups hang up at "backing up firstboot" get the latest version of StreakMod Recovery.
marvin02 said:
Backing up apps and restoring them across different ROMs may or may not work for you. When I have tried this with Titanium Backup I had many force closes and ended up reinstalling everything from the market. Others have had success. I have read the MyBackup pro does better, but most suggest that you just backup and restore data not the app itself.
Click to expand...
Click to collapse
After installing a fresh ROM and rooting my device, the first thing I do is install Busybox. Then, with Titanium Backup I do Restore Apps Only, then reboot my device. I never get any FC's with this restore process.
Thanks!
Thank you everyone. I appreciate the info.
I've used Titanium BU, and have busybox installed too.
It was just a matter of if after an update (OTA), and restore with Nandroid, would root still be in place.
I totally understand what you guys are saying now.
I've also been using MyBackup to see how it compares to Titanium. So far so good.
~X
I prefer mybackup root to titanium. It's far more user friendly and more automated (in the free version). As for nandroids, I always take a backup before doing any system changes (hacks or rom updates) so I can roll back to a known good system if needs be.
BTW - it is a good idea to copy your ROM backups to another device, just in case your SD card dies. I copy mine to one of my desktop computers and to a USB drive. I usually back up my entire SD card, except my music folders, every couple of weeks.
Where does Nandroid put the backups so I can rename them and save off phone?
mine (from Streakmod recovery) are in /sdcard/rom_backup
StreakMod recovery puts the backups on the SD Card in a folder named rom_backup.
Each backup is in a sub-folder of it's own and uses a date-time format for the folder name. I rename the folders with a meaningful name by just pre-pending to the name. So my last backup is named BB351-2011-06-18-02.41.04. The following files are created:
.android_secure.img
boot.img
cache.img
data.img
firstboot.img
recovery.img
system.img
nandroid.md5
the md5 file is a text file that contains the md5 sums for the other files. This file is used to verify the other files when they are restored.

Backing up the phone

In light of the new bootloader news, I've been trying to decide the best ways to back up before I start tinkering. I've used titanium backup to backup all of my apps/system data, and used the guide to backup my pds partition. Is this sufficient?

Quick questions before I flash a rom

Hey all! I'm new to android and am ready to flash a rom. However, I am concerned that i will lose some gamesave/App data.. I have used titanium backup to backup all system and app data with the batch feature.. Can I just run the restore all feature to get everything back the way it was? Will i have to replace all my widgets?? It just seems to simple! Thanks!
Titanium backup will restore your apps and data.....and system data. It is very important that when you restore, if you have backed up any system data, do not restore that. The rom you flash will have its own system data, so you don't wan't to load your old data over that. Force close city. Just restore "user apps" and it will be just like you left it. As far as your widgets, yes, you will have to restore them. All your wifi access, wallpaper, etc is linked to your google account (if you have it checked under settings>privacy.)
another approach, slightly different, but can accomplish the same end goal is using nandroid provided in the custom recovery. i personally prefer nandroid as the source code is available online (i.e. everybody can view exactly what operations it is performing) where as titantium backup does not publish its source code.
before flashing a rom, i'd do a full nandroid backup. after you've flashed the rom, your data *should* still be intact as most ROM's are not scripted to wipe your personal data when you flash them. if for some odd reason your personal data is erased from a ROM flash, which it shouldnt, you can chose to nandroid restore just the /data partition, which is where all custom settings and user data are kept, other than a few which store on the /sdcard.
hope that makes sense and good luck!

[Q] Extracting CWM6 Backups

Hello, while I was using my phone it rebooted and aparrently someting from my /data got corupted disabling my Rom from booting ever again.
So I created a nandroid via CWM6, installed a new rom and I'm now scratching my head on how to extract certain apps from that backup. Using CWM5 I could do this via the use of Titanium Backup, but now it's more complex than that CWM6 nandroids are unreadable from anything that exists out there. The only app which could analyze the backup correctly was the latest beta of "app extractor" but even that could not extract the apks *with* their data.
Basically my apps' data is precious and I wish to restore it at all costs, I have a nandroid of them, but the format is so unspeakably complex that it is basically useless. So the other "solution" was restore the nandroid and pull the whole /data partition in my PC via ADB, but I'm not sure what I can do with it.
So as it stands I now have two copies of my apps, one in a nandroid format another as it was pulled from the phone but I'm not sure how I can go on and restore them in a new rom. As I have found out CWM6 was quite a downgrade for/to those who backup/recover frequently, it's sad that I have found about it in such a disastrous way

Nandroid backups

Can i use nandroid backups to switch systems
Like to switch back after trying a new rom without pc
If by nandroid you mean TWRP backups, then yes.
Like flash rros and then use the backup to return to stock with all my files and apps?
Yes a nandroid backup (aka twrp backup) saves a snapshot of the system in time so it doesn't matter what you do afterwards, once you restore the backup your device will go back to the same exact spot as it was the time when you'd taken the backup. Also when you often hear ppl say take backup before trying new update/rom/zip, this is exactly what they mean.
And yes you don't need pc as long as you can access your backup through otg USB/memory card etc.
Sammy4798 said:
Like flash rros and then use the backup to return to stock with all my files and apps?
Click to expand...
Click to collapse
Take care to backup the system image and not system. And use the same version of TWRP for backing up and restoring. Both these are not a must but to be on the safer side.

Categories

Resources