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:installation:generic.backup [2021/12/05 11:21] – formatting vgaeteradocs:guide-user:installation:generic.backup [2022/07/11 15:06] – Add instructions for how to explore MTD backups spookyuser
Line 37: Line 37:
 This script assumes a working Bash and SSH in native Unix-like or WSL environment. This script assumes a working Bash and SSH in native Unix-like or WSL environment.
 If you've changed your router's IP address, change the OPENWRT variable value to the hostname/IP of your OpenWrt router. If you've changed your router's IP address, change the OPENWRT variable value to the hostname/IP of your OpenWrt router.
-This will backup your mtd contents to a compressed tarball file "mtd_backup.tgzin the same folder as the script.+This will backup your mtd contents to a compressed tarball file ''mtd_backup.tgz'' in the same folder as the script.
  
 <code bash> <code bash>
Line 165: Line 165:
 Then you must flash this to you device, boot it, and now the partition should be writable. Then you must flash this to you device, boot it, and now the partition should be writable.
  
 +===== Exploring MTD Backups =====
 +If you want to explore the contents of an MTD backup on your computer, without restoring it to openwrt, you can use [[https://github.com/sviehb/jefferson|jefferson]] with the command
 +
 +<code bash>
 +jefferson mtd4_rootfs_data.backup -d rootfs
 +</code>
 +
 +Where the mtd4_rootfs_data.backup file is the mtd block you want to explore. Likely this will be >rootfs_data as it contains most of the customizations you will have made to openwrt.
  • Last modified: 2023/03/19 10:23
  • by ryanc