How To Export Orders By Date Range?

How do I export all orders placed between July 2019 and September 2021?

The only ways is to

- make a search on the Manage orders page

- add &items_per_page=9999 to the URL

- select all and click on Export selected

But if you have too much orders, you can receive error from server