Export Contacts from command line

Nextcloud version (eg, 20.0.5): Can't remember
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.41
PHP version (eg, 7.4): PHP 7.4.3
MaraiDB version: `10.3.34-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04

I some how flubbed the upgrade of my nextcloud server. I can’t log into the web interface but I still have my database intact as well as my data folder. I managed to extract my bookmarks and calendars from the database to restore in my new nextcloud server but I cannot find any information on how to export my contacts. Looking at the Nextcloud database tables it isn’t obvious which tables I should export. Any help or suggestions would be greatly appreciated. Thank you.

calcardbackup is able to export contacts.

1 Like

Bam, done. All of my contacts were exported and re-imported without issue. Thank you much.


I don’t see anywhere on your codeberg page for feature requests. Can you add bookmark support to your script as well?

1 Like

I am sorry, calcardbackup is only designed as tool to backup calendar and contacts data.

1 Like