/pi-image

This is a Raspberry Pi system backup tool.

Primary LanguageGoMIT LicenseMIT

pi-image

This is a Raspberry Pi system backup tool. Back up the system according to the actual size. Support Linux / Raspberry/windows (only support full backup) system.

source:

https://github.com/BigBubbleGum/RaspberryBackup/blob/master/rpi-backup.sh

Compile

git clone https://github.com/dosgo/pi-image go build

use

linux

sudo ./pi-image

windows

  1. Run pi-image in cmd
  2. Use "docker run --rm --privileged=true -v pwd:/workdir turee/pishrink-docker pishrink .img" to reduce the image

//docker run --rm --privileged=true -v /f:/workdir turee/pishrink-docker pishrink openwrt-19.07.4-brcm2708-bcm2710-rpi-3-ext4-factory.img