Run scripts/webdav_sync.py to package local content as .tar or .tar.gz and upload it to a WebDAV target defined in an env file. Prefer this skill for repeatable backups and scheduled sync tasks.
WEBDAV_SITE, WEBDAV_USERID, and WEBDAV_PWD.maintenance.log.bash
python3 {baseDir}/scripts/webdav_sync.py \
--source /path/to/folder \
--archive-prefix backup \
--remote-subdir backups \
--notify-channel <channel> \
--notify-target <target> \
--exclude 'folder/.trash' \
--exclude 'folder/.trash/*' \
--exclude 'folder/tmp' \
--exclude 'folder/tmp/*'
Keep stable wrappers in a project-level scripts directory for cron or one-command execution. Use a thin wrapper that pins the interpreter and passes host-specific paths as arguments.
curl, optional messaging CLI).0600 permissions and delete it after the request finishes.MKCOL responses 201, 301, and 405 as non-fatal directory-ready states.200, 201, and 204 as success..tar, set --compression none; otherwise prefer gz.references/operations.md for env keys, wrapper layout, and scheduling notes.scripts/webdav_sync.py --help for the CLI surface.