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!