9 lines
322 B
Bash
Executable File
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))"
|