It worked perfectly.
Thanks
Thanks
Originally posted by leolas
View Post
Yes you can use it in any intel device with x64 or x32 BIOS, but you must insert the command in Terminal manually.
Once you select advanced in the first menu, you will log in a basic xserver, and gparted and a Root Terminal windows will be launched.
Once the device boots you can remove safely the live usb and insert your backup destination device, a usb memory or sdcard.
First you must mount your destination device with:
sdz4 is an example, it must match with your destination backup device.
To backup:
mmcblk0 is the device you want to be backup
fullbackup.gz is the file where you will keep the backup
The second line is to make a md5sum of the destination backup file, we recommend to use it to ensure the file is not corrupted from the backup to the restore process.
Remember that in the destination device you will need a lot of free space, we use pigz because is a multicore command line compressor.
To restore:
You must mount the device where you have the backup file just like we did when we made the backup, then:
After the md5sum line you must got a valid check
mmcblk0 is the device you want to be restored
fullbackup.gz is the file where you did the backup
pv is only to check the process is not stuck.
Please make all the steps with care, and identify your devices right. The process will last a lot of time if the internal memory has a lot of space used. So wait patiently to the process ends.
Please use this with care and knowing what are you doing, you can brick the device if you miss something.
Once you select advanced in the first menu, you will log in a basic xserver, and gparted and a Root Terminal windows will be launched.
Once the device boots you can remove safely the live usb and insert your backup destination device, a usb memory or sdcard.
First you must mount your destination device with:
Code:
mount /dev/[B]sdz4[/B] mnt/
To backup:
Code:
dd if=/dev/[B]mmcblk0[/B] bs=512 | pv | pigz --best > mnt/[B]fullbackup.gz [/B]md5sum mnt/[B]fullbackup.gz[/B] > mnt/[B]fullbackup.md5[/B]
fullbackup.gz is the file where you will keep the backup
The second line is to make a md5sum of the destination backup file, we recommend to use it to ensure the file is not corrupted from the backup to the restore process.
Remember that in the destination device you will need a lot of free space, we use pigz because is a multicore command line compressor.
To restore:
You must mount the device where you have the backup file just like we did when we made the backup, then:
Code:
md5sum -c $HOME/mnt/fullbackup.md5 pigz -dkc mnt/[B]fullbackup.gz[/B] | pv | dd of=/dev/[B]mmcblk0[/B] bs=512
mmcblk0 is the device you want to be restored
fullbackup.gz is the file where you did the backup
pv is only to check the process is not stuck.
Please make all the steps with care, and identify your devices right. The process will last a lot of time if the internal memory has a lot of space used. So wait patiently to the process ends.
Please use this with care and knowing what are you doing, you can brick the device if you miss something.
Comment