You can use the Data Loader to extract attachments.