Config backup structure (redacted)

This commit is contained in:
Echo
2026-01-30 14:58:06 +00:00
parent 60dac72294
commit 8a8fa49bcc
2 changed files with 372 additions and 0 deletions

27
config/README.md Normal file
View File

@@ -0,0 +1,27 @@
# Config Backup
## Fișiere
- `clawdbot.example.json` - configurare Clawdbot cu token-uri REDACTED
- Backup complet (cu secrete) în `/home/moltbot/backups/`
## Restaurare
1. Copiază `clawdbot.example.json` în `~/.clawdbot/clawdbot.json`
2. Înlocuiește `REDACTED` cu valorile reale:
- `channels.discord.token` - Discord bot token
- `channels.telegram.botToken` - Telegram bot token
- `channels.whatsapp` - se autentifică prin QR
- `gateway.auth.token` și `gateway.auth.password`
- `tools.web.search.apiKey` - Brave Search API key
## Backup automat
Backup-ul complet se face manual sau prin cron:
```bash
cp ~/.clawdbot/clawdbot.json /home/moltbot/backups/clawdbot-$(date +%Y%m%d).json
```
## Atenție
NU pune fișierul cu token-uri reale în git public!

View File

@@ -0,0 +1,345 @@
{
"meta": {
"lastTouchedVersion": "2026.1.24-3",
"lastTouchedAt": "2026-01-30T12:52:32.663Z"
},
"wizard": {
"lastRunAt": "2026-01-29T00:26:43.428Z",
"lastRunVersion": "2026.1.24-3",
"lastRunCommand": "onboard",
"lastRunMode": "local"
},
"auth": {
"profiles": {
"anthropic:default": {
"provider": "anthropic",
"mode": "token"
}
}
},
"agents": {
"defaults": {
"workspace": "/home/moltbot/clawd",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
},
"list": [
{
"id": "echo",
"default": true,
"workspace": "/home/moltbot/clawd",
"identity": {
"name": "Echo"
}
},
{
"id": "echo-work",
"workspace": "/home/moltbot/clawd/agents/echo-work",
"identity": {
"name": "Echo Work"
}
},
{
"id": "echo-health",
"workspace": "/home/moltbot/clawd/agents/echo-health",
"identity": {
"name": "Echo Health"
}
},
{
"id": "echo-growth",
"workspace": "/home/moltbot/clawd/agents/echo-growth",
"identity": {
"name": "Echo Growth"
}
},
{
"id": "echo-sprijin",
"workspace": "/home/moltbot/clawd/agents/echo-sprijin",
"identity": {
"name": "Echo Sprijin"
}
},
{
"id": "echo-scout",
"workspace": "/home/moltbot/clawd/agents/echo-scout",
"identity": {
"name": "Echo Scout"
}
}
]
},
"tools": {
"web": {
"search": {
"apiKey": "REDACTED"
}
},
"agentToAgent": {
"enabled": true,
"allow": [
"echo",
"echo-work",
"echo-health",
"echo-growth",
"echo-sprijin",
"echo-scout"
]
}
},
"bindings": [
{
"agentId": "echo",
"match": {
"channel": "discord",
"peer": {
"kind": "channel",
"id": "1466742786224033986"
}
}
},
{
"agentId": "echo-work",
"match": {
"channel": "discord",
"peer": {
"kind": "channel",
"id": "1466726254312030259"
}
}
},
{
"agentId": "echo-work",
"match": {
"channel": "whatsapp",
"peer": {
"kind": "group",
"id": "120363426648225292@g.us"
}
}
},
{
"agentId": "echo-health",
"match": {
"channel": "discord",
"peer": {
"kind": "channel",
"id": "1466739112747864175"
}
}
},
{
"agentId": "echo-health",
"match": {
"channel": "whatsapp",
"peer": {
"kind": "group",
"id": "120363424622990937@g.us"
}
}
},
{
"agentId": "echo-growth",
"match": {
"channel": "discord",
"peer": {
"kind": "channel",
"id": "1466739264715886743"
}
}
},
{
"agentId": "echo-growth",
"match": {
"channel": "whatsapp",
"peer": {
"kind": "group",
"id": "120363405999140828@g.us"
}
}
},
{
"agentId": "echo-sprijin",
"match": {
"channel": "discord",
"peer": {
"kind": "channel",
"id": "1466739361503772864"
}
}
},
{
"agentId": "echo-sprijin",
"match": {
"channel": "whatsapp",
"peer": {
"kind": "group",
"id": "120363427326758978@g.us"
}
}
},
{
"agentId": "echo-scout",
"match": {
"channel": "discord",
"peer": {
"kind": "channel",
"id": "1466739565870972981"
}
}
},
{
"agentId": "echo-scout",
"match": {
"channel": "whatsapp",
"peer": {
"kind": "group",
"id": "120363422453567175@g.us"
}
}
}
],
"messages": {
"responsePrefix": "",
"ackReactionScope": "group-mentions"
},
"commands": {
"native": "auto",
"nativeSkills": "auto"
},
"hooks": {
"internal": {
"enabled": true,
"entries": {
"boot-md": {
"enabled": true
},
"command-logger": {
"enabled": true
},
"session-memory": {
"enabled": true
}
}
}
},
"channels": {
"whatsapp": {
"dmPolicy": "allowlist",
"selfChatMode": true,
"allowFrom": [
"+40723197939"
],
"groupPolicy": "allowlist",
"mediaMaxMb": 50,
"groups": {
"120363427326758978@g.us": {
"requireMention": false
},
"120363426648225292@g.us": {
"requireMention": false
},
"120363422453567175@g.us": {
"requireMention": false
},
"120363424622990937@g.us": {
"requireMention": false
},
"120363405999140828@g.us": {
"requireMention": false
}
},
"ackReaction": {
"emoji": "",
"direct": false,
"group": "mentions"
},
"debounceMs": 0
},
"telegram": {
"enabled": true,
"dmPolicy": "pairing",
"botToken": "REDACTED",
"groupPolicy": "allowlist",
"streamMode": "partial"
},
"discord": {
"enabled": true,
"token": "REDACTED",
"groupPolicy": "open",
"dm": {
"policy": "pairing"
},
"guilds": {
"1430476698264145922": {
"channels": {
"1466726254312030259": {
"allow": true,
"requireMention": false
},
"1466739112747864175": {
"allow": true,
"requireMention": false
},
"1466739264715886743": {
"allow": true,
"requireMention": false
},
"1466739361503772864": {
"allow": true,
"requireMention": false
},
"1466739565870972981": {
"allow": true,
"requireMention": false
},
"1466742786224033986": {
"allow": true,
"requireMention": false
}
}
}
}
}
},
"gateway": {
"port": 18789,
"mode": "local",
"bind": "loopback",
"controlUi": {
"allowInsecureAuth": true
},
"auth": {
"mode": "password",
"token": "REDACTED",
"password": "REDACTED"
},
"tailscale": {
"mode": "off",
"resetOnExit": false
}
},
"skills": {
"install": {
"nodeManager": "npm"
}
},
"plugins": {
"entries": {
"whatsapp": {
"enabled": true
},
"telegram": {
"enabled": true
},
"discord": {
"enabled": true
}
}
}
}