Hi Piyush,
Use “queryAll” in the API to retrieve the activities. The Data Loader exposes queryAll as “Export All.” Then you have to perform an update to the records. You only need to call update() using records by Id. Archived activities will be restored upon saving.
Thanks