Back up Omega2
-
Could someone please share how one can back up the whole Omega2+ to a bin or img file? Thanks
-
@Brian-Robbins , you have to backup the /etc folder. There are the configuration files of the omega stored. The rest i guess you allready have as .bin on your device. This gets copied to the memory every boot and is on a separate share/mount as read only available. At least something like this it was with omega1 ...
-
Have a look at this https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=49465
Someone here pointed this out to e a while back..
-
This is how I do a mtd backup :
First check the partitions.
cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 01fb0000 00010000 "firmware"
mtd4: 00148842 00010000 "kernel"
mtd5: 01e677be 00010000 "rootfs"
mtd6: 01950000 00010000 "rootfs_data"Then use dd :
dd if=/dev/mtd0 of=/tmp/omega2.mtd0
Repeat this for each partition that you wish to save.
I only save the first 3 partitions.Then copy the files to a safe place...I use a USB stick if the device has a USB port available.
-
@Larry-Pinney
Thank you! I've gotten used to the raspberry pi where you can back up the entire bin "all at once" - not possible with the onion?
-
There is a script to back up the entire mtd on :
https://wiki.openwrt.org/doc/howto/generic.backupI haven't used it because I see little or no use in saving the other partitions..as they will change with every firmware update