Config backup structure (redacted)
This commit is contained in:
27
config/README.md
Normal file
27
config/README.md
Normal 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!
|
||||
Reference in New Issue
Block a user