Files
ct103-backrest/scripts/openwebui-prestage.sh
T
2026-05-29 03:15:02 +02:00

9 lines
322 B
Bash
Executable File

#!/bin/bash
set -e
CT104="root@192.168.1.40"
STAGING="/mnt/pve/unas/services/open-webui"
rsync -rlptD --no-owner --no-group --delete \
--exclude='cache/' --exclude='*.tmp' --exclude='*.log' \
"$CT104":/opt/stacks/ai/open-webui/data/ "$STAGING/"
echo "[$(date)] openwebui-prestage: done ($(du -sh $STAGING | cut -f1))"