28 lines
785 B
Markdown
28 lines
785 B
Markdown
# 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!
|