Closed baumaeschi closed 11 months ago
I'm getting the same error.
Do you have an idea what the reason for the error messages could be and how they could be avoided?
It seems the message shows if any commands have an error (rsync) ref
if [[ $? -ne 0 && $? -ne 24 ]]; then
errexit "Unable to create backup"
fi
Ran into the same issue.
EDIT: Worked with this again today; Seems like the files related to the error, do not exist:
ls /tmp/img-backup-mnt/boot/
bcm2710-rpi-2-b.dtb bcm2711-rpi-cm4.dtb firmware
bcm2710-rpi-3-b.dtb bcm2711-rpi-cm4-io.dtb initrd.img-6.1.0-rpi4-rpi-2712
bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-cm4s.dtb initrd.img-6.1.0-rpi4-rpi-v8
bcm2710-rpi-cm3.dtb config-6.1.0-rpi4-rpi-2712 kernel8.img
bcm2710-rpi-zero-2.dtb config-6.1.0-rpi4-rpi-v8 System.map-6.1.0-rpi4-rpi-2712
bcm2710-rpi-zero-2-w.dtb config_bk.txt System.map-6.1.0-rpi4-rpi-v8
bcm2711-rpi-400.dtb config.txt vmlinuz-6.1.0-rpi4-rpi-2712
bcm2711-rpi-4-b.dtb COPYING.linux vmlinuz-6.1.0-rpi4-rpi-v8
No cmdline.txt
, no overlays
.
These Errors don't happen on the zip file from the R-pi forums post. The git needs to be updated to reflect the changes.
@franzos No Problem! Yes these gits are maintained by other people, not Ron. Ron has stated he doesn't want people adding it to git, as he can only support his own version on the forum. I personally added the latest version to my personal git, just so I can easily have it copy to my pi. I can maintain it myself.
@hockeygoalie35 and @franzos: Thank you so much for the hint and the link to the original post of Ron. I followed the instructions of Seamus/seamusdemora and found them helpful and comprehensible. But I think if one creates such a public git, he/she should update the files to the latest versions (as hockeygoalie35 does in his personal git). In the meantime, I tried the files from Ron's original post and everything works fine on bookworn. Thank you everybody for the clarifications.
Yes, I got x-busy back in October, and the script I wrote to update this repo from the website wandered off and got lost in the weeds somehow. I think I've corrected the problem with the script, and this repo should now match the latest from the forum.
FWIW, and in case anyone is interested: The reason I've set this up is due to the fact that I was "banned for life" from the Raspberry Pi forum. Here's the post that did me in :)
Here's the post that did me in :)
"As you wish" 🔥
Yes, I got x-busy back in October, and the script I wrote to update this repo from the website wandered off and got lost in the weeds somehow. I think I've corrected the problem with the script, and this repo should now match the latest from the forum.
FWIW, and in case anyone is interested: The reason I've set this up is due to the fact that I was "banned for life" from the Raspberry Pi forum. Here's the post that did me in :)
Hm; I get why people prefer not to repeat things again and again and again but you kinda asked to be kicked, and the admin probably had a bad day, so not sure what to say ~ You got what you wished for.
@franzos : Thanks for being so understanding.
@franzos : Thanks for being so understanding.
I guess we're done here.
Hi I'm trying to use image file utils on Raspberry Pi 3B+ with bookworm. The image file is created, but image-backup ends with "Unable to create backup". But anyhow, the image file is created and can also be mounted (see attached Raspberry CLI output)
Could you have a look at the following output? Do you have an idea what the reason for the error messages could be and how they could be avoided?