Stephen Harrington
Very Senior Member
Looking for ideas/scripts to automate or “make more easy and convenient” (so I actually do it) the backup of my AMTM / Entware / Swap USB device, which in my case is a main/backup pair of Sandisk Max Endurance 64GB micro SD cards in matching Sandisk uSD-to-USB 3.0 adapters.
I’m generally pretty good with device backups but the Router USB stick is an obvious glaring “hole”. At the moment I try and occasionally grab a time when I’m the only one home, take my router (AX86U) “offline” and then do an image backup of my “stick” on a Mac computer, restore this backup to my “spare” stick, and then put the newly-cloned stick back in the router to rotate the sticks a bit and test the new one works OK. Pretty clunky but it works. This doesn’t encourage me to backup enough, and I know it! Murphy’s Law also dictates that it WILL fail at the least convenient time, as we all know!
Ideally there would some way I could do all this without taking the Router out of service.
Either:-
Some way of inserting my “backup” stick into the router (other USB port, RT-AX86U) and cloning it from the “live” online working copy, and then unmounting it again and “putting it on the shelf”. Happy to install extra Entware packages, and edit/run scripts via SSH.
Or:-
Some kind of backup to a network share that could then be automated or manually triggered, and could then be put back on a spare USB device in case of disaster? Also not sure HOW that restore would be done and what software would be needed?
Any clues or scripts would be appreciated.
It would be great if some version of either or both of these options were integrated into AMTM eventually as a menu command for dummies like me … I think they would become widely used if they were quick and easy.
Thanks for your consideration!
I’m generally pretty good with device backups but the Router USB stick is an obvious glaring “hole”. At the moment I try and occasionally grab a time when I’m the only one home, take my router (AX86U) “offline” and then do an image backup of my “stick” on a Mac computer, restore this backup to my “spare” stick, and then put the newly-cloned stick back in the router to rotate the sticks a bit and test the new one works OK. Pretty clunky but it works. This doesn’t encourage me to backup enough, and I know it! Murphy’s Law also dictates that it WILL fail at the least convenient time, as we all know!
Ideally there would some way I could do all this without taking the Router out of service.
Either:-
Some way of inserting my “backup” stick into the router (other USB port, RT-AX86U) and cloning it from the “live” online working copy, and then unmounting it again and “putting it on the shelf”. Happy to install extra Entware packages, and edit/run scripts via SSH.
Or:-
Some kind of backup to a network share that could then be automated or manually triggered, and could then be put back on a spare USB device in case of disaster? Also not sure HOW that restore would be done and what software would be needed?
Any clues or scripts would be appreciated.
It would be great if some version of either or both of these options were integrated into AMTM eventually as a menu command for dummies like me … I think they would become widely used if they were quick and easy.
Thanks for your consideration!