Related
PLEASE READ THE ENTIRE POST BEFORE REPLYING. IF YOU DON'T I'LL JUST REPORT YOU FOR SPAM.
just spent an hour trying to find a way to do this and no such luck. i've read that clockworkmod recovery, when doing a factory wipe does not wipe the /sdcard but i still would like to be able to make a backup.
I've tried simply doing a copy/paste but windows refuses to even attempt it. even trying to do one folder at a time gives me issues. i've resorted to using airdroid for all my file transferring needs.
But using airdroid, even trying to do a backup, it eventually goes so slow that it fails. I have 4Gb of data i want to backup, and eventually it just stops transferring. i could do it one file at a time but honestly i don't feel like spending hours.
so does anyone know of any program, or possible easy way, that won't take days, to backup the /sdcard
You could always use cloud storage. Sugarsync gives you 5GB for free. Also, you could try running an FTP server app on your phone and then connect to it from your computer. I've used FTPServer in the past and it has been pretty quick to transfer lots of data.(https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImx1dGV5LkZUUFNlcnZlciJd)
yeah, i've thought of that, my internet at home isn't that great though. 6Mbps down, 1Mbps up. so cloud storage hasn't worked that great for me in the past, but maybe i'll give that ftpserver a shot.
BTW, i would like absolute confirmation that if i choose Wipe data/factory reset in CWMR Touch 5.504 beta 3 it won't erase any of the data on /sdcard.
as i've read, any CWMR won't erase the sdcard partition, but doing that through ICS, will.
Isn't CWMR 5.5.0.4 the non-touch version? I was using 5.5.0.4 and I can confirm that "Wipe Data/Factory Reset" does NOT erase anything on /sdcard, but I haven't actually done it in any other versions.
Hmm... what about using terminal/adb shell to build a .tar(.gz) of /sdcard and just copy that over to your PC?
codesplice said:
Hmm... what about using terminal/adb shell to build a .tar(.gz) of /sdcard and just copy that over to your PC?
Click to expand...
Click to collapse
sounds like a good idea if possible. correct me if i'm wrong, but wouldn't that allow you to use adb to restore all of your sd contents as well?
palisaide said:
Isn't CWMR 5.5.0.4 the non-touch version? I was using 5.5.0.4 and I can confirm that "Wipe Data/Factory Reset" does NOT erase anything on /sdcard, but I haven't actually done it in any other versions.
Click to expand...
Click to collapse
idk, mine has touch. not sure when/how i updated to it though. good to know that it doesn't though. thank you.
rsync backup for Android
http://forum.xda-developers.com/showthread.php?t=871307
Since you're on Windows, you would need to setup an SSH server. People in that thread have done this. A Linux desktop would make things a tad easier though.
This is how I backup the microSD on all my phones.
neok44 said:
sounds like a good idea if possible. correct me if i'm wrong, but wouldn't that allow you to use adb to restore all of your sd contents as well?
Click to expand...
Click to collapse
I believe so. You'd of course have to find some other folder on your internal storage (not /sdcard) to store the tarball while it's being created.
Or heck, adb should be able to do it all for you:
Code:
adb backup -shared -noapk -nosystem
*should* (according to adb help output) backup your /sdcard to "backup.ab" in the current directory
Code:
adb restore backup.ab
*should* then restore it.
Also, checkout "adb backup"
http://forum.xda-developers.com/showthread.php?t=1420351
Allows you to set a flag to include shared content (the microSD). You could probably get it to backup just shared content.
so i've gone through my whole sd card trying to figure out exactly how much data really needs to be backed up, and it's not much. biggest thing ist he 1.5GB CWM backup. everything else is pretty tiny.
so i'm thinking of giving the cloud a try.
are there any that anyone can recommend? I'm hoping for one that i'll be able to choose what folders to backup and have it automatically do it at a time that i set.
neok44 said:
so i've gone through my whole sd card trying to figure out exactly how much data really needs to be backed up, and it's not much. biggest thing ist he 1.5GB CWM backup. everything else is pretty tiny.
so i'm thinking of giving the cloud a try.
are there any that anyone can recommend? I'm hoping for one that i'll be able to choose what folders to backup and have it automatically do it at a time that i set.
Click to expand...
Click to collapse
I like dropbox + the DropSync app - best two-way cloud sync I've found yet.
Assuming you can get an MTP connection with your pc then try copying across the sdcard folders 1 at a time to back them up. First time I tried to back up the entire contents in a single go it seemed like it was stalled but it was actually just trying to work out how long it would take before starting and probably would have succeeded if left long enough. Copying the android folder and sometimes stall a copy so do that last.
Alternatively if you dont want to use cloud storage (which would take quite some time depending on upload speeds) you could try the backup option in my ToolKit which uses the latest version of adb and will give you an option to include internal storage in the backup file. Just make sure to check the backup file size after it completes as that function is a bit buggy in adb and has been known not to restore everything such as pictures and music so copy across what you can before starting.
Mark.
Thanks to both of you. I was able to do files one at a time and get them over. and luckily nothing was that big, except for the CWM backups. freaking 1.5GB, that alone is the reason why i wish i had a 32GB phone.
good to know that the toolkit has that option. i'll be sure to use that if i ever need to do a full backup in a hurry.
The dropbox dropsync solution sounds interesting and i'm gonna give that a try. basically i'm just trying to make sure my backup files from apps that don't use cloud syncing will be secure in case something ever goes wrong. with having only 13Gb in the phone i'm keeping most of my big stuff like movies in a 32gb microsd that i'm connecting with an OTG cable.
Although I don't think the tone of the first line of your OP is conducive to soliciting help, I'll thought in my two cents anyway.
The contents of your sdcard is located in /data/media. If you connect your phone to your PC, and open a command prompt in the same directory as your ADB.exe file, the following command will copy everything from your sdcard to your PC in a folder called sdcard_backup:
adb pull /data/media /sdcard_backup
Although not speedy by any means, I've successfully backed up over 8GB this way.
Yes, I'm a noob. No, I can't keep things brief. I'm sorry video, I just can't do it. Hello XDA. Here's my pickle:
So, my camera's faulty, and I'm going to have to send my Note II back to Kogan. This is my first Android handset, and my first time properly experiencing and using Android (I moved here from a Blackberry Pearl 9100). I don't consider myself a base-line user, I'm competent with many forms of electronics and computing so I quickly settled into Android nicely. Thus far I've rooted, flashed recovery and flashed CyanogenMod 9 for one Android phone (I was the first in my family to make the switch, my sister got a Galaxy Wonder for Christmas and I flashed CM9 so she could have at least ICS for her phone) and it was a fairly straight-forward process, nothing too difficult (although it seems my father's Motorola Defy+ might be a bit trickier).
I'll get to the point, due to the camera being basically dead on arrival, I've got to send it back. I don't want to send it back with all of my personal information intact however, I'd prefer to take a full backup of it and then factory reset the device before sending it away. This is where the warranty clause comes in.
I can't root the device (this action breaks warranty) and therefore can't flash CWM to do a nandroid backup. After some reading, a nandroid sounded like the ideal solution but obviously I can't do that. See, I wanted to backup all of my data, including (if possible) apps, settings, accounts, the works. I really don't want to have to go through the process of re-downloading all of my apps (my internet connection isn't the quickest around) and setting everything up just the way I want it again.
I stumbled across the adb backup technique, and considering the N7100 shipped with Jellybean 4.1 and adb backup requires ICS 4.0+, I thought "Hey, why not. It seems pretty straight forward." I also figured it'd be a small learning experience, I'm thinking about getting into android app development sometime in the near future and needed the SDK anyway so I downloaded and installed that, fired up adb and ran the backup with the following parameters:
Code:
adb backup -f <FILE PATH> -apk -shared -all -nosystem
And it seemed to get stuck on the apk for GTA Vice City. So, after about an hour of sitting, I pulled the plug and tried again. This time it got to Angry Birds and got stuck once more. I decided to run it again, but with a different set of parameters, I thought "Maybe it's getting stuck with the SD card data."
Code:
adb backup -f <FILE PATH> -apk -all -noshared -nosystem
This time it got stuck on Bad Piggies. I pulled the plug once more and started searching for answers, but there's not a huge amount of discussion about the backup function, let alone specific to the Note II. I read some stuff about the One X getting stuck on certain parts, but they certainly weren't games like this.
And that's the thing that links them all, they're games. I'm not sure if that specifically has any effect on the process, but I'm beginning to think that trying to back up EVERYTHING so that I can restore my device to the same state it is in now is a futile effort. Without the ease of a nandroid 'snapshot', I'm running out of ideas. I could go through and delete every game I've installed and try the backup again, but I'd like to see if anyone else has any alternatives or explanations.
Here are my queries, don't feel like you've got to answer them all, they're just the questions I've got in my head right now.
1. Is there any known reason as to why adb backup gets stuck on these apks?
2. Is there a better way of creating some form of 'snapshot' of my device without rooting it?
3. Would Samsung Kies' backup utility keep my app and system settings after a factory reset (in that it'd load up Nova Launcher with all of it's settings, along with the few widgets I have, intact)?
4. Are there any apps that would do this? I've heard Titanium Backup will, but you need to be rooted to use that.
I'm starting to feel that just doing it the manual way is going to be easier in the long run.
With question three, I'm assuming that Kies won't backup any apks, and therefore when my phone is sent back to me I'll have to set it up again, download my required/desired apps and then restore my settings through Kies (which will hopefully also restore settings for apps like Nova Launcher, and even better, for widget applications like HD widgets). However, if I'm wrong and Kies DOES backup apks, I'll just do that, it's so much less screwing around and it does what I wanted it to do but didn't think it did in the first place.
Thanks XDA,
-svdkillswitch
(Also, first post!)
Other information:
Device: GT-N7100 (international)
Carrier: Unlocked, Telstra
Android version: 4.1.1, 'Jelly Bean'
Baseband version: N7100UBALJ1
Build number: JRO03C.N7100UBALJ1
Rooted: No
Easiest way
Root with exynos abuse exploit (method 3 in link)and install titanium backup and backup all data using it. I recommend to save backup folder in Ext SD card.
After finishing this you can unroot from application itself.
dr.ketan said:
Easiest way
Root with exynos abuse exploit (method 3 in link)and install titanium backup and backup all data using it. I recommend to save backup folder in Ext SD card.
After finishing this you can unroot from application itself.
Click to expand...
Click to collapse
Thanks for your help,
You say in the linked post that while it doesn't trigger the flash counter, it can cause problems with the camera. If I'm just temp-rooting, backing it up with Titanium, and then un-rooting it again, none of these effects will remain I assume. I guess it doesn't matter too much anyway actually, because my camera is the reason I'm sending it back in.
And once I get my device back, it's as simple as installing the apk, rooting the device, installing Titanium and restoring my backup from the ext SD.
Sounds good. I'll give it a whirl and let you know how I go. +1'd.
-svdkillswitch
It cause camera issue only if you disable exploit, here you need not to do anything rather thn just root.
-Install that apk file, get device rooted.(there is option to root device in application), you need not to check disable exploit
-Install titanium Pro from market and backup (first select backup location to Ext sd card)
- Once finish, uninstall titanium and unroot device from exynose app
You can also factory reset and send to service centre.
dr.ketan said:
It cause camera issue only if you disable exploit, here you need not to do anything rather thn just root.
-Install that apk file, get device rooted.(there is option to root device in application), you need not to check disable exploit
-Install titanium Pro from market and backup (first select backup location to Ext sd card)
- Once finish, uninstall titanium and unroot device from exynose app
You can also factory reset and send to service centre.
Click to expand...
Click to collapse
Yeah, that's all I did. Rooted, installed Titanium and backed-up my data to the external SD card. I've un-rooted the device, all I need to do now is factory reset.
Thanks for your help, much appreciated.
-svdkillswitch
but adb doesnt work
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Hi - I'm having a similar issue. Upgraded from LP to MM and can't extract apps/data from Nandroid backup...
It says it's been successful but no apps are there...
NeoSonic said:
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Click to expand...
Click to collapse
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
topjohnwu said:
Q: **** app cannot access external SDcard!!
A: Look at this explanation:
Since Kitkat (2 years ago man), we don't have direct external storage write permission. Google consider it insecure, so they implemented this feature. The reason why you can access external SDcard easily before is because most roms on XDA already contains a hack in /system/etc/permissions/platform.xml. You should not rely on this hack forever, please take a look below.
In lollipop and after, Google provided a much secure and better way to grant external storage access to third party apps, first of all take a look at this article for details:
http://www.androidpolice.com/2014/1...s-automatic-mediastore-and-improves-security/
So instead of using the old platform.xml hack in the old Kitkat days, adopt yourself with this new behavior of Android!! If a certain app cannot access SDcard, ASK THE DEVELOPER to add support for this API!!
Many apps already have support for this API. I'll take Titanium Backup for example, as lots of you cannot find the way to use it on externals SD. In Menu>>Preferences>>Backup Location, you can choose Document Provider on top of the detect button.
In the provider, open the menu on the top right corner and select "Show SDcard", then you'll see External Storage in the left side. Select external SDcard in the document provider and press the button on the bottom, the app will then be granted access to the whole external storage. You can then create a new folder in TiBack and select it as your backup location.
Other apps also follows the instructions above, you just have to manually set up the folder where the app can access, in the case which most of us would love to give access to the whole SDcard, I set the location to the root of external storage. Each app has independent permission, so you have to manually grant each app you wish to access external storage.
Click to expand...
Click to collapse
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
NeoSonic said:
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
Click to expand...
Click to collapse
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
-Duir- said:
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
Click to expand...
Click to collapse
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
NeoSonic said:
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
Click to expand...
Click to collapse
I would say that's definitely it. Not only are you restoring app data for system apps from two different Android versions (LP -> MM) which can be buggy, but also for two completely different builds (Sense -> CM) which don't use the same apps. Sense will use HTC's own Phone and Messaging apps and CM if I remember uses stock Android versions). It's been too long since I tried CM but when I did it I had a third-party program for backing up contacts and installed something like GoSMS to backup messages, then installed the same apps on CM and restored the data from within those apps and the stock dialer/messaging apps had the data. But this was before HTC added backup/restore capability into their versions of the apps.
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
rapiollymega said:
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
Click to expand...
Click to collapse
Try going to Settings>Apps, find Titanium Backup, then select Permissions and see if Storage is toggled on.
I've got the same problem, storage permission is toggled on. Although I am using a LG G3
same here with my Galaxy S5 (AOKP 6.0.1)
The same problem on Xiaomi Mi Max (Android 6.0.1). External SD card permission is granted to TB (it can see full SD contents and select TWRP backup directories). But "extract from Nandroid backup" shows "folder not found" error.
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
I had copied data files of the backup (1.5 gigs, not a best choice) to internal memory (/sdcard) and TB immediately found them. Unfortunately, TB offers only apps and app data for restoration. I need to extract plain user data directories but TB offers no way for that.
Stock S5 6.0.1
same here...what a pain..
Had to copy nandroid backup from extsd to internal storage to restore app data
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
DAMN THANK YOU that solved it
Anyone knows how to extract the nandroidbackup from the TWRP folder on ExternalStorage? I cannot move the backup because its to large for my InternalStorage. I think it's an issue in TiBackup, creating a symbolic link also does not work since my ExternalStorage is formatted as exFAT.
Another fix I discovered is get your BACKUP ID
twrp save folder > TWRP>BACKUPS>BACKUPID>backup
if you have a backup without a backupid folder it will not work!
Having storage permission or not doesn't seem to help at all!
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
This helps Titanium Backup see its own backup folder, but doesn't help it see the /TWRP/BACKUPS folder
emuzychenko said:
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
Click to expand...
Click to collapse
Can a symlink be created from the location it's looking to the location it's actually at?
All,
When I got my Verizon Pixel XL I did the sync with my Samsung S6 it was replacing and was surprised on how quickly it pulled almost everything over. The only parts that were missing were phone history and text messages which I then pulled over using the SMS Backup & Restore App.
I got everything setup and of course now realize I can root my Pixel using pixel8 but I have to unlock the bootloader which will wipe the device.
I have never had the best luck actually doing a full backup/restore without root on other devices like the S6 I had and the S5 before that. I usually loose something in the process.
I tried to do an ADB full backup with all data, system files and shared data: adb backup -f backups\backup-all-system-apk-shared-201611081225.ab -all -system -apk -shared it only came out to be 2.7GB. When I did the backup without shared data or system: adb backup -f backups\backup-all-nosystem-apk-noshared-201611081223.ab
-all -nosystem -apk -noshared it only came out to be about 720MB.
According to my storage, I have 35.15 GB used of 119GB. So even the full 2.7GB seems Quite low.
Does anyone have a method of Getting ALL Data from a non-rooted device, in my case all 35GB so I can restore the entire device and not loose anything once I unlock the bootloader?
I got it working after passing the -obb option too. Also, that size looks right; mine was 3.7GB. Most of your used storage is your read-only redundant OSes, recoveries, boot paraphernalia, etc., so most of that doesn't need to be backed up.
hth
At the moment I dont' want to unlock,root the phone and install TWRP because I'm fine with stock Rom, but there's a way to backup to pc and restore from pc as we can with TWRP recovery?
Thanks
failax said:
At the moment I dont' want to unlock,root the phone and install TWRP because I'm fine with stock Rom, but there's a way to backup to pc and restore from pc as we can with TWRP recovery?
Thanks
Click to expand...
Click to collapse
ADB Backup
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
Google search link with 1.590.000 hits
My command line is:
Code:
adb backup -apk -shared -all -system -f C:/user/Pixel2XL/adb_backup/mmddyy.ab
This backs up all user apps and data, all system apps and data, and shared storage (internal SD card)
Pkt_Lnt said:
ADB Backup
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
Google search link with 1.590.000 hits
My command line is:
Code:
adb backup -apk -shared -all -system -f C:/user/Pixel2XL/adb_backup/mmddyy.ab
This backs up all user apps and data, all system apps and data, and shared storage (internal SD card)
Click to expand...
Click to collapse
Actually, you might want to include
Code:
-obb -keyvalue
*if you want to backup your games and any "apps that perform key/value backups"
What a great idea @Pkt_Lnt! I wish I realized this when I was planning to root and wanted to backup as best I could...
I'm purely just wondering, why include "-apk -shared" & "-system" when you have an option of "-all"? And isn't including "-f" meant to backup a specific file?
P.S. nevermind (on the -all & -system), after reading the help on the command, -all doesn't cover system apps...
Also, in terms of restoring.... would this method depend on root access for full restoration? does this method even backup settings and "personalizations" without root access (at least when backing up)?
simplepinoi177 said:
Actually, you might want to include
Code:
-obb -keyvalue
*if you want to backup your games and any "apps that perform key/value backups"
What a great idea @Pkt_Lnt! I wish I realized this when I was planning to root and wanted to backup as best I could...
I'm purely just wondering, why include "-apk -shared" & "-system" when you have an option of "-all"? And isn't including "-f" meant to backup a specific file?
P.S. nevermind (on the -all & -system), after reading the help on the command, -all doesn't cover system apps...
Also, in terms of restoring.... would this method depend on root access for full restoration? does this method even backup settings and "personalizations" without root access (at least when backing up)?
Click to expand...
Click to collapse
1 - I was trying to teach the poster above to fish, not trying to do the fishing for him. That said, I'm not a gamer, that "-obb" is not relevant to me.
2 - backup -f file Write an archive of the device's data to file.
This Reference
I do not see your "-keyvalue" in that ADB Command Reference doc, you might want to verify that before using it.
This is my actual command line from today. I'm on Linux, so I tried to make this easier for the Win crowd, knowing the tilde_backslash_path would throw 99% of those who might read this for a loop!
Code:
[email protected] ~ $ adb backup -apk -shared -all -system -f ~/Pixel2XL_adb_backup/backup05172018.ab
3 - ADB commands to not require root. Restore has always worked for me, and as you might guess, I have many "adb grant permissions" in use. :good:
For the rest of your questions, sorry I don't have time to do that research for you. All I use is the This Reference above, if that does not provide what you are asking, try this.
Pkt_Lnt said:
1 - I was trying to teach the poster above to fish, not trying to do the fishing for him. That said, I'm not a gamer, that "-obb" is not relevant to me.
2 - backup -f file Write an archive of the device's data to file.
This Reference
I do not see your "-keyvalue" in that ADB Command Reference doc, you might want to verify that before using it.
This is my actual command line from today. I'm on Linux, so I tried to make this easier for the Win crowd, knowing the tilde_backslash_path would throw 99% of those who might read this for a loop!
Code:
[email protected] ~ $ adb backup -apk -shared -all -system -f ~/Pixel2XL_adb_backup/backup05172018.ab
3 - ADB commands to not require root. Restore has always worked for me, and as you might guess, I have many "adb grant permissions" in use. :good:
For the rest of your questions, sorry I don't have time to do that research for you. All I use is the This Reference above, if that does not provide what you are asking, try this.
Click to expand...
Click to collapse
Cool...thanks for answering what you could...I was merely curious; I didn't mean/intend/imply that you do the research for me or anything. Yea, I know absolutely nothing about Linux and it's environment; so I/we appreciate you converting it to the "windows crowd" as well as "spelling it out" for me in the format you wrote it all out in your post. I, myself, have root and use TWRP for the backups...I was just trying to expand the knowledge...
Thanks again!