Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Advanced users • Re: Image File Utilities

$
0
0
I'm having a problem: 'image-backup' has failed twice to make a backup of my RPi 5 that is using an NVME card. Here's the scenario:

RPi 5 (RPi OS bookworm) w/ 500 GB NVME card (please let me know if more hardware particulars are needed).
...
'image-backup' runs perfectly on my other systems, but the "other systems" are all 'bullseye' and use an SD card. I'm stumped - any advice?

Without some way to reproduce your problem, I'm at a loss to know what to suggest.

If the problem is related to Bookworm, there would many many reports in addition to yours. There simply isn't.

The only change needed to support NVMe devices was absolutely trivial:

Code:

if [ "${ROOT_DEV}" = "/dev/mmcblk0p" ]; then  ROOT_DEV="${ROOT_DEV:0:(${#ROOT_DEV} - 1)}"fi
to

Code:

if [[ "${ROOT_DEV}" = "/dev/mmcblk0p" || "${ROOT_DEV}" = "/dev/nvme0n1p" ]]; then  ROOT_DEV="${ROOT_DEV:0:(${#ROOT_DEV} - 1)}"fi

Does the problem also occur backing up to a USB device connected to the Raspberry Pi 5 (eliminating the NVMe device)?

Statistics: Posted by RonR — Sat Mar 09, 2024 2:16 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles