Backup "not supported"

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.

What version of OpenWrt are you using?

ubus call system board

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?

OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-22.083.69138-0a0ce2a

Same system, just factory reset

What is the system you're using this on?

What's the full output of

ubus call system board
        "kernel": "5.4.188",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 0 (v7l)",
        "model": "Netgear Nighthawk X4S R7800",
        "board_name": "netgear,r7800",
        "release": {
                "distribution": "OpenWrt",
                "version": "21.02.3",
                "revision": "r16554-1d4dea6d4f",
                "target": "ipq806x/generic",
                "description": "OpenWrt 21.02.3 r16554-1d4dea6d4f"

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?

Also, what is the output of:

mount
df -h

What filles/folders do i need to copy to have all network setting?

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.

doing a upgrade now

mount dt -h does not seem to work

ps: i am not that good at ssh

        "kernel": "5.15.134",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 0 (v7l)",
        "model": "Netgear Nighthawk X4S R7800",
        "board_name": "netgear,r7800",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.0",
                "revision": "r23497-6637af95aa",
                "target": "ipq806x/generic",
                "description": "OpenWrt 23.05.0 r23497-6637af95aa"
        }

upgrade is done, backup still does not work

It was supposed to be two individual commands.

mount

^^ this gives us information about the mounted filesystems

df -h

^^ this is "disk free, human readable units" to tell us if your flash storage is for some reason filled up.

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 feel dumb but how do i reffer to the file if it is located on my computer?

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.

My configuration is not that comlplex. Just a bunch of static ip's i dont want to lose...

also don't get my wan port up and running....

Static IPs in terms of the wan configuration, or DHCP reservations?

dhcp reservations, but i got em by copying the dhcp file

now just getting internet up and running... think i missing some bridge settings