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

Advanced users • Re: Image File Utilities

$
0
0
Previous posts in my continuing attempts to backup an encrypted rootfs and then make it restorable:

viewtopic.php?p=2186480&hilit=encrypted#p2186463
viewtopic.php?p=2188460&hilit=encrypted#p2188460

Here's what I believe is my change to image-backup correctly reapplied to RonR's latest Feb 2024 version, in the form of a patch file:

Code:

pi@pi5:~/bin $ diff -u image-backup image-backupt --- image-backup2024-02-18 10:37:36.150696369 -0600+++ image-backupt2024-02-18 10:01:03.561081213 -0600@@ -169,7 +169,7 @@   umntimg   mkloop   fatlabel "${LOOP}p1" "$(fatlabel ${ROOT_DEV_P}1 | sed -n '$p')" &> /dev/null-  e2label "${LOOP}p2" "$(e2label ${ROOT_DEV_P}2)" &> /dev/null+  e2label "${LOOP}p2" "$(e2label ${ROOT_PART_ORIG})" &> /dev/null   rmloop } 
Hi @tinker2much, it seems that original image-backup has changed significantly since your last post, and couldn't be directly patched with this.
I'm interested what version of image-backup you're using now, and if you had more developments since then, or maybe published the script you're using. Thank you.

Statistics: Posted by alexindigo — Sun Jun 22, 2025 9:41 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles