如何备份Android设备? -- backup 领域 和 restore 领域 和 remote-control 领域 android 相关 的问题

How to backup an Android device?


简体版||繁體版
73
vote

问题

中文

任何人都可以推荐备份Android设备的好方法吗?
理想情况下,我想无线地执行此操作,不仅备份我的数据,还要备份我的用户设置。是否可以备份Android设备的图像 - 以便甚至不需要重新安装应用程序?
听到已恢复备份的用户是特别有用的,以及他们的流程有多简单,更完整。 谢谢

英文原文

Can anyone recommend a good way to backup Android devices?
Ideally I would like to do this wirelessly and, not only backup my data, but also my user settings. Is it possible to backup an image of an Android device - so that one doesn't even need to reinstall apps?
It would be particularly useful to hear from users that have restored backups, as to how easy, and complete, their processes were. Thanks

        
   
   

回答列表

11
 
vote

如果您想执行基本上是您的设备的1比1备份,您可以使用自定义恢复来创建"NANDROID" 备份。这样做有效创建NAND分区的磁盘映像(因此"NANDROID" ),您可以在稍后的点中恢复。这将由设备和恢复系统有所不同,但通常如果要执行手机内存的完整备份,则需要:

  • root您的设备并安装自定义恢复。最受欢迎的恢复可能是 ClockworkMod 。您如何安装它将被设备差异,但 rom manager 可以做到在最受欢迎的设备上。您只需启动ROM Manager并从主菜单中选择"Flash ClockworkMod恢复" 。

  • 如果使用ClockWorkMod,请打开ROM管理器并选择"备份当前ROM" 。这应该为你做所有的工作。

  • 如果不使用ROM Manager 如果您使用的恢复而不是ClockWorkMod:

    • 将设备重新启动到恢复模式。这再次因设备而异,但ROM Manager有一个"重新启动进入恢复" 选项,可在上工作,无论您安装的恢复如何。另一种选择是从带有ADB配置和设置的已连接PC发出<代码> ABCDeFGHIJKLMNABCDEFGHIJKLMN5 。根据您的设备,可能还有其他要求进行恢复(例如,Kindle Fire与他人的点燃非常不同)。
    • 导航到"备份/恢复" 或"nandroid" 菜单(或类似)。
    • 选择"备份" 和(如果需要)选择要备份的哪个分区。一些恢复也将为您提供压缩备份的选项。
    • 选择"执行备份" (或类似)并等待进程完成。

一旦备份已经执行,您应该能够使用它来从许多"软" 砖中恢复。但是,您无法单独使用备份的两种情况将是:

  • 您的引导加载程序是无效/损坏的/ etc
  • 您的恢复分区是无效/损坏的/ etc

在两个方案中,您将首先需要修复违规分区(引导加载程序或恢复),然后再能够恢复备份。基本上,阻止您访问恢复分区的任何东西都将阻止您使用恢复来恢复备份。这样的情况是,我会说,相当罕见。你 can 使用备份来恢复一个坏的 /boot /system 分区,因此闪烁内核或rom应该具有极小的永久砖的可能性非常小的可能性您的设备(除非它修改您的恢复或引导加载程序,如上所述)。

you 可以能够从 fastboot 刷掉未压缩的备份,但这取决于您使用的恢复以及它如何执行其备份。正如我回忆,ClockWorkMod只是使用 dd 创建图像,他们实际上将在某些设备上正确闪光。但是,我会强烈建议在尝试之前研究这一点,因为一个糟糕的快速写作可以软砖。当然,只要你不尝试过度保护你的引导加载程序,你就不会丢失对<代码> adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale ,所以在某些方面,这可能是"没有任何冒险,没有任何增加" 的情况。

实际还原您可以的备份:

  • 在ROM Manager中选择"管理和还原备份" ,然后选择要从中恢复的备份。
  • 如果不使用rom manager 不使用clockworkmod:

    • 重新启动恢复
    • 选择"备份/恢复" 或"nandroid" (或类似)
    • 选择"恢复"
    • 选择要从(如果超过一个)
    • 的备份
    • 选择要恢复的分区(如果givent选项)
    • 选择"恢复" 并等待完成完成
默认情况下,

