Replies: 3 comments 7 replies
-
Okay forget it, I found the URL to use : https://baikal.xxx.ovh/dav.php/addressbooks/lawrence/default?export lawrence being my username, I had to login before. Any idea on how a script could use credentials to login and automate the backup of my contacts on a regular basis ? |
Beta Was this translation helpful? Give feedback.
-
Hi @shadowKing001 , good question... I haven't done it yet myself, but this reminds me of the #13. If I had to guess, you can just use either Basic or Digest authentication, depending on what you selected under "WebDAV authentication type" when you began with Baikal (I'd imagine you can look those up in the Baikal configuration page too): You can then use wget or cURL in a bash script to download the VCF file that's scheduled with systemd or cron (depending on what your OS uses): # Example using wget
wget --output-document="./default.vcf" --auth-no-challenge --http-user=username --http-password=pass https://baikal.xxx.ovh/dav.php/addressbooks/lawrence/default?export
# Example using cURL (Basic auth)
curl -O default.vcf --user username:pass https://baikal.xxx.ovh/dav.php/addressbooks/lawrence/default?export
# Example using cURL (Digest auth)
curl -O default.vcf --digest --user username:pass https://baikal.xxx.ovh/dav.php/addressbooks/lawrence/default?export The maintainers and/or community over at https://github.com/sabre-io/Baikal might also be able to help out. |
Beta Was this translation helpful? Give feedback.
-
@shadowKing001 you can use the wget command like this:
the same for calendar (for example default.ics) |
Beta Was this translation helpful? Give feedback.
-
Hello !
In a first time let me thank you for this wonderful piece of software, I'm using your image for some years now and it's really effective.
Recently, I was thinking that doing a regular export of my vcf cards on my Android smartphone was probably not the smart way to backup my addressbook.
I fall upon this : https://sabre.io/dav/vcf-export-plugin/
It seems like Baikal got a feature to export all my contacts in a single vcf file.
I tried to use the same URL to see if this plugin is implemented in your image, but as a result I stumbled upon an error page :
Any thoughts on this ? @ckulka
Beta Was this translation helpful? Give feedback.
All reactions