2 Commits
314 ... 35

Author SHA1 Message Date
yangxuan 5e89093cac 35: daily log and credential update 2026-07-14 19:55:51 +08:00
yangxuan 4fe14369c4 auto backup 2026-07-14 18:00 2026-07-14 18:00:05 +08:00
2 changed files with 24 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
http://be00af92b4fc91fd6fecbe95751702a51021981a:@192.168.3.5%3a3000
https://be00af92b4fc91fd6fecbe95751702a51021981a@gitea.climbcube.cn
http://be00af92b4fc91fd6fecbe95751702a51021981a@192.168.3.5%3a3000
http://yangxuan:***@localhost%3a3000
https://xuan-java:***@gitee.com
+23 -6
View File
@@ -1,22 +1,39 @@
#!/bin/bash
# 同步本机 .openclaw/ 到 3.14 主机
# 以本机(WSL)为准,3.14 只做接收
# 仅同步"源码"级配置,运行时数据各自保留
set -e
SRC="/home/yangxuan/.openclaw/"
DST="yangxuan@192.168.3.14:/home/yangxuan/.openclaw/"
echo "=== 同步 .openclaw/ 到 3.14 ==="
echo "=== 同步 .openclaw/ 配置到 3.14 ==="
# 用 rsync --delete 确保 3.14 和本机完全一致
rsync -avz --delete \
--exclude='.git/' \
--exclude='sessions/' \
--exclude='logs/' \
--exclude='sandboxes/' \
--exclude='*.bak*' \
--exclude='cache/' \
--exclude='*.bak*' \
--exclude='state/' \
--exclude='memory/' \
--exclude='media/' \
--exclude='sandboxes/' \
--exclude='sandbox/' \
--exclude='openclaw-weixin/' \
--exclude='credentials/' \
--exclude='cron/runs/' \
--exclude='devices/' \
--exclude='subagents/' \
--exclude='extensions/' \
--exclude='delivery-queue/' \
--exclude='archived/' \
--exclude='agents-archived/' \
"$SRC" "$DST"
echo ""
echo "=== 同步完成 ==="
echo "=== 同步完成 ==="
echo "已排除(运行时数据,各自保留):"
echo " sessions/ state/ memory/ media/ logs/
cache/ sandboxes/ sandbox/ credentials/ devices/
openclaw-weixin/ cron/runs/ subagents/
extensions/ delivery-queue/ archived/ agents-archived/"