Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrissv opened this issue Nov 12, 2023 · 3 comments
Open

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

chrissv opened this issue Nov 12, 2023 · 3 comments

Comments

@chrissv
Copy link

chrissv commented Nov 12, 2023

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
Copy link

framps commented Dec 30, 2023

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 😉

@chrissv
Copy link
Author

chrissv commented Jan 23, 2024

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
Copy link

framps commented Jan 23, 2024

Unfortunately not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants