Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:troubleshooting:backup_restore [2021/09/04 00:36] – [3. Restore] Add debug section someothertime | docs:guide-user:troubleshooting:backup_restore [2023/01/17 10:56] – [Introduction] vgaetera | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | * This how-to describes the method for performing | + | * This how-to describes the method for using OpenWrt file-level backup/ |
| - | * Make sure to [[docs: | + | * Follow |
| * Follow [[docs: | * Follow [[docs: | ||
| * Follow [[docs: | * Follow [[docs: | ||
| + | * Extroot or additional overlay setups require extra measures. | ||
| ===== Goals ===== | ===== Goals ===== | ||
| - | * Provide an easy way to restore OpenWrt | + | * Back up and restore OpenWrt configuration. |
| ===== Web interface instructions ===== | ===== Web interface instructions ===== | ||
| Line 40: | Line 41: | ||
| cat << EOF >> / | cat << EOF >> / | ||
| / | / | ||
| - | / | + | / |
| EOF | EOF | ||
| Line 65: | Line 66: | ||
| ==== 3. Restore ==== | ==== 3. Restore ==== | ||
| Restore previously saved OpenWrt configuration from local PC. | Restore previously saved OpenWrt configuration from local PC. | ||
| + | Reboot to apply changes. | ||
| <code bash> | <code bash> | ||
| Line 73: | Line 75: | ||
| ls / | ls / | ||
| sysupgrade -r / | sysupgrade -r / | ||
| + | reboot | ||
| </ | </ | ||
| - | ==== Debug ==== | + | ===== Extras |
| + | ==== Backup settings ==== | ||
| + | Backup combines multiple sources and covers most configurations by default. | ||
| <code bash> | <code bash> | ||
| - | grep . / | + | # Automatically detected modifications |
| + | opkg list-changed-conffiles | ||
| + | |||
| + | # System configurations supplied by individual packages | ||
| + | grep -r -e . / | ||
| + | |||
| + | # User configuration to edit if necessary | ||
| + | grep -e . / | ||
| + | |||
| + | # Obsolete settings no longer supported | ||
| + | uci show luci.flash_keep | ||
| </ | </ | ||
| + | |||