- How to fully backup and restore your Android device without root
- How to fully backup your Android smartphone or tablet without root |
- How to enable USB debugging |
- How to backup your Android device’s data |
- How to restore your Android device’s data |
- Резервное копирование ADB Backup и ADB Restore
- Как сделать бэкап через adb?
- ADB Backup
- ADB Restore
- Способы резервного копирования на Android и восстановление
- Зачем бэкап Android?
- Резервное копирование в Google Drive
- Резервное копирование и восстановление SMS
- Резервное копирование и восстановление Фото
- Копирование данных Android по USB на компьютер
- Titanum Backup (root)
- С помощью кастомного Recovery TWRP и CWM (root)
- Резервное копирование и восстановление в ADB или ADB RUN
- Создание резервное копирование и восстановление блоков
- AnatomicJC / android-backup-apk-and-datas.md
- This comment has been minimized.
- natevw commented Mar 13, 2021
- This comment has been minimized.
- davtur19 commented May 17, 2021
- This comment has been minimized.
- jrd commented Jun 22, 2021
- This comment has been minimized.
- thebigsmileXD commented Aug 14, 2021
- This comment has been minimized.
- ToniCipriani commented Sep 21, 2021
- This comment has been minimized.
- GuruGoat commented Sep 25, 2021
- This comment has been minimized.
- berkes commented Nov 10, 2021
- This comment has been minimized.
- osamh757955 commented Nov 12, 2021
- This comment has been minimized.
- forianzsiga commented Nov 15, 2021 •
- This comment has been minimized.
- osamh757955 commented Nov 15, 2021
- This comment has been minimized.
- thebigsmileXD commented Nov 15, 2021
- This comment has been minimized.
- osamh757955 commented Nov 15, 2021
How to fully backup and restore your Android device without root
— Nov. 4th 2017 11:06 am PT
One of Android’s little-known tricks is its built-in backup and restore process that allows users to save their private data as well as the different installed applications. The process is pretty simple but it isn’t always full-proof. But unlike other backup and restore processes, this one doesn’t require your device to be rooted. Here’s how to access the tool…
As I touched on above, this isn’t a backup and restore process that will transfer every single thing on your Android device. In my experience, I recommend running two to three backups just to make sure you have everything saved. Things like SMS messages don’t get backed up so if you have anything valuable on your phone or tablet, it’s recommended that you transfer those individually.
You will need to download and set up the Android SDK on your computer. This will be used to initiate the backup and restore process on your Android devices. It’s also recommended that you set your device’s display sleep timer to a time that will disable it from turning off during the process. To do this go to Settings>Display>Sleep and choose the longest time period as possible.
How to fully backup your Android smartphone or tablet without root |
How to enable USB debugging |
- Go to your Settings menu
- Scroll down and tap on System
- Select About phone
- Tap on the device’s Build number multiple times until it enables Developer options. Newer devices will require you to enter your PIN/password/pattern
- Hit the back button and select Developer options within the System menu
- Make sure Developer options is toggled on. Scroll down and toggle USB debugging on
How to backup your Android device’s data |
- Plug your Android device into your computer
- Using either Command Prompt or Terminal, navigate to the folder in which the ADB tools are located and type in “ADB devices“. A pop-up on the Android device will appear if you need to grant your computer permission to interact with the phone or tablet. You will know if the command worked on your computer if it returns with the connected device’s identification number
- Type in “adb backup -apk -shared -all -f /backup.ab“
- Your Android device will now show the full backup window. Here you can encrypt your backup with a password (which is recommended)
- Tap on Back up my data
- This process can take several minutes and when completed, a new file will be placed on your computer
How to restore your Android device’s data |
- Plug your Android device into your computer
- Using either Command Prompt or Terminal, navigate to the folder in which the ADB tools are located and type in “ADB devices“. A pop-up on the Android device will appear if you need to grant your computer permission to interact with the phone or tablet. You will know if the command worked on your computer if it returns with the connected device’s identification number
- Type in “adb restore /backup.ab“
- Your Android device will now show the full restore window. If you added a password to your backup file, enter it in the space given
- Tap on Restore my data
- This process can take several minutes and when completed, most if not all of your previously installed applications will be present on your device as well as photos and other data
FTC: We use income earning auto affiliate links. More.
Источник
Резервное копирование ADB Backup и ADB Restore
Искали подробную статью, о том как сделать резервное копирование Android с помощью ADB? Рассказываем вам как пользоваться командами adb backup и adb restore! Переходите на сайт Android +1!
С каждым годом в Android улучшается система резервного копирования и восстановления! Однако пока нет ничего более безопасного и удобного варианта, чем adb backup и adb restore. Но есть проблема, работать придется в командной строке, и для многих это невероятно сложно. То возникает «ошибка adb не является внутренней или внешней командой«, то еще что-то. Поэтому было решено написать данный материал, чтобы вы могли во всем разобраться!
Как сделать бэкап через adb?
Для того, чтобы сделать backup android через компьютер, вам необходимо выполнить небольшую подготовительную работу:
- Скачиваем ADB и устанавливаем, советуем использовать версию Android + с инсталлятором, чтобы избежать многих ошибок
- На телефоне включаем «Отладка по USB«
- Подключите Android к компьютеру, запустите ADB и введите команду adb devices, после чего разблокируйте телефон и пройдите авторизацию ПК
Теперь можно выполнять резервное копирование!
ADB Backup
- Создать резервную копию Android (только данные, без APK приложений):
adb backup -all -f data.ab
Во время создания резервной копии, подтвердите действие на Android
- Создать резервную копию Android (данные и APK приложения):
adb backup -apk -all -f adb.ab
- Для того, чтобы добавить карту памяти, используйте аргумент -shared (карта памяти, данные и APK приложения):
adb backup -apk -all -shared -f adb.ab
- Чтобы исключить системное ПО, используйте аргумент -nosystem (карта памяти, данные и APK приложения, без системных):
adb backup -apk -shared -nosystem -f adb.ab
- Включить кеш в бекап, добавьте аргумент -obb (карта памяти, кеш, данные и APK приложения, без системных)
adb backup -apk -shared -nosystem -obb -f adb.ab
Рекомендую выполнять бэкап Android на компьютер с помощью команды adb backup -apk -shared -nosystem -f adb.ab , так как карту памяти можно скопировать всегда отдельно!
ADB Restore
В отличие от команды adb backup, команда adb restore не имеет каких либо дополнительных аргументов, тут все просто:
adb restore adb.ab
У вас еще остались вопросы? Пишите их в комментариях, рассказывайте, что у вас получилось или наоборот!
Вот и все! Больше полезных статей и инструкций читайте в разделе Статьи и Хаки Android. Оставайтесь вместе с сайтом Android +1, дальше будет еще интересней!
Источник
Способы резервного копирования на Android и восстановление
Расскажем все способы как создать резервное копирование телефона android и восстановление — на компьютер по USB, на облачный диск, c помощью adb, Recovery и многие другие!
Зачем бэкап Android?
Иногда не столько важен сам телефон Андроид, как информация на нем хранящаяся. Поэтому время от времени необходимо подумать о том, чтобы сохранять все необходимые данные на компьютер или облачный диск.
Резервное копирование в Google Drive
Начиная с Android 8.0 и в более новых версиях появился очень простой способ создания бэкапа всех данных, в том числе и SMS.
Ознакомиться с материалом сможете на нашем сайте — Как сделать резервную копию данных на андроид.
Главный недостаток есть большой минус, сделать восстановление данных, можно лишь на новом устройстве, либо на старом устройстве после полного сброса!
Резервное копирование и восстановление SMS
Так как многие сервисы и банки присылают коды подтверждения в SMS, то иногда потеря таких сообщений происходит болезненно! Чтобы сделать резервную копию SMS на Android и выполнить после восстановление, лучше всего воспользоваться приложением SMS Backup & Restore
Как пользоваться приложением, чтобы создать бэкап, читайте в статье резервное копирование SMS Android.
Резервное копирование и восстановление Фото
Практически на всех телефонах Android установлено приложение Гугл Фото.
Чтобы не потерять свои фотографии, войдите в свою учетную запись Google в настройках приложения, подождите пока все фото загрузятся в интернет, не беспокойтесь, их ни кто кроме вас не увидит.
Если вы введете свою учетную запись на новом телефоне, либо телефоне после сброса, то фото перекачают на ваш новый смартфон.
Копирование данных Android по USB на компьютер
Как вы поняли, практически все данные Android можно сохранить с помощью сервисов Google. Но есть данные которые еще можно потерять, например закачки с интернета и другие файлы, находящиеся во внутренней памяти Android.
Подключите телефон как накопитель к компьютеру и выполните копирование данных
Titanum Backup (root)
Самый удобный, гибкий и мощный способ бэкапа! Titanium Backup выполняет срез текущего состояния системы, резервные копии системных и пользовательских приложений и их данных.
Если планируете перейти на другую прошивку и потом восстановить все необходимое, то это то, что нужно! Читайте подробно о том как пользоваться Titanium Backup в одной из наших статей.
С помощью кастомного Recovery TWRP и CWM (root)
Прежде всего кастомное Recovery должно быть у вас установлено! Как это сделать и чем, подробно можно узнать из статьи скачать и установить Recovery. Создание бэкапа это не совсем резервная копия — это создание образа текущего состояния прошивки!
После того как установили Recovery войдите в него.
Создавать резервную копию и выполнить восстановление в TWRP очень просто!
Смотрите видео пример!
- Выберите меню Backup and Restore
- Выберите пункт меню Backup для создания резервной копии
- Выберите пункт меню Restore для восстановления
Резервное копирование и восстановление
в ADB или ADB RUN
Чтобы создать резервное копирование и восстановление в ADB на компьютер, необходимо:
После чего выполнить необходимые команды для копирования или восстановления
- Резервное копирование ADB
adb backup -apk -obb -shared -all -f backup.ab
- Восстановление данных ADB
adb restore backup.ab
Однако можно легко автоматизировать процесс и не вводить ни каких команд, в этом вам поможет ADB RUN.
Создание резервное копирование
и восстановление блоков
Если же вам нужно снять полный бэкап одного или всех разделов Android (снять образ) и вас есть Root права, то тогда можно копирование и восстановление с помощью DD IF!
Источник
AnatomicJC / android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb
adb is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Fetch application APK
To get the list of your installed applications:
If you want to fetch all apk of your installed apps:
To fetch only one application, based of listed packages results:
Backup applications datas
To backup one application, with its apk:
To backup all datas at once:
To backup all datas in separated files:
First, you have to install the saved apk with adb:
Then restore the datas:
Extract content of adb backup file
You will need the zlib-flate binary. You will able to use it by installing the qpdf package.
Then, to extract your application backup:
Miscellaneous: remove non-wanted applications
Sometimes, you have already installed (but non wanted) apps when you buy an Android Smartphone. And you can’t uninstall these apps. So Bad. And some pre-installed app are not present on PlayStore. WTF.
You can remove them with this command, and root is not needed:
You can first disable them, then when you are sure, you can remove them.
To list disabled apps:
This comment has been minimized.
Copy link Quote reply
natevw commented Mar 13, 2021
For other platforms there’s some zlib alternatives in the thread here. E.g.:
This comment has been minimized.
Copy link Quote reply
davtur19 commented May 17, 2021
For those using adb on Windows with bash
This comment has been minimized.
Copy link Quote reply
jrd commented Jun 22, 2021
pm list packages could be replaced by cmd package list packages as the pm list is a deprecated alias and can go away at any version.
This comment has been minimized.
Copy link Quote reply
thebigsmileXD commented Aug 14, 2021
To back up your SD card or any other folder to a tar file, you can do
adb exec-out «cd /storage/sdcard0 && tar c * -» > sdcard.tar
where adb pull might fail due to the target file system not supporting case-sensitive file names etc.
This comment has been minimized.
Copy link Quote reply
ToniCipriani commented Sep 21, 2021
Powershell for individual package backup:
Mind you for encrypted devices (which is almost every one out there these days) you will be prompted for a password ever single time.
This comment has been minimized.
Copy link Quote reply
GuruGoat commented Sep 25, 2021
Powershell to get all .apk.
Inspired by @ToniCipriani’s script above!
This comment has been minimized.
Copy link Quote reply
berkes commented Nov 10, 2021
If the backup file is empty, and/or the backup command exits immediately, that may be caused by running this as non-root.
First, enable «root access» for «ADB» on your devise at Settings -> System -> Developer options.
Then restart the server as root: adb root . Now the backup commands can access the data and can actually back them up.
This comment has been minimized.
Copy link Quote reply
osamh757955 commented Nov 12, 2021
Can I transfer WhatsApp Business through adb without root
Unfortunately, I haven’t been able to do it yet
This comment has been minimized.
Copy link Quote reply
forianzsiga commented Nov 15, 2021 •
actually, for newer devices (for me Android 12, unencrypted device, and without enabling password for the backup) the backup creation give me an empty file. When I changed the extension from .adb to .ab, the backup went seamlessly. It might be something version dependent, but it may be just a typo by the publisher.
This comment has been minimized.
Copy link Quote reply
osamh757955 commented Nov 15, 2021
actually, for newer devices (for me Android 12, unencrypted device, and without enabling password for the backup) the backup creation give me an empty file. When I changed the extension from .adb to .ab, the backup went seamlessly. It might be something version dependent, but it may be just a typo by the publisher.
There are no spelling errors in the text because I can transfer the official WhatsApp by adb, but I need to download the version to an old version, but WhatsApp Business cannot make a backup Is there a version of WhatsApp Business that allows me to backup
This comment has been minimized.
Copy link Quote reply
thebigsmileXD commented Nov 15, 2021
I’d prefer if this gist would stay a collection of helpful commands, and not a support forum, kthxbai
This comment has been minimized.
Copy link Quote reply
osamh757955 commented Nov 15, 2021
I’d prefer if this gist would stay a collection of helpful commands, and not a support forum, kthxbai
I want to ask more
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Источник