How to recover all lost contacts

For unknown reasons, all my Nextcloud contacts are lost. Is there a possibility to recover them?

Contacts are stored in the database. Do you have a recent backup of the database? If not maybe this is of any help… Recover lost contacts Notes