Export all your Synology CardDav Server contacts into .vcf files.
Branch: master
Clone or download
Pull request Compare This branch is even with StephaneTurquay:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Synology CardDav Server Contacts Exporter

Software License

PHP script that allows you to export all contacts from your Synology CardDav Server into .vcf files.


Download this repository, rename it with a much easier name and move it into your NAS Web Station folder (by default: web/).


  1. Define the dumped filename from the Synology's PostGreSQL database
  2. Define the path where you want to export all the .vcf files. It can not be outside the Web Station folder.
// Define name and extension of the dumped file. (Default: caldav.sql)
$dump_file = 'caldav.sql';

// Define the path where .vcf files will be exported
$export_path = 'export/';


Open your favorite web browser and reach the URL or IP of your NAS followed by the path to index.php such as : http://url_of_your_nas/path/to/index.php


The MIT License (MIT). Please see License File for more information.