https://github.com/stunkymonkey/dav-backup
small bash-script to backup your dav-data
https://github.com/stunkymonkey/dav-backup
Last synced: about 1 year ago
JSON representation
small bash-script to backup your dav-data
- Host: GitHub
- URL: https://github.com/stunkymonkey/dav-backup
- Owner: Stunkymonkey
- Created: 2015-12-26T22:11:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T23:23:57.000Z (over 8 years ago)
- Last Synced: 2025-01-29T15:32:28.840Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dav-backup
A simple script, that downloads all your calendars and addressbooks from owncloud or baikal and stores them in a file.
# configuration
## main
You can configure your data in a config file for automation:
```
#dav-backup
#~/.config/dav-backup/config
# the URL to your server
HOST="https://cloud.example.com"
# output of the tarpackage
OUT="~/.cache/backup"
# enter the service that is providing the dav-service (eg. "owncloud"/"baikal"/"radicale")
SERVICE="baikal"
# enter your login-username
DAVUSER="user"
# small letters (for owncloud/baikal/radicale)
ADDRESSBOOKS=("private" "work")
# small letters (for owncloud/baikal/radicale)
CALENDARS=("personal" "holiday")
# date-format of output-file
DATE=$(date +"%Y-%m-%d_%H-%M-%S")
```
For `ADDRESSBOOKS` and `CALENDARS`, also values of the format `:` are allowed, while `` is the identifier of your server and `` is used in the filename.
## credentials
Also put your credentials into `~/.config/dav-backup/credentials`:
```
# put into
#~/.config/dav-backup/credentials
user=
password=
```