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/03/21 05:35] – [Introduction] update vgaetera | 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 ===== | + | ===== Web interface |
| ==== 1. Customize and verify ==== | ==== 1. Customize and verify ==== | ||
| Customize your backup configuration. | Customize your backup configuration. | ||
| Line 30: | Line 31: | ||
| - Click **Upload archive...** button to upload the archive. | - Click **Upload archive...** button to upload the archive. | ||
| - | ===== Command-line | + | ===== Command-line |
| - | OpenWrt provides [[docs: | + | OpenWrt provides [[docs: |
| ==== 1. Customize and verify ==== | ==== 1. Customize and verify ==== | ||
| 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 | ||
| + | </ | ||
| + | |||
| + | ===== Extras ===== | ||
| + | ==== Backup settings ==== | ||
| + | Backup combines multiple sources and covers most configurations by default. | ||
| + | |||
| + | <code bash> | ||
| + | # 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 | ||
| </ | </ | ||