Sorry, no, I am not releasing my backup and restore scripts as they must be modified depending on the GL iNet firmware version, sub-version, and the model of the router. I end up modifying them almost every time I upgrade. I also run a modified GL iNet configuration that supports the SoftEther VPN and other open source tools that GL iNet does not install.
Replication, as you have requested, differs from backup and restore. You must handle components that should be unique, such as keys and certificates, and these files should be regenerated on the first boot.
GL.iNet previously provided a tool called ImageBuilder, allowing users to create custom firmware images for their routers and deploy them across multiple devices. Unfortunately, like many useful features, this option is no longer available.
Formal statement on Gl.iNet software going closed source? - #6 by alzhao