nandroid备份在几个情况下存储在外部存储设备上。某些例外可能是没有单独的外部存储的设备(例如,Galaxy Nexus等设备),其中 adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale1 目录实际上是在物理内部存储上。但是,在任何情况下,它将保存到您的 adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale2 目录,它可从PC可读为USB大容量存储或 Abcdefghijklmnabcdefghijklmn13 。你可以复制一个nandroid 关闭手机并进入计算机以进行安全保留,然后如果需要还原,请将其复制回后。

要执行此操作,您可以简单地插入您的设备并查找像 adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale4 (或 adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale5 for teamwin恢复,可能是其他地方)。 然后,您可以将文件夹的内容复制到您的计算机上。 或者,您可以通过插入设备并发出类似于:
  adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale7  

...从PC shell。

 

If you want to do what is essentially a 1-to-1 backup of your device, you can use a custom recovery to create a "nandroid" backup. Doing so effectively creates disk images of your NAND partitions (hence "nandroid") that you can restore from at a later point. This is going to vary a bit by device and recovery system, but in general if you want to perform a full backup of your phone's internal memory you would need to:

  • Root your device and install a custom recovery. The most popular recovery is probably ClockworkMod. How you install it will vary widely by device, but ROM Manager can do it for you on most popular devices. You simply launch ROM Manager and select "Flash ClockworkMod Recovery" from the main menu.

  • If using ClockworkMod, open ROM Manager and select "Backup current ROM". This should do all of the work for you.

  • If not using ROM Manager or if you use a recovery other than ClockworkMod:

    • Reboot your device into recovery mode. This again varies by device, but ROM Manager has a "Reboot into recovery" option that works regardless of what recovery you have installed. Another option is to issue adb reboot recovery from a connected PC with ADB configured and set up. There may be other requirements for getting into recovery depending on your device (e.g. the Kindle Fire is very different from others).
    • Navigate to the "Backup/Restore" or "Nandroid" menu (or similar).
    • Select "Backup" and (if needed) select which partitions you would like to back up. Some recoveries will also give you the option to compress the backup.
    • Select "Perform backup" (or similar) and wait for the process to finish.

Once the backup has been performed you should be able to use it to recover from many "soft" bricks. However, the two situations you would not be able to recover from with a backup alone would be:

  • Your bootloader is invalid/corrupted/etc
  • Your recovery partition is invalid/corrupted/etc

In both of thse scenarios, you would first need to fix the offending partition (bootloader or recovery) before being able to restore the backup. Basically, anything that prevents you from accessing your recovery partition will also prevent you from using your recovery to restore your backup. Such situations are, I would say, fairly rare. You can use a backup to recover a bad /boot or /system partition, so flashing a kernel or ROM should have an extremely small likelihood of permanently bricking your device (unless it modifies your recovery or bootloader, as noted above).

You may be able to flash an uncompressed backup from fastboot but this would depend on what recovery you are using and how it performs its backups. As I recall, ClockworkMod simply uses dd to create the image and they actually will flash correctly on some devices. However, I would strongly advise researching this before trying as a bad fastboot write could soft brick you as well. Of course, as long as you don't try to overwite your bootloader you won't lose access to fastboot, so in some ways this could be a "nothing ventured, nothing gained" situation.

To actually restore a backup you can:

  • In ROM Manager select "Manage and Restore Backups", then select the backup you wish to restore from.
  • If not using ROM Manager or not using ClockworkMod:

    • Reboot into recovery
    • Select "Backup/Restore" or "Nandroid" (or similar)
    • Select "Restore"
    • Pick the backup you would like to restore from (if more than one)
    • Select the partitions you would like to restore (if givent the option)
    • Select "Restore" and wait for the process to finish

Nandroid backups are, by default, stored on your external storage device in pretty much every situation. Some exceptions may be devices with no separate external storage (e.g. devices like the Galaxy Nexus) where the /sdcard directory is actually on the physical internal storage. In any case, though, it will save to your /sdcard directory, which is readable from a PC as USB mass storage or adb. You can copy a nandroid backup off of your phone and onto a computer for safe-keeping, then copy it back over later if you need to restore.

To do this you can simply plug in your device and look for a path like /sdcard/nandroid (or /sdcard/TWRP for TeamWin recovery, possibly elsewhere for others). Then you can copy the contents of the folder over to your computer. Alternatively, you can pull it with adb by plugging in the device and issuing something akin to:

adb pull /path/to/backups 

...from a PC shell.

 
 
22
 
vote
vote
最佳答案
 

要求您必须植根,您可以获得 Titanium Backup 并备份手机使用它。

