commands reset and backup

This commit is contained in:
mercury
2024-11-20 15:46:03 +04:00
parent b56b48e080
commit dbe3f290ea
2 changed files with 22 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
require __DIR__ . '/timezone.php';
require __DIR__ . '/bot.php';
require __DIR__ . '/config.php';
require __DIR__ . '/i18n.php';
if ($c['debug']) {
require __DIR__ . '/debug.php';
}
$bot = new Bot($c['key'], $i);
echo $bot->export();
+8
View File
@@ -60,3 +60,11 @@ c:
git reset
webhook:
docker compose exec php php checkwebhook.php
reset:
make d
git reset --hard
git clean -fd
docker volume rm vpnbot_adguard vpnbot_warp
make u
backup:
docker compose exec php php backup.php > backup.json