15 lines
358 B
Bash
Executable File
15 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
CT104="root@192.168.1.40"
|
|
STAGING="/mnt/pve/unas/services/n8n"
|
|
|
|
# Rsync n8n data (config, nodes, storage) — skip logs and temp files
|
|
rsync -rlptD --no-owner --no-group --delete \
|
|
--exclude='*.log' \
|
|
--exclude='crash.journal' \
|
|
--exclude='*.json' \
|
|
"$CT104":/opt/stacks/n8n/data/ "$STAGING/"
|
|
|
|
echo "[$(date)] n8n-prestage: done"
|