使用 itanium backup 是这样您就可以选择性地恢复数据的一部分是安装Android的不同版本和/或构建。 Nandroid备份适用于有一个安全的图像重新开始,但它不利于在新的操作系统安装之上恢复数据(有时有副作用)。

 

The requirement being that you must be ROOTED, you could get Titanium Backup and back up your phone using that.

The reason for using Titanium Backup is so that you can selectively restore parts of your data if you were to install a different version and/or build of Android. NANDROID backup is good for having a safe image to fall back on but it isn't good for restoring data on top of a new OS installation (there are side effects sometimes).

 
 
     
     
17
 
vote

如果您没有rooted,则备份应用数据的好方法是使用 adb 来自 android sdk 。例如,要备份区域设置的数据,您可以执行以下操作:

adb pull /data/data/com.twofortyfouram.locale/ C:ackuplocale

并恢复,只需使用 adb push 以相反顺序的相同参数,即。:

adb push C:ackuplocale /data/data/com.twofortyfouram.locale/

您应该能够从 /data/app/ 的方式备份应用程序。

 

A good way to back up app data if you're not rooted is to used adb from the Android SDK. For example, to back up the data for Locale, you'd do something like the following:

adb pull /data/data/com.twofortyfouram.locale/ C:\backup\locale\

And to restore, just use adb push with the same arguments in reverse order, i.e.:

adb push C:\backup\locale\ /data/data/com.twofortyfouram.locale/

You should be able to back up apps from /data/app/ the same way.

 
 
       
       
5
 
vote

您可以使用许多应用,但许多人已经拥有了es文件管理器

注意:尽可能多地关闭应用程序。一些应用程序不会在运行时备份。

  • 启动es文件管理器
    (当您打开它时,您通常在文件管理器模式中)
  • 点击从右侧的第二个图标切换到应用程序模式
  • 长按任何图标。从上下文菜单中选择"全选"
  • 按MENU。选择"备份"

备份运行时,您可以通过打开通知栏来观看其进度

应用程序将被复制到备份/应用程序中

 

There are a number of apps you can use but many will already have the ES File Manager

Note: Turn off as many apps as you can. Some apps will not backup while running.

  • Launch ES File Manager
    (When you open it you are normally in the file manager mode)
  • Tap the second icon from the right to switch to Application mode
  • Long press on any icon. Select "Select All" from the context menu
  • Press Menu. Select "Backup"

While the backup is running, you can watch its progress by opening the notification bar

The applications will be copied into backup/apps

 
 
   
   
0
 
vote

取决于您的手机是此任务的复杂性。

htc evo(和支持的手机),您可以使用缺陷的根工具获取root访问权限。安装钛备份并返回到存储卡上的所有内容(包括系统)(并可以将其复制到您的计算机以获取额外的备份)。

否则,您需要获得类似于未撤销的root和使用钛的东西。

如果不可能,您需要root手机并进行NANDROID备份。这将在手机内存中作为图像备份所有内容,并且可以在任何时候恢复,以便在手机上完全更换任何内容,即使您安装了另一个版本的Android。

否则...... HTC PC同步?与其他工具相比,这有点糟糕。
 

Depending on your phone is the complexity of this task.

HTC Evo (and supported phones) you can use unrEVOked root tool to get root access. Install Titanium Backup and back everything (system included) up onto the memory card (and can copy it to your computer for extra backup).

Otherwise you need to either get something similar to unrEVOked to root and use Titanium.

If not possible, you need to root your phone and do a NANDROID backup. This backs up everything on the phone's memory as an image and can be restored at any point to fully replace anything on the phone with what it was, even if you installed another version of android.

Otherwise... HTC PC Sync? By that is kinda crappy compared to the other tools.

 
 
0
 
vote

如果 没有root ,则可以使用 mybackup 。它可以节省申请和amp;媒体(照片,音乐,视频),它可以保存数据(联系人,短信,彩信,警报,......)。

遗憾的是,它需要Internet连接(对于MyBackup / Rerware帐户)即使是本地保存和还原(例如,SD卡),免费版本是单手机只(你不能将备份复制到其他电话)。

注意,非根本版本不如例如钛备份或MyBackup Root。


还有氦气(以前的碳) ,这也不需要root。

 

If you don't have root, you can use MyBackup. It can save applications & media (photos, music, videos), and it can save data (contacts, SMS, MMS, alarms, ...).

