Restoring your contacts from a broken Nextcloud instance
Hi,
Hi,
My Nextcloud instance broke a couple of days ago and could’nt get it running again on the original config, to recover my contacts I looked in the database and I find the raw vcard data (which is the common sharing format of contacts) in the database.
With this code in python you can restore the files for you to import them to any addressbook like Google, Outlook or iCloud, or back into a Nextcloud.
please note that you need to search for your addressbook Id via SQL before. You could use adminer or a graphical SQL-client.