Can't restore full adb backup - Nexus 5X Q&A, Help & Troubleshooting

Hello!
I backed up all my apps and games that I download (stock rom) with a full adb backup usins Wugfresh's toolkit. After that I flashed cataclysm rom and wanted to restore my backup.
So I run adb restore *file location.ab* and it brings up the restore menu in my device. I press *restore my data" and it starts the process, but after 2-3 minutes it closes and says Backup ended with left only about 10 apps restored. Which is far away from the 122 apps in the backup. (the backup file is 1.3 GB).
I really don't know or have any idea on what can be the problem as this the first time I use adb backup command, and the backup doesn't seem to be corrupted.
Helps would be appreciated!

Are you sure that you have the space needed for the backup ?

Related

nandroid

Hi people
Im trying to do a nandroid backup before I try a custom ROM.
I used the windows recovery batch file to get into the recovery menu and selected nandroid + ext backup. It went and for a few mins started backing up but then said run nandroid-mobile.sh from adb shell error. I looked in my memory stick and I still got 4 GB free and my nandroid folder is 232mb big. Does this mean it worked?
Also does it backup apps too?

help restoring nandroid backup..phone out of order(resolved)

hello. so i did a nandroid backup of my rooted el29 gingerbread + cwm epic 4g phone a week ago. it created a folder on my external sd card (sdcard/external sd/sdc2012-06-2012 folder) ive also continously made titanium backups of the apps + sys data. so i let a friend uninstall a system app(id bloatware) just to prove it could be uninstalled but dont like that i get error messages now sometimes when accessing email, etc. i tried a titanium backup but it hangs for 5min. now im trying a nandroid restore in cwm v5.0.2.7. where is a good guide for this? i went to restore but it keeps saying "error opening directory. No files found." i dunno what directory its searching but clearly not the correct one as i verified almost 700MB of data on external sd card. ive wiped data, cache so it only boots to "samsung logo screen." i also have a backup nandroid on my server so how to i get it to actually restore?
06-12-2012 update: crisis averted. i remember doing advanced backup w/ cwm recovery originally so i just did regular backup. it created a directory cwm/backup/new folder. i put the files from original advanced backup over to correct location and restore did it!! this is just like the acronis images i do for my pc's. what a wonderful thing!!

[Tutorial] Back-Up & Restore from a Android Device - Unrooted & Rooted Methods

[Tutorial] Back-Up & Restore from a
Android Device - Unrooted & Rooted
Methods
How to backup & restore all your
data, contacts etc..... on your
Android device running a Non-
Rooted STOCK ROM
*******************************
************
MyBackup
MyBackup works as a perfect
backup & restore utility for Non-
Rooted (as well as ROOTED)
devices running the Android
OS......
The app can be downloaded from
Play Store here : https://
play.google.com/store/apps/
details?id=com.rerware.android.
MyBackup&feature=search_result
(FREE VERSION)
Once installed open the
application and tap the Backup
button, an option will pop up
asking wether you want to backup
your apps or data.....
When you backup your apps via
MyBackup, you will be presented
with an option of either selecting
certain apps you want backed up
or all your apps......
With backing up your DATA you
backup either straght to your
SDCard or to a Online server, for
later restoring..... same with the
app menu you can choose what to
backup or backup the your entire
data on the ROM, when backup is
complete it will create a ZIP file
on you SDCard.......
You can also have a backup
scheduled for a certain time ,
which is a great feature to have
especially if you forget to backup
sometimes.........
To Restore you can simply tap on
the RESTORE button and restore
what you want........
*******************************
************
Manual Drag and Drop
Drag & dropping files from your
Android device whilst connected
to the PC is a easy & fuss free way
of backing up data, contacts,
images and other SD Card data.....
Take a few minutes of your time
to save yourself the heartache if
something unfortunate happens to
your Android device.
******************************
How to backup & restore all your
data, contacts etc..... on your
Android device running a Custom
ROM with Custom Recovery MENU
or Backup Software
Nandroid backup
For ROOTED Users, you will
obviously have a Custom Recovery
installed with your ROM..... As
with most Nandroid recovery
systems you can backup & restore
all data right from this menu.......
There are many custom recoveries
available the most common one
being the ClockworkMod Recovery, Just boot into
the recovery console, tap on the
backup/restore tag, usually
through the menu Backup and
restore > Backup or restore...
To Restore follow the same
method as backup option, boot
into Recovery Mode and select
Backup and restore > Restore.
*******************************
************
Titanium Backup
Another option for rooted Android
users is Titanium Backup.
Titanium Backup gives you direct
access to your system. If you have
not used this program before
make sure to read all release notes
and methods of using the program
as mistakes can be made....
Once you’ve launched the app,
click on the Backup/Restore tab
and click the Menu button on your
phone. From the menu that
appears, select Batch. At the next
menu, click [RUN] Backup all user
apps + system data. You can
choose to backup just your user
apps and system data but you can
choose a complete and total
backup of your phone.
Depending on how much of your
phone you’ve chosen to back up,
the initial backing up process can
take anywhere from a few minutes
to half an hour or even more. Just
like a Nandroid backup, you can
opt to copy the backup file to your
computer. Navigate to the /
Titanium Backup directory on your
device’s SD card and you can find
your backup there, ready for
safekeeping.
When you’d like to restore your
backup, you can enjoy the same
Batch function. Select Menu >
Batch. On the Backup/Restore
menu, scroll down to find restore
options.
************************

Best way to do a full backup (and restore it)?

Hi, on my previous phones I used TWRP to create full backups of my phone. My A2 lite is rooted with Magisk and I decided to keep the stock recovery to simplify OTA updates (also there is no official TWRP build available supporting encryption). The phone is already setup completely and I don't want to start all over again so formatting is not an option. Still I want to be able to create a full backup in case something goes wrong or the phone gets damaged. Is there a way to do this or do I have to continue with SD and TB backups? Thanks in advance.
nice q >>>waiting for an answer ???
I used Titanium Backup before. But now I'm using Migrate for backups.
My backup is TB and rsync of /sdcard to a server at home (automated overnight).
I never bothered getting anything else setup. I try not to brick my devices
I did have to restore a few times when I first got the phone, until I figures out how to recover from Magisk/xposed errors without factory reset.
i prefer Titanium Backup method with batch file to backup folders i need from phone memory to PC. of course i backup Titanium Backup folder too,
minimal adb&fastboot package is installed (portable) so i can perform below backup:
backup.bat
these example lines inside
adb pull /storage/emulated/0/DCIM
adb pull /storage/emulated/0/Download
adb pull /storage/emulated/0/Pictures
...

What is the Best Backup AND Restore Method?

Since upgrading from my Pixel, I've had the hardest time finding a reliable full system backup and restore method. Here's what I've tried so far:
TWRP backup and restore - the backup procedure works great, but I have not once been able to successfully boot back to the operating system after restoring. Usually get caught in some form of boot loop and I'm forced to wipe and start over.
ADB backup and restore - the backup command only works 50% of the time and the restore procedure hangs and fails each time I've tried.
Titanium backup and restore - great solution for apps and data, but requires more setup after the restore process than I'd prefer. Also, I can't seem to figure out how to backup directly to my Google Drive to avoid losing the backups during a wipe.
So, do you guys have any recommendations on a reliable full system backup and restore method?
Really, nothing?
PuffDaddy_d said:
Since upgrading from my Pixel, I've had the hardest time finding a reliable full system backup and restore method. Here's what I've tried so far:
TWRP backup and restore - the backup procedure works great, but I have not once been able to successfully boot back to the operating system after restoring. Usually get caught in some form of boot loop and I'm forced to wipe and start over.
ADB backup and restore - the backup command only works 50% of the time and the restore procedure hangs and fails each time I've tried.
Titanium backup and restore - great solution for apps and data, but requires more setup after the restore process than I'd prefer. Also, I can't seem to figure out how to backup directly to my Google Drive to avoid losing the backups during a wipe.
So, do you guys have any recommendations on a reliable full system backup and restore method?
Click to expand...
Click to collapse
After restoring the backup in twrp if it doesn't boot reflash what ever room the backup was on, ie. Stock, scorpion and so on. I had to reflash the stock img after I did a twrp restore and it booted back up with everything still there. Just make sure you get rid of the -w in the flash all.
I bought a USB-C drive (SanDisk 256GB Ultra Dual Drive USB Type-C FOR $53) from Amazon which connects directly to phone USB-c port. I am able to save backups from both TWRP and Titanium here and recover from it as well. One thing that I did notice like you said, when recovering from a TWRP backup, sometimes it boot loops. (It did this when trying to go back to stock from Scorpion OS). When it bootlooped, I flashed Magisk afterwards and that fixed the bootloop. Then it booted up properly. All the apps were there. I also save my Titanium backups to the USB drive and recover any apps from there (If/when needed). I keep the Titanium backup updated by running it every few days to update any apps that may have updated info. I recommend getting this drive, its fast and has a huge capacity. https://www.amazon.com/gp/product/B06XC1WGQR/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
Eudeferrer said:
I bought a USB-C drive (SanDisk 256GB Ultra Dual Drive USB Type-C FOR $53) from Amazon which connects directly to phone USB-c port. I am able to save backups from both TWRP and Titanium here and recover from it as well. One thing that I did notice like you said, when recovering from a TWRP backup, sometimes it boot loops. (It did this when trying to go back to stock from Scorpion OS). When it bootlooped, I flashed Magisk afterwards and that fixed the bootloop. Then it booted up properly. All the apps were there. I also save my Titanium backups to the USB drive and recover any apps from there (If/when needed). I keep the Titanium backup updated by running it every few days to update any apps that may have updated info. I recommend getting this drive, its fast and has a huge capacity. https://www.amazon.com/gp/product/B06XC1WGQR/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
Click to expand...
Click to collapse
Another reason why I miss expandable storage slots...

Categories

Resources