From 2cf87fcc24f46cc188095206038e3ff30719a69c Mon Sep 17 00:00:00 2001 From: Sheppy Date: Fri, 9 Jun 2023 13:11:34 +0000 Subject: [PATCH] add: carddav to backupvm vsyncer --- roles/backup-vm/files/vsyncdir.conf | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/roles/backup-vm/files/vsyncdir.conf b/roles/backup-vm/files/vsyncdir.conf index 1a42e0b..78ca8f4 100644 --- a/roles/backup-vm/files/vsyncdir.conf +++ b/roles/backup-vm/files/vsyncdir.conf @@ -17,3 +17,38 @@ password = "HISTORY_PURGED_SECRET" type = "filesystem" path = "~/ths-caldav/" fileext = ".ics" + +[pair ths_carddav] +a = "ths_remote_carddav" +b = "ths_local_carddav" +collections = ["from a"] + +[storage ths_remote_carddav] +type = "carddav" +read_only = true +url = "https://ths.atlantishq.de/remote.php/dav/addressbooks/users/backup/ths_shared_by_ths/" +username = "backup" +password = "HISTORY_PURGED_SECRET" + +[storage ths_local_carddav] +type = "filesystem" +path = "~/ths-carddav/" +fileext = ".vcf" + + +[pair ths_carddav_telefon] +a = "ths_remote_carddav_telefon" +b = "ths_local_carddav_telefon" +collections = ["from a"] + +[storage ths_remote_carddav_telefon] +type = "carddav" +read_only = true +url = "https://ths.atlantishq.de/remote.php/dav/addressbooks/users/backup/ths-telefon-1_shared_by_ths/" +username = "backup" +password = "HISTORY_PURGED_SECRET" + +[storage ths_local_carddav_telefon] +type = "filesystem" +path = "~/ths-carddav-telefon/" +fileext = ".vcf"