How can I have users easily export or delete 1000 of datas which is displayed in pagination view?

I have a table consisting more than thousands of data. I am willing to export all these data to excel. But, I have a pagination in my table. Hence, in order to export my data, I will have to check on select all and click on export button for at least 20 times considering currently showing items are 50.

This is very time consuming, annoying and repetitive. How can have users perform this action without having them annoyed?