Does anyone know how to restore a backup?
Can we use fastboot? Or tool have restore option? [/QUOTE
For restore backup use fastboot command or terminal emulator (TWRP).
In Fastboot mode use :
sudo adb shell (with sudo bypass permission denied)
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
or
On terminal emulator (TWRP)
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
(enjoy)