Router Backup

Goto Sytem - Backup / Flash Firmware

Installed Packages

Create a list of all installed packages and save it to a file for later backup:

$ opkg list-installed > /root/opkg-list-installed.txt

System Default Backup

System default and installed packages backup:

  • /etc/config/ddns
  • /etc/config/dhcp
  • /etc/config/dropbear
  • /etc/config/firewall
  • /etc/config/luci
  • /etc/config/network
  • /etc/config/ntpclient
  • /etc/config/openvpn
  • /etc/config/openvpn.opkg
  • /etc/config/qos
  • /etc/config/radvd
  • /etc/config/system
  • /etc/config/ubootenv
  • /etc/config/ucitrack
  • /etc/config/uhttpd
  • /etc/config/upnpd
  • /etc/config/wifitoggle
  • /etc/config/wireless
  • /etc/dropbear/authorized_keys
  • /etc/dropbear/dropbear_dss_host_key
  • /etc/dropbear/dropbear_rsa_host_key
  • /etc/firewall.user
  • /etc/group
  • /etc/hosts
  • /etc/inittab
  • /etc/ntp.conf
  • /etc/openvpn/alainwolf.net.crl.pem
  • /etc/openvpn/alainwolf.net_CA.cert.pem
  • /etc/openvpn/dh1024.pem
  • /etc/openvpn/dh2048.pem
  • /etc/openvpn/home.alainwolf.net.cert.pem
  • /etc/openvpn/home.alainwolf.net.key.pem
  • /etc/openvpn/road-warrior-server.conf
  • /etc/openvpn/tls-auth.key
  • /etc/passwd
  • /etc/profile
  • /etc/rc.local
  • /etc/shadow
  • /etc/shells
  • /etc/sysctl.conf
  • /etc/uhttpd.crt
  • /etc/uhttpd.key
  • /etc/unbound/unbound.conf

Manually added

Unbound DNS resolver:

  • /etc/unbound/ICANN.cache
  • /etc/unbound/ORSN.cache
  • /etc/unbound/root.key
  • /etc/unbound/dlv.isc.org.key
  • /etc/unbound/unbound.conf.d/local-zone.conf
  • /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf

Custom DNS resolver files:

  • /etc/resolv.conf.google
  • /etc/resolv.conf.lan
  • /etc/resolv.conf.local

List of Installed software packages:

  • /root/opkg-list-installed.txt