calcardbackup is able to extract tasks/calendar, if the data is accessibale through a database (a database dump is not sufficient).
See ‘Does this also work with a broken ownCloud/Nextcloud instance?’ in the README of the repo for how to export your tasks/calendar.