Q: clone to USB Flash Stick for backup; how to restore? #172

Open
opened 2023-11-12 01:25:33 +01:00 by chrissv · 3 comments
chrissv commented 2023-11-12 01:25:33 +01:00 (Migrated from github.com)

My apologies if I missed this in the documentation, but I couldn't find it.

In my implementation, instead of using an SD card in a USB-to-SD adapter as the clone destination, I have a regular USB flash stick (just because I have a bunch around). rpi-clone has no problems cloning to the USB flash device.

So what happens when/if I have an SD card failure, and I need to use/restore this cloned USB flash drive to a new SD card? Is there a tool to copy/restore from the USB stick back to an SD card (presumably on another machine, since the RPi isn't running)? Does anything (PARTUUID) need to be fixed up afterwards on the SD card?

My apologies if I missed this in the documentation, but I couldn't find it. In my implementation, instead of using an SD card in a USB-to-SD adapter as the clone destination, I have a regular USB flash stick (just because I have a bunch around). rpi-clone has no problems cloning to the USB flash device. So what happens when/if I have an SD card failure, and I need to use/restore this cloned USB flash drive to a new SD card? Is there a tool to copy/restore from the USB stick back to an SD card (presumably on another machine, since the RPi isn't running)? Does anything (PARTUUID) need to be fixed up afterwards on the SD card?
framps commented 2023-12-30 20:01:04 +01:00 (Migrated from github.com)

I don't know for sure - but as far as understand just use rpi-clone to clone the USB stick to a new SD card. Just try it with a new SD card 😉

I don't know for sure - but as far as understand just use rpi-clone to clone the USB stick to a new SD card. Just try it with a new SD card :wink:
chrissv commented 2024-01-23 03:31:34 +01:00 (Migrated from github.com)

I don't know for sure - but as far as understand just use rpi-clone to clone the USB stick to a new SD card. Just try it with a new SD card 😉

Do you know the command for rpi-clone to use a different source than the booted device? (the "-m" option adds an additional mounted directory to sync, but the root is aways synced)

> I don't know for sure - but as far as understand just use rpi-clone to clone the USB stick to a new SD card. Just try it with a new SD card 😉 Do you know the command for rpi-clone to use a different source than the booted device? (the "-m" option adds an additional mounted directory to sync, but the root is aways synced)
framps commented 2024-01-23 09:59:37 +01:00 (Migrated from github.com)

Unfortunately not.

Unfortunately not.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lerking/rpi-clone#172