Backup automatico script del 2026-08-23 12:04
This commit is contained in:
1 parent
11823447a2
commit
795a15a7b6
66 files changed
+8546
No files matched your search
@@ -86,6 +86,14 @@ else
|
||||
echo "⚠️ Impossibile scaricare Keepalived conf da Pi1."
|
||||
fi
|
||||
|
||||
# D. Sorgente Loogle MCP (app completa: qui vive solo su Pi1, fuori da git)
|
||||
# .env resta escluso: contiene JWT secret e token Paperless/Gitea/OpenAI.
|
||||
mkdir -p "$REPO_DIR/services/loogle-mcp"
|
||||
rsync -av --delete -e "ssh -q" \
|
||||
--exclude='.env' --exclude='data/' --exclude='__pycache__/' --exclude='*.pyc' --exclude='.cursor/' \
|
||||
"$PI1_USER@$PI1_IP:/home/daniely/docker/loogle-mcp/" "$REPO_DIR/services/loogle-mcp/" \
|
||||
|| echo "⚠️ rsync sorgente MCP fallito (ignorato)"
|
||||
|
||||
# 4. GIT PUSH
|
||||
# -----------
|
||||
if [[ -n $(git status --porcelain) ]]; then
|
||||
|
||||
Reference in new issue
Block a user