Buy this if you can get more than 100MBps (it has a gigabit port) https://www.amazon.com/gp/product/B079FJKZV8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
If you can't get over 100Mbps then you can save some money and get this (it only has 10/100 port) https://www.amazon.com/GL-iNET-GL-MT300N-V2-Repeater-300Mbps-Performance/dp/B073TSK26W/ref=sr_1_1
Or if you have a spare Mac Mini, then you can just use that (connect M2000 to Mac Mini USB port, Unifi WAN to Mac Mini Ethernet port and choose "system preferences" - "sharing" - "internet sharing" - share connection from: "M2000" to computers using "Ethernet"). Probably can do the same with a Raspberry Pi or small Windows machine but I don't know if you'd need extra software then or not.
I first used a Mac Mini and now use GL-B1300, neither had a problem keeping the M2000 charged (I average around 3-4TB a month with 10TB+ on some months).
This all with a 16ft USB-A extender cable + 3 ft USB-C to USB-A cable (probably the max limit before you'd need a cable with a separate power supply).
I had similar problems with PDANet. The I got this tiny router and attached it to my laptop. No more problems. And it's OpenWRT out of the box. https://www.amazon.com/dp/B073TSK26W?psc=1&ref=ppx_yo2ov_dt_b_product_details
It won't work without your own hotspot/bridge. I bought one of these and it goes on every trip with me for just this purpose.
I have an Inseego Mifi 8000 instead of the M2000, but the concept should be the same.
In order to get decent internet I have a rather complicated setup, but you can take the parts that work for you.
A drawing of my setup is here: https://imgur.com/0YeBOpE
This is the cell booster I bought in 2018:
https://www.weboost.com/products/connect-4g
This is the newer version of my cell booster:
https://www.weboost.com/products/home-multiroom
I use the GL-MT330N-V2 in bridge mode, which basically converts the wifi from the Mifi 8000 to ethernet.
The GL-MT330N-V2 I bought is here:
https://www.amazon.com/gp/product/B073TSK26W/ref=ppx_yo_dt_b_asin_image_o03_s00?ie=UTF8&psc=1
That ethernet is then used as the WAN for the ASUS RT-AC68U.
https://www.amazon.com/ASUS-Dual-Band-AiMesh-Router-AC1900/dp/B00FB45SI4
I have a second ASUS RT-AC68U in a remote building and they are connected via AiMesh.
The key here for your situation is that since the Mifi 8000 and GLi.net are connected via wifi, the USB on the Mifi 8000 is then plugged into a standard lamp timer to make it run on battery for 6 hours then charge for 6 hours.
Hopefully this is more helpful than confusing.
GL.iNET GL-MT300N-V2 Wireless Mini Portable Travel Router, Mobile Hotspot in Pocket, WiFi Repeater Bridge, Range Extender, OpenVPN Client, 300Mbps High Performance, 128MB RAM https://smile.amazon.com/dp/B073TSK26W/
What this doesn’t do afaik is allow for backup to WAN/vice versa if both are plugged in. It’ll always pull WAN if it’s plugged in
I am looking into one of these. https://www.amazon.com/dp/B073TSK26W . My only concern is how much of an external battery do I need to power it for several hours. No worry on plugging into a wall block.
If you are out and about I would recommend a USB-powered switch. I can't recommend one, because I bought mine from AliExpress years ago, but it came in handy several times.
I also got this AP/one-port switch. Came in handy if I needed to give a device internet access, but everything I got was a hotspot from my phone for example.