ephestione
ephestione
Actually, while File Manager stats for the source folder are as stated above, the stats for the mounted target folder are worringly smaller: upwards of 22000 files, and little more...
Sorry, I didn't explain clearly :) That is what I am doing currently, my currently working backup command is: `./backup start -ci /dev/sdb -s 3900 /path/to/destination/$(uname -n)-$(date +%Y-%m-%d).img` (I renamed...
You got me! I acually had it commented out, but directly editing that line inside the script was something I had already tried. For the sake of actuality, I added...
root@raspi3:/home/pi2pi# SDCARD=/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_08606E6B6446F351B726546E-0\:0 root@raspi3:/home/pi2pi# echo ${SIZE:-$(blockdev --getsz $SDCARD)} 60437492 root@raspi3:/home/pi2pi# echo ${BLOCKSIZE:-$(blockdev --getss $SDCARD)} 512
It's notable though that the first time I did it, just like the output I pasted in the previous posts, it returned for both: ``` pi2pi@raspi3:~$ sudo su root@raspi3:/home/pi2pi# echo...
I then tried, still after sudo su, to launch the command again, and: ``` Starting SD Image backup process Creating sparse /media/giant/_PiBackup/test.img, the apparent size of /dev/disk/by-id/usb-Kingston_DataTraveler_3.0_08606E6B6446F351B726546E -0:0 0+0 records...
I think I found the problem: ``` clone () { # cloning UUID and PARTUUID UUID=$(blkid -s UUID -o value ${SDCARD}p2) PTUUID=$(blkid -s PTUUID -o value ${SDCARD}) e2fsck -f -y...
Or rather, everywhere in the code the partition suffix is given as granted to be either "p1" or "p2", like ``` mkfs.vfat -I ${LOOPBACK}p1 mkfs.ext4 ${LOOPBACK}p2 ``` so there would...
Since you would be doing an extensive rewrite of the code, and since @lzkelley doesn't appear to be mantaining this code at the moment, while you've been, you might even...
I have another proposition: if you cannot or don't want to use full USB boot (no SD card at all) you can try the bootcode.bin method, where you can keep...