[Question] Data file location for Contacts and Calendar apps - Snap Installation

Your contact and calendar data are stored in the database, so the database backup should be enough:
https://docs.nextcloud.com/server/12/admin_manual/maintenance/backup.html#backup-database

As a user, you don’t have database access. Also if you prefer having a different format, there is a shell-script running backups manually: