Skip to content
Contents
GuidesOpenWrt

What to back up separately from OpenWrt UCI configuration

UCI configuration library, system backup also includes other supported files. First, list the backup scope, hardware revisions, and versions for each router.

UCI configuration library, system backup also includes other supported files. First, list the backup scope, hardware revisions, and versions for each router. Use sysupgrade -l to see which files will be included, and generate the configuration package with sysupgrade -b /tmp/config-backup.tar.gz, then transfer it to a trusted storage location.

Automation should be able to retry and check differences

Save by host, time directory, and hash, without overwriting the most recent known available backup. Record installed packages and protect keys. Test recovery first on a test machine, verify the target network interface, address, and UCI default values are appropriate, then proceed with incremental changes.

Post-recovery from backup machine: verify running configuration

Prepare a backup compatible with the version in use, and maintain a separate list of exported UCI configurations, custom files, and keys. Perform an import and reload operation on a backup machine to verify functionality.

Compile the checklist and verify expected files. Perform a restart, DHCP, WAN, and VPN simulation using the local management interface. Document the first failure, including troubleshooting and recovery commands.

Backup is considered available only after confirmation of management, primary network, and permission validation. Only after the backup command exits successfully are further checks for omissions and permission issues performed.

Create an on-router configuration backup and list three expected files. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the terminal output
Create an on-router configuration backup and list three expected files. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Create an on-router configuration backup and list three expected files. · OpenWrt 25.12.6 x86/64 (QEMU/KVM). Open the original image

Reference

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments