Ya gotta do it manually, unfortunately. Here's everything you'll need:
You'll probably want to 'pick & choose' the various conf files to individually restore via uploading/overwriting when switching major f/w versions (eg: 3.x -> 4.x, /etc/config/wireguard_server). Expect the need to do a lil'tweaking, testing.