Questions tagged [backup]

Use this tag if you have issues with backups (of apps, settings, documents) on your Android device. As this is a quite generic tag, please use a more specific tag if applicable, for example 'nandroid', 'titanium-backup', 'clockwork-mod'. For restoring your backups, 'restore' is the more appropriate tag. Check the full tag wiki for more details and hints.

What is a backup?

In information technology, a backup or the process of backing up is making copies of data which may be used to restore the original after a data loss event. In Android, this affects applications, settings and documents.

Which types of backups do we have for Android?

Basically, we can distinguish three types:

Nandroid

A Nandroid backup (as it's done by e.g. ClockworkMod) basically creates full images of all your device's partitions, without any abstraction. This does not necessarily mean one could not pick single items out of a Nandroid backup, but its not that trivial. If you restore a single partition only (such as /data), it must fit the other parts of the system. The /data partition also holds the /data/dalvik-cache, for example, which consists of the byte-code for all installed apps, optimized for the ROM which created it. If you would restore only the /data partition from a backup of ROM-X to a device with ROM-Y, those DEX (Dalvik EXecutables) would not fit. Also ROM-Y might use different directory structures for several things, which are not reflected here. As a result, you might have a unstable system (which might not even be able to complete its process), see apps crashing, and the like.

Doing this would not be such a good idea. So for the average user, a Nandroid restore is rather an all-or-nothing: Either restore it completely, or not at all. Unless you know exactly what you're doing, of course.

ADB Backups

Backups created with the adb backup command are a different case: they are "abstracted". If you look into such an archive, you will not find the directory structure reflected. Thus, at least in theory, an app backup (including the apps' data) created on ROM-X should restore fine on ROM-Y, as the ADB daemon on the device should take care of what belongs where.

Note however that apps can "protect" themselves from participating in such backups, which usually results in 41-byte-files when you backup them separately. If your device is rooted, you can work around that using the with the Backup All Apps module. Also uncovered by this backup are your SMS/MMS and, on most devices, your contacts.

App-based backups

There are several apps available for Android that create backups of apps, their data, or both. Some only cover system data available via so-called "data providers" (contacts, call logs, bookmarks, SMS/MMS, and the like). Others can capture/extract the .apk app installation archives. A few can backup apps, their data, and even system data—which before Android 4.0 required root permissions. Two of the powerful apps shall be mentioned here:

  • Titanium Backup is one of the best-known, most-powerful, and most recommended Backup solutions. It is able to backup apps, their data, data available via data-providers, system data, and more. And it can read (and restore) things from Nandroid and ADB backups as well. But it requires your device to be rooted.
  • Helium - App Sync and Backup (previously called Carbon) creates backups compatible with ADB backups (in fact, it is a front-end to the adb backup and adb restore commands). It can backup apps and their data, plus some other system data and stuff available via some data-providers. More to come, we hope. Helium Backup does not require root.

Related tags

Related questions on Android Enthusiasts

See also the most frequented backup questions for interesting links. Moreover, those of our tag might be of interest as well.

External resources

1200 questions
374
votes
8 answers

How to fully backup non-rooted devices?

I know I'm asking for the close-to-impossible -- as a real full-backup certainly requires root permissions. But still there are many folks around not wanting to root their devices -- afraid of voiding their warranties or bricking their devices, or…
Izzy
  • 91,166
  • 73
  • 343
  • 943
23
votes
5 answers

How can data on an unrooted phone be backed up?

What methods are available to back up data (both system and application) from a phone which is not rooted and is running stock Android 2.3.4 Gingerbread? It is my understanding that it is impossible to retrieve application data (not stored on the…
Kevin Reid
  • 760
  • 1
  • 6
  • 18
11
votes
1 answer

Can a non-rooted Android 4.0.3 smartphone’s ROM be backed up?

Possible Duplicate: Full Backup of non-rooted devices I am using a smartphone running non-root Android 4.0.3 and am also a desktop Linux user (Ubuntu 12.04 amd64). In Linux/Ubuntu, I could backup my whole system (whole partition) into a file…
user1129812
  • 269
  • 3
  • 7
10
votes
3 answers

How to restore a Helium backup?

I am transfering to a new phone, and I backed up my stuff using helium to Dropbox. Later I copied that folder to carbon folder on my sdcard, but helium doesnt seem to detect it. Any idea how I can restore that? It looks like the format is…
Karthik T
  • 395
  • 2
  • 6
  • 18
8
votes
2 answers

Looking for Android equivalent of Clonezilla / Diskimage / Ghost etc

Have been googling for quite a few hours but can't seem to find what I'm looking for, hope someone can point me in the right direction.... I want to basically make a complete image of my phone before I make an changes to it so that I can restore it…
Dave
8
votes
2 answers

Best practice for backing up /data/media?

Currently, TWRP backups don't include /data/media, and this doesn't appear to be on the developers' radar at all (the issue for it over at GitHub is just a bunch of +1s with no official response). Now that we have SELinux to contend with, simply…
blackwind
  • 322
  • 1
  • 3
  • 12
6
votes
1 answer

Transfer applications and settings from my old Android phone to my new one

Possible Duplicate: How to backup an Android device? I recently purchased a new Android device and I would like to be able to back up all of my settings/installed applications/app settings so that I can easily transfer them from the old phone to…
gnarf
5
votes
0 answers

Full Backup of non-rooted devices (Android version 2.3.X and below)

This question is NOT a duplicate of this question but of an follow-up because the answers over there does not provided any solution for Android version 2.3.X and below. In that question - Full Backup of non-rooted devices, User ryan-conrad provided…
Jack
  • 1,026
  • 9
  • 21
  • 38
4
votes
2 answers

Backup ALL Android files to PC?

I've had this issue with both my GS3 and now my N5. I routinely wipe my phone and start over fresh, so using apps like TitaniumBackup and Helium does not help me since I don't plan on restoring any of my apps in the future. My problem arises when I…
Chris
  • 41
  • 2
4
votes
1 answer

Which allowBackup attribute is useful to understand if an app can be backup?

A user on our site wanted to backup a game. For an unrooted device, the usual route to backup is either with Google Cloud Sync, or with adb. Both depends on the attribute allowBackup in the app manifest. If it is false, it won't be backup. That was…
Firelord
  • 25,084
  • 20
  • 124
  • 286
4
votes
1 answer

how to back up an app's data manually?

I am able to backup my app's data from the root/data/data/you.package.name directory by just moving it to SD card manually. however, when i reverse the process, …
copper girl
  • 51
  • 1
  • 2
3
votes
0 answers

List apps (not) supporting adb backup

Is there a reliable way to identify all the installed apps that do (not) support adb backup? I am running a LinageOS and seem to be forced to reinstall to upgrade. I would like to check which apps I need to manually back up or where I need to be…
criztovyl
  • 131
  • 2
3
votes
1 answer

How to comprehensively back up user-significant data from Android device

I'm interested in making a thorough backup of all my customizations to my android phone. Perhaps not so far as to "image" the phone, because the phone itself is locked to a carrier and I would like to be able to restore the backed up customizations…
Jon
  • 39
  • 2
3
votes
3 answers

How to recover or reset "current backup password"

Yesterday there a bunch of app updates, I didn't pay much attention to which ones, there were perhaps 8 or 10. Since then my phone has shutoff and/or rebooted unexpectedly at least 8 times. 4 times it's gone through a full "optimizing apps" cycle,…
matt wilkie
  • 339
  • 2
  • 6
  • 19
2
votes
1 answer

ADB is not fully backup my device

I am backing up my device. When I restore it in another device, I see that some settings is not restored. For instance, Google accounts, security settings etc. How can I fix that? UPDATE: I used ./adb backup -apk -shared -all -f backup_test.ab for…
Burak
  • 123
  • 5
1
2 3 4 5 6