Delete/Rename/ Edit NAND backups? - Nexus One Q&A, Help & Troubleshooting

How can you organize these I got like 30 backups now.., confused!

Are you serious?
Either mount your SD card to your computer using the supplied USB cable, or - download Astro file manager and manage them that way. You can add an extra name to identify what each nandroid is for using common sense.
Example: for cyanogen mod I could rename it "nandroidcyan" and delete the cyan part when I need to restore it. Or "nandroiddesire", and repeat the process however many times it is needed.

Eclair~ said:
Are you serious?
Either mount your SD card to your computer using the supplied USB cable, or - download Astro file manager and manage them that way. You can add an extra name to identify what each nandroid is for using common sense.
Example: for cyanogen mod I could rename it "nandroidcyan" and delete the cyan part when I need to restore it. Or "nandroiddesire", and repeat the process however many times it is needed.
Click to expand...
Click to collapse
got it................

Its under /sdcard nandroid
S_Dot said:
got it................
Click to expand...
Click to collapse

Yeah the backups are stored in /sdcard/nandroid/[your phone's serial number]. And then there are folders for each of the backups. You can rename these folders to whatever you want. For example, the four backups I have now are: Stock, CM, TheOfficial, and Desire. Once you rename the folders, they show up as that name in the nandroid restore list.

Related

Nandroid Backup Question

Might be a stupid question, but I just want to confirm it before I try it.
I've backed up several backups and they're slowly piling up on my SDcard. Is it possible to manually delete them by connecting it to my PC (via USB) and renaming the folders that I'd like to keep? Renaming them shouldn't cause a problem when restoring would it?
stewroids said:
Might be a stupid question, but I just want to confirm it before I try it.
I've backed up several backups and they're slowly piling up on my SDcard. Is it possible to manually delete them by connecting it to my PC (via USB) and renaming the folders that I'd like to keep? Renaming them shouldn't cause a problem when restoring would it?
Click to expand...
Click to collapse
No, it shouldnt. I've renamed several of my nandroids before, adding suffixes to the end of the names to distinguish between different rom backups and they've all restored fine before
just dont put spaces in the folder name, it doesnt work with spaces.
and you dont need the computer. just use astro file manager, locate your backups, and rename the ones you want and delete the rest.

[Q] nandroid converted to update.zip?

Could i rename my nandroid back up folder the ending tree folder that holds the .android_secure.img, cache.img, data.img, nandroid.md5 and system.img ... like clockworkmod/backup/2010-11-25.05.05.13 could i just pop all those files into a .zip named whatever and direct him to clockwork recovery and flash zip from sd card?
Titanium backup igives you the option to create a update.zip, then it gives you two radio buttons one says titanium backup will be installed as user application and then System application.
I know that the whole create update.zip thing is for flashing it to the rom from recovery. But what is the diffrence bewteen those two options. What is best and what is the diffrence..
swirlin_1 said:
Could i rename my nandroid back up folder the ending tree folder that holds the .android_secure.img, cache.img, data.img, nandroid.md5 and system.img ... like clockworkmod/backup/2010-11-25.05.05.13 could i just pop all those files into a .zip named whatever and direct him to clockwork recovery and flash zip from sd card?
Titanium backup igives you the option to create a update.zip, then it gives you two radio buttons one says titanium backup will be installed as user application and then System application.
I know that the whole create update.zip thing is for flashing it to the rom from recovery. But what is the diffrence bewteen those two options. What is best and what is the diffrence..
Click to expand...
Click to collapse
By not renaming to update.zip, u can keep multiple versions of backups on ur phone. I tend to take a backup more or less everytime I try to make any changes, like applying themes I do not know, or am not confident of.

[GUIDE][Windows] Making backups with adb

NOTE: The Nexus 4 does not have a physical sd card. However, the user directory on the phone is located at /storage/sdcard0/ and will, for the purposes of this guide, be referred to as the sdcard.
Click to expand...
Click to collapse
Making sdcard backups with MTP is often unreliable. First of all, files are not always immediately updated with the ones on your phone. As a result, there may be folders missing, files that you deleted on your phone still showing up, etc. Also, the Date modified values of files are changed to the time that the files were moved onto your computer, which can cause errors when restoring them to your phone; i.e. photos in gallery not appearing in order. Other times, MTP is simply not available (if you have an older computer or an unsupported OS, for example). The best way to go about a backup is by using adb (Android Debug Bridge).
So, let's get started.
1. First, you're going to need some variant of the Android SDK/Software Development Kit as well as the Nexus 4 drivers installed. I won't show you how to do this, as there are already many guides and tutorials available.
Here's the link to the official Google ADT/Android Developer Tools.
2. Once you've got everything on your computer set up, open up the Settings app and go to About phone. Scroll down and quickly tap the Build number tile seven times. You have now enabled Developer options.
Go back, enter Developer options and enable USB debugging. An authorization pop-up will appear; allow it.
3. Now, open up a command prompt window and change directory to the location of adb on your computer. If you installed the official SDK, this will be under
Code:
folderyouextractedto\sdk\platform-tools
Connect your phone via USB and type
Code:
adb devices
You should see something like this:
Code:
List of devices attached
random numbers and letters device
If you don't, you probably don't have the drivers installed properly OR you failed to authorize your computer for USB debugging.
4. Make a folder on C:\ (or whatever your OS drive is) with NO SPACES in the file name. You can now make the backup.
Type
Code:
adb pull /storage/sdcard0/ C:\folderyoumade
You are now backing up your entire sdcard. This can take a while, depending on how many files you have on your phone.
When the copy is complete, you should see something like
Code:
x files pulled. 0 files skipped.
0 files skipped is very important, as it confirms that all of the files were copied over correctly.
To backup specific folders on it, simply change the command to that directory on your phone.
i.e.
Code:
adb pull /storage/sdcard0/folderyouwant/ C:\folderyoumade
5. To restore a backup, simply type
Code:
adb push C:\folderyoumade /storage/sdcard0/
NOTE: Restored folders DO NOT replace existing folders on your sdcard. They are merged (so pre-existing files in a folder remain, while any new files are copied in).
Click to expand...
Click to collapse
NOTE: I recommend that you do not use your phone during a backup or restore so as to make sure all files are properly copied.
Click to expand...
Click to collapse
Remember, this is only an sdcard backup. App and system data are NOT copied over. If you want to make a backup of your app data, the easiest way to do this is with Titanium Backup, Helium, or a similar app and then backup those files using adb pull. If you wish to make a complete backup of your file system (not including sdcard though), make a nandroid from recovery.
Reserved
klvnhng said:
Reserved
Click to expand...
Click to collapse
Good method if MTP failes or crashes! Thanks!
Thanks!
I get remote object '/storage/sdcard0' not a file or directory when I try pull. Help?:crying:
nphone said:
I get remote object '/storage/sdcard0' not a file or directory when I try pull. Help?:crying:
Click to expand...
Click to collapse
You forgot the frontslash at the end of 0. Try that
On some devices you can't specify destiny forlder in order to use adb push or pull, you have to use current folder:
Code:
cd C:\folderyoumade
adb pull /storage/sdcard0/folderyouwant/
It's better to backup the sdcard this way than using adb backup because it also backups the Android folder inside the sdcard.
Or much shorter;
adb pull /sdcard C:\SDCARDBackUp
__________________________________________________
Device: Google Nexus 4 (LG-E960) 16GB (MAKO)
ROM: SimpleAOSP-L-ROM (Stable Build 7)
Kernel: Stuxnet v4.5 (3.4.105)
Gapps: PA-Gapps-5.0.1-BETA4 (MINI)
_________________________________________________
Is there a way for pull to skip files which already exist in your specified destination? Sometimes it errors in the middle of a long transfer because it doesn't like a file name or something.
I was looking for a better way to push my virtual sd card backup, as using the copy and paste method in windows doesn't copy all of the files for some reason. It will copy all the files from the sd card to the PC, but not back again. I was having to search through every folder and copy and paste to get everything copied back. Thank you so much for this tutorial. I knew about adb push command, but I never tried it, because I always thought the copy and paste method would be easier. Boy was I wrong. This way pushes all the files in one try. Soooo much easier.
I have a question, can I also backup this file directory: /storage/emulated/0? Or is this something else, I checked both folder and they seem to be the same.
Hi,
I've done a full backup using adb backup, including the whole content of my sd card (using the -shared option).
However, when restoring my device using adb restore, nothing is restored on my sd card (not the apps and not the files).
Am I doing something wrong?
Is there any special option to use for the restore?
Is there any other way to restore my apps&data from my backup file (.ab) using other commands ?
The content of my backup file seems correct though.
Thanks!
NikoBe00 said:
Hi,
I've done a full backup using adb backup, including the whole content of my sd card (using the -shared option).
However, when restoring my device using adb restore, nothing is restored on my sd card (not the apps and not the files).
Am I doing something wrong?
Is there any special option to use for the restore?
Is there any other way to restore my apps&data from my backup file (.ab) using other commands ?
The content of my backup file seems correct though.
Thanks!
Click to expand...
Click to collapse
Sounds like the adb backup didnt copy the /storage/sdcard0/android/ folder on the sdcard perhaps? Maybe try using adb pull to copy the scdard seperately in addition to doing the adb backup to be safe. You could push the sdcard data back manually if the restore doesnt. See below:
scandiun said:
On some devices you can't specify destiny forlder in order to use adb push or pull, you have to use current folder:
Code:
cd C:\folderyoumade
adb pull /storage/sdcard0/folderyouwant/
It's better to backup the sdcard this way than using adb backup because it also backups the Android folder inside the sdcard.
!
Click to expand...
Click to collapse
it doesnt work
Why?
klvnhng said:
You forgot the frontslash at the end of 0. Try that
Click to expand...
Click to collapse
I font understand why is the front slash required?
I also forgot the front slash and was facing the same problem. Now its working after adding the front slash.
So, why is the front slash required and what does it mean ?
can I backup the sd card even if it is external using this method (apps are moved there too)?
edit: ok, I got the android folder from sd card, the message was:
/storage/sdcard1/Android/: 147 files pulled. 0 files skipped.,
but how am I supposed to see them?
I contacted AppMgr III, maybe they can tell me

[Q] ClockWordMod Zip Backup restore help

Hi All,
i made a nandroid backup with CWM and i used the server function to download it to my PC, now im trying to restore it but no matter where i place on my ONE i cant get clockwork to recognise it.
Ive tried the SD card, mnt/shell ect... nothing seems to work
would anyone know what im doing wrong?
JoeRadd said:
Hi All,
i made a nandroid backup with CWM and i used the server function to download it to my PC, now im trying to restore it but no matter where i place on my ONE i cant get clockwork to recognise it.
Ive tried the SD card, mnt/shell ect... nothing seems to work
would anyone know what im doing wrong?
Click to expand...
Click to collapse
what do you mean by "Zip Backup"? the backup is a folder called something like "2013-mm-dd-hh.mm.ss"
and that folder should be placed in /data/media/clockworkmod/backup/
if it's a zip you downloaded off the net, then unzip it on your computer first, then push the folder to above location.
nkk71 said:
what do you mean by "Zip Backup"? the backup is a folder called something like "2013-mm-dd-hh.mm.ss"
and that folder should be placed in /data/media/clockworkmod/backup/
if it's a zip you downloaded off the net, then unzip it on your computer first, then push the folder to above location.
Click to expand...
Click to collapse
Its recognised as a zip on my PC although it cant be unzipped with 7zip or WinRar. if you go to manage and restore back ups in rom manager it lets you download a folder to your pc, cannot for the life of me figure out how to push it back to the phone so it can be recognised though.
JoeRadd said:
Its recognised as a zip on my PC although it cant be unzipped with 7zip or WinRar. if you go to manage and restore back ups in rom manager it lets you download a folder to your pc, cannot for the life of me figure out how to push it back to the phone so it can be recognised though.
Click to expand...
Click to collapse
1- what do you mean it can't be unzipped? where did you get it from
2- never used rom manager so no idea about that
3- use "adb push 2013-mm-dd-hh.mm.ss /data/media/clockworkmod/backup/2013-mm-dd-hh.mm.ss" to get the backup onto phone

Transferring data, etc. to replacement phone

So i had to get my N6 replaced becasue the top speaker was all wacked out, so i got the new one and hope someone can help me (i know there will be ) first i'm trying to copy the titanium backup files, i keep getting an error on certain files saying "cannot copy, device has stopped responding or has been disconnected" when clearly neither of those things have happened. I am on stock rooted & unencrypted. I tried searching but found no answer to this..
Just created an update.zip but when i look on the computer, i cannot see the file..
how are you trying to copy the backup files?
I usually copy it to an online storage (dropbox/box etc). Make sure you download and restore it to your new phone before wiping/returning your old phone.
I'll try dropbox, what i did was had it create an update.zip which contains apps+data so i could flash it in recovery on the new phone. I can see the file with root explorer on the sdcard, but when i plug it in to the computer i don't see the file..
I'm trying to drag the tibu folder to dropbox and it won't do anything...
ryanallaire said:
I'll try dropbox, what i did was had it create an update.zip which contains apps+data so i could flash it in recovery on the new phone. I can see the file with root explorer on the sdcard, but when i plug it in to the computer i don't see the file..
Click to expand...
Click to collapse
Are read/write permissions set on the file/directory?
Try moving it to your phones "Downloads" directory and see if it shows on your computer? Enable "view hidden file types".
rwxrwx-- the only part not checked is where it says others..
Edit: I tried checking the boxes next to others and it said permissions could not be changed..
blyndfyre said:
Are read/write permissions set on the file/directory?
Try moving it to your phones "Downloads" directory and see if it shows on your computer? Enable "view hidden file types".
Click to expand...
Click to collapse
I moved it to downloads, backups, with view hidden file types and still nada...
Ok i have it syncing to dropbox now, i 've never used dropbox to sync data so i did some reading and found out how. What i couldn't find was after it syncs to dropbox, do i restore apps+data to the replacement phone?

Categories

Resources