Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] How to do full backup and restore?

31

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
31

【Linux】 How to do full backup and restore?

Posted at 2/2/2019 15:45:41      View:2830 | Replies:1        Print      Only Author   [Copy Link] 1#
Hi.
Is it possible to do full backup image from eMMC and restore it with AndroidTool or other tools?
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 2/12/2019 10:58:56        Only Author  2#
The best and easiest way to do full image backup and restoration is: booting with sd card,
then using the `dd` command:

backup:
   dd if=/dev/mmcblk0 of=backup.img
   sync

restore:
   dd if=backup.img of=/dev/mmcblk0
   sync

Replace '/dev/mmcblk0' with the emmc device file in your board.
There are /dev/mmcblk0 and /dev/mmcblk1 if using sd card to boot.
You can find the sd card one by running `lsblk` command.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list