If a spreadsheet with just the metadata is fine then you can use this: Export Observations · iNaturalist
If you want your photos as well, see here and threads linked from it: Backup: what if iNat suddenly disappeared - General - iNaturalist Community Forum