Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:troubleshooting:backup_restore [2021/10/06 10:04] – [Extras] reorganize content vgaeteradocs:guide-user:troubleshooting:backup_restore [2023/01/17 10:56] – [Introduction] vgaetera
Line 4: Line 4:
 ===== Introduction ===== ===== Introduction =====
   * This how-to describes the method for using OpenWrt file-level backup/restore.   * This how-to describes the method for using OpenWrt file-level backup/restore.
-  * Follow [[docs:guide-user:troubleshooting:backup_restore#preserving_packages|Preserving packages]] to include user-removed/installed packages in your backup.+  * Follow [[docs:guide-user:installation:sysupgrade.packages|Preserving packages]] to back up user-removed/installed packages.
   * Follow [[docs:guide-quick-start:admingui_sysupgrade_keepsettings|Preserving configuration]] to determine whether to keep the settings.   * Follow [[docs:guide-quick-start:admingui_sysupgrade_keepsettings|Preserving configuration]] to determine whether to keep the settings.
   * Follow [[docs:guide-user:installation:generic.backup|Generic backup]] for block-level backup/restore.   * Follow [[docs:guide-user:installation:generic.backup|Generic backup]] for block-level backup/restore.
Line 10: Line 10:
  
 ===== Goals ===== ===== Goals =====
-  * Provide an easy way to restore OpenWrt to the previous configuration state.+  * Back up and restore OpenWrt configuration.
  
 ===== Web interface instructions ===== ===== Web interface instructions =====
Line 66: 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 74: Line 75:
 ls /tmp/backup-*.tar.gz ls /tmp/backup-*.tar.gz
 sysupgrade -r /tmp/backup-*.tar.gz sysupgrade -r /tmp/backup-*.tar.gz
 +reboot
 </code> </code>
  
 ===== Extras ===== ===== Extras =====
-==== Default backup settings ==== +==== Backup settings ==== 
-The files preserved on system upgrade include the following locations: +Backup combines multiple sources and covers most configurations by default. 
-==== Default backup settings ==== +
-The files preserved on system upgrade include the following locations:+
 <code bash> <code bash>
-# Automatically detected configurations+# Automatically detected modifications
 opkg list-changed-conffiles opkg list-changed-conffiles
  
Line 94: Line 95:
 uci show luci.flash_keep uci show luci.flash_keep
 </code> </code>
- 
-This should cover most configurations by default, including the ones in ''/etc/config''. 
- 
-==== Preserving packages ==== 
-Manually removed/installed packages are not preserved by default. 
- 
-Use ''sysupgrade -k'' or [[docs:guide-user:advanced:opkg_extras|Opkg extras]] to include user-removed/installed packages in your backup. 
  
  • Last modified: 2024/04/28 11:01
  • by silejonu