I did a reset to defaults and am now trying to install my backup that i created before i did the reset. Now the system is back up and running but when i try to do the restore it says "not supported". How can i resolve this?
ps: i also have a older backupfile that does thesame. When i try to extract the tar.gz with zip7 i am able to read inside the backupfile.
Is this the same version as the one used when you generated the backup file?
Are you using the same device as well, or are you trying to restore a backup created on one device onto another?
If you are able to manually unpack the archive, then you can just unpack it manually with tar x -zvf archivename.tar.gz if you dare. You could unpack to some other directory and then you might manually copy selected files to the proper places. You could even unpack to PC and then transfer files via scp or similar.
But usually there is a reason why restore fails...
something strange with the router?
Have you earlier restored successfully?
So aside from 21.02 being EOL and unsupported at this point (you should upgrade as soon as possible), I don't see any reason why the restore wouldn't work properly on your device.
What is the specific error that you're getting? Can you show a screenshot or copy/paste the error info?
Basic configurations are in /etc/config, particularly /etc/config/network and /etc/config/wireless.
sysupgrade -r <file> is the CLI engine behind the GUI restore function. You may want to try this to see if more detailed error information is available.
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
pstore on /sys/fs/pstore type pstore (rw,noatime)
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.0M 4.0M 0 100% /rom
tmpfs 232.0M 21.4M 210.6M 9% /tmp
/dev/ubi0_1 78.2M 164.0K 74.0M 0% /overlay
overlayfs:/overlay 78.2M 164.0K 74.0M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~#
I don't see any issues based on the output of those commands.
How complex was your configuration? If it's pretty straightforward, you may find it easier just to config from scratch and punt this issue for now (maybe something is corrupt in your backup file?).
If it is more complex with VLANs, VPNs, or other things, please describe a bit and we can suggest how you can manually restore the relvant and/or complex parts.