I was testing backup and restorals on sysupgrade w/ additional scrips on my PI4, anticipating delivery of my OpenWRT ONE
Issues I came across were de-resizing of 32G SD & loosing link to libc.so located at /lib. What is the correct syntax to restore link
???
OUTPUT_FORMAT ( )
GROUP "libc.so.0 uclibc_nonshared.a AS_NEEDED ( ld-uClibc.so.0"
this was my backup script:
This file contains files and directories that should
be preserved during an upgrade.
/etc/example.conf
/etc/openvpn/
Add files/directories
cat << EOF >> /etc/sysupgrade.conf
/etc/sudoers
/etc/sudoers.d
/lib/upgrade/keep.d/*
EOF
Automatically detected modifications
opkg list-changed-conffiles
System configurations supplied by individual packages
grep -r -e . /lib/upgrade/keep.d
User configuration to edit if necessary
grep -e . /etc/sysupgrade.conf
Edit backup configuration
vi /etc/sysupgrade.conf
% echo -e "\n\n/root/\n" >> /etc/sysupgrade.conf
% touch /root/.lesshst
% sysupgrade -b - | tar ztvf - | fgrep root/.lesshst
Verify backup configuration
sysupgrade -l