How to create a copy of my firmware/filesystem on my GL-MT300N-V2, which I can restore later?

OK, you want to build a firmware by yourself. You can use Imagebuilder to create a firmware quickly.