Short answer
HubSpot's KB: export the tasks in a selected view. The file includes task properties and association names. Under Customize, choose options like all associated records instead of the first 1,000.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Build a view with the filters you want first; the export follows the view.