Unfortunately it requires internet connection (for MyBackup / Rerware account) even for local save and restore (e.g. on SD card), and free version is single phone only (you cannot copy backup to other phone).

Note that non-root version is less powerful than e.g. Titanium Backup or MyBackup Root.


There is also Helium (formerly Carbon), which also doesn't require root.

 
 

相关问题

7  如何将我的设备用作WiFi键盘和电脑的触控板?  ( How can i use my device as a wifi keyboard and trackpad for my computer ) 
我有三种不同的MBP,运行XBMC,连接到我们的家庭影院系统。有一个应用程序可以在我的机器人上安装,并且当MBP连接到电视时,我可以在我的机器人和Mac上安装,这将使机器人充当键盘和触控板? 我知道xbmc remote,但它也很棒,但是我也希望能够为网络浏览或基本上我可以用它的膝盖可以用它(尽管有一个小键盘的东西...

1  Google查找设备远程位置转动  ( Google find device remote location turning ) 
现在,如果我想找到我的Lenovo Vibe P1 Turbo,在Marshmallow 6.0.1上运行,如果GPS在该手机上关闭 我可以远程打开我的电脑上的位置,所以我可以找到那个电话吗? ...

5  什么是良好的Android耳机与游戏/暂停和音量控制? [关闭]  ( What are good android headphones with play pause and volume controls ) 
关闭。这个问题是 off-topic 。它目前不接受答案。 想要改进这个问题?更新这个问题,所以它是关于android爱好者堆栈交换的主题。 关闭 ...

1  如何阻止别人远程控制手机  ( How do i stop others from remotely controlling my phone ) 
其他人远程控制手机。我如何阻止他们并让我的生命返回? 有时我会看到当我甚至触摸手机时正在导航的屏幕。刷动机,后退按钮和菜单选择自动发生,即使触摸手机或我的语音与Google Assistant互动。 ...

73  如何备份Android设备?  ( How to backup an android device ) 
任何人都可以推荐备份Android设备的好方法吗? 理想情况下,我想无线地执行此操作,不仅备份我的数据,还要备份我的用户设置。是否可以备份Android设备的图像 - 以便甚至不需要重新安装应用程序? 听到已恢复备份的用户是特别有用的,以及他们的流程有多简单,更完整。 谢谢 ...

-1  我丢失了Andriod,我可以从我的Google帐户中恢复数据吗?  ( I lost my andriod can i recover the data from my google account ) 
我丢失了我的Android设备。我是否可以使用我的Google帐户在手机中恢复数据? ...

12  什么是远程连接到Android手机的解决方案?  ( What are some solutions for remotely connecting to an android phone ) 
我大部分时间坐在一张桌子上,然后坐在我旁边的手机(Sprint HTC Hero)非常有用,但它可以分散注意到我的电脑远离我的电脑,在通知时控制我的手机进来。 连接到我的手机并通过WiFi或USB控制它的一些好解决方案? 我明白我需要我的手机扎根于大部分解决方案,并且多触摸功能可能必须走出窗口。 注意:我在Mac上,...

1  使用电视遥控器控制Android TV-Box?  ( Control android tv box with my tvs remote ) 
我有一个Amlogic M8 Android TV-Box,它有IR-Receiver。盒子带有一款红外遥控器,工作正常。但我想只使用我的通用遥控器,直接电视可以控制一切(我已经使用它来控制我的电视)。我想知道是一个可以学习任意红外码的应用程序,并将它们分配给遥控功能。 我知道如何通过我的手机以及vnc,upnp,d...

2  将电脑从平板电脑播放到媒体中心的音频/视频文件是什么?  ( What are methods to play audio video files from a tablet onto a media center ) 
我需要为Android平板电脑提供基于Kodi的娱乐平台帐户,以播放位于平板电脑上的高清媒体文件(音频和视频)。 Kodi在ARMv7板上运行,例如橙色pi 并连接到大屏幕(24-27英寸)。到目前为止我遇到的可能性是: 音频/视频流 Android屏幕铸造(带音频) 通过USB / Bluetooth / Wi...

36  我想从我的电脑远程控制我的Android设备而不烙它。这可能吗?  ( I want to remotely control my android device from my pc without rooting it is t ) 
寻找要遥控的东西,无需root。要清楚,我正在寻找完全控制计算机(在监视器上查看,使用鼠标和键盘输入)。 ...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有