diff --git a/10-systems/bots/mardisbot.md b/10-systems/bots/mardisbot.md index c847e88..1fbd88d 100644 --- a/10-systems/bots/mardisbot.md +++ b/10-systems/bots/mardisbot.md @@ -49,13 +49,16 @@ sudo systemctl restart mardisbot.service ``` -## Remote ops (added 2026-09-10) +## Remote ops (added 2026-09-10, extended 2026-09-10) The bot owner can manage this service remotely via the companion ops bot **MardisOpsBot** (`@MardisOps_bot`) — see `10-systems/bots/mardisopsbot.md`. Commands: `/status`, `/restart`, -`/logs [N]`. Access: first 3 Telegram users who press /start (user_ids -persisted in `admins.json` on the VM). No SSH or inbound network access is -required or granted. +`/logs [N]`, `/backup` (download current MardisBot code as ZIP), and +ZIP-upload update (send a .zip with bot.py to update the code on the VM — +auto-backup before apply, auto-rollback if the service fails after +restart; `.env` and `venv` are never touched). Access: first 3 Telegram +users who press /start (user_ids persisted in `admins.json` on the VM). +No SSH or inbound network access is required or granted. ## Health notes (2026-09-10) - Occasional `telegram.error.NetworkError: Bad Gateway` in journal