billw2 / rpi-clone

A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.48k stars 327 forks source link

How to backup an USB/SSD boot partitions? #133

Open dcaccount opened 2 years ago

dcaccount commented 2 years ago

Hello, I have successfully used rpi-clone to transfer Raspbian from a SD to a SSD. Thank you so much for your great work that has helped me a lot.

I would have a question/request.

Is there a way to implement a way to backup the SSD boot partitions:

/dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA) /dev/sda2 532480 31116287 30583808 14,6G 83 Linux

into a file, in order to easily restore the system in the case of need?

I used to achieve this with the SD by removing it and cloning with Wind32diskimager.

Is there here something similar?

Thanks a lot, Dan