Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Everyone should read this: How to backup your EdgePro for the case of MMC / Filesystem Fails

$
0
0

Dear all, 

 

als U is not providing any recovery information, I will try to help a bit. There are serious issues with the partitioning that U is using. If the filesystem gets corrupt everything goes wilde and there is no official receovery method.

 

I revived multiple devices not using proper backups. So I encourage everyone to do a full backup of their MMC and store in in a safe and secure place.

 

Backup procedure:

1) Start necat listener and write data to file:

On your Linux us netcat to receive the backup over the network:

 

OSX:

nc -l 19200 |bzip2 -d|dd bs=16m of=full_backup_mmc.img

 

Linux:

nc -l -p 19200 |bzip2 -d|dd bs=16M of=full_backup_mmc.img

 

2) Login to your edgepro cli interface and become root usind "sudo bash"

 

3) Execute the following command to read the mmc and send it to the PC.

 

dd bs=16M if=/dev/mmcblk0 |bzip2 -c|nc YOUR-COMPUTERS-IPADDRESS-HERE 19200

 

This will take a long time, but will work. Now you will have a full copy of the MMC. Use SSH instead of netcat if you like.

 

DO THIS, now. You will not know when you need this image to recover your router.


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>