Error during backup?

HI,

is it possible that the back up has a problem (generate archive) ?
everytimes I generate one since 2 days, not everything his there, like wireless is missing etc.

thanks

I have the same problem. really don't know why.
I tried some things ,.nothing to do.
wireless,.network are missing.

someone ?

I just tried backup on a self-built r25055-c6fabd0bc3 main/master build for DL-WRX36.
Backup works normally.
Network and wireless settings and included in the backup.

Which OpenWrt version for which router you have problem with?
Maybe something wrong with the specific build that you are using.

3 Likes

In LuCI/backup / flash firmware/configuration/open list...

Should look something like this:

  • /boot/cmdline.txt
  • /boot/config.txt
  • /etc/collectd.conf
  • /etc/config/collectd
  • /etc/config/dhcp
  • /etc/config/dropbear
  • /etc/config/firewall
  • /etc/config/luci
  • /etc/config/luci-opkg
  • /etc/config/luci_statistics
  • /etc/config/network
  • /etc/config/rpcd
  • /etc/config/system
  • /etc/config/ucitrack
  • /etc/config/uhttpd
  • /etc/config/uhttpd-opkg
  • /etc/config/wireless
  • /etc/dropbear/dropbear_ed25519_host_key
  • /etc/dropbear/dropbear_rsa_host_key
  • /etc/group
  • /etc/hosts
  • /etc/inittab
  • /etc/luci-uploads/.placeholder
  • /etc/nftables.d/10-custom-filter-chains.nft
  • /etc/nftables.d/README
  • /etc/opkg/keys/******************
  • /etc/passwd
  • /etc/profile
  • /etc/rc.local
  • /etc/shadow
  • /etc/shells
  • /etc/shinit
  • /etc/sysctl.conf

Anything missing?

for wrt3200, the snapshot , my own build but from divested for his patchs.
So when I sysupgrade, keeping my settings, even if my network, wireless etc are there in the actual version, if I sysupgrade with settings, I loose those anyway

you are ok but for me, miss items

    /etc/banip/banip.allowlist
    /etc/banip/banip.blocklist
    /etc/config/adblock
    /etc/config/banip
    /etc/config/dhcp
    /etc/config/dropbear
    /etc/config/firewall
    /etc/config/https-dns-proxy
    /etc/config/irqbalance
    /etc/config/luci
    /etc/config/minidlna
    /etc/config/pbr
    /etc/config/samba4
    /etc/config/ucitrack
    /etc/config/uhttpd
    /etc/dnsmasq.conf
    /etc/dropbear/dropbear_ed25519_host_key
    /etc/dropbear/dropbear_rsa_host_key
    /etc/group
    /etc/iproute2/rt_tables
    /etc/passwd
    /etc/rc.local
    /etc/shadow
    /etc/sysupgrade.conf
    /etc/uhttpd.key
    /etc/uhttpd.crt


Someone will walk you through how to fix that.

1 Like

Have you tried adding /etc/config/network and /etc/config/wireless under the LuCI backup flash/firmware/configuration
Here?

## This file contains files and directories that should
## be preserved during an upgrade.

Just curious if /etc/sysupgrade.conf registered it at as a user specified file to backup.

1 Like

yes I added it.
but still does not work.

Very odd. By default it archives /etc/config/*.

Last thought, try a remove/install sysupgrade.

Before you try the remove/install sysupgrade:

Why? Don’t understand what your looking for,

I want to see device and version.

And I want the rest for a manual backup of settings since the archive is not working.

Has the setting "exclude from backup the files that are unchanged" been selected? (Exclude config files that are only in /rom)
Based on your file list, it is missing several files that usually stay unchanged, like /etc/profile.

For example, if you include a personal network config file in the firmware image as a custom file, and then do not change it, and take a backup with that setting, the created backup would not contain that unchanged file.

Possibly divested has set that option as a default, and you have not noticed it.

1 Like

I think he/she will return an r24xxx+# of patches-commit running on 6.1 based on their o/p. The remainder seems irrelevant.

Okay.

Thanks.

I don’t see anything in the patch set that would impact this, nor any issues reported.

It can be also toggled on LuCI, so the default might be changed there.

(I usually tick that checkbox manually when I sysupgrade, so that popped into my mind when I saw which files are missing)

As do I, but I thought this issue was about missing /etc/config files not included in the Backup file, not a sysupgrade issue.

Backup is generated with the sysupgrade script, so the file selection logic is quite possibly related to that option (eventough LuCI is not used for the backup).