﻿BuryatVPN upgrade bundle
========================

Before update on Linux (recommended):
  sudo bash upgrade/create_checkpoint_on_server.sh /root/Bots

Or use the deploy script (checkpoint runs automatically):
  sudo bash upgrade/apply_bundle_on_server.sh ./buryatvpn-transfer.zip /root/Bots
  (skip checkpoint: SKIP_CHECKPOINT=1 sudo bash upgrade/apply_bundle_on_server.sh ...)

1) Extract archive into existing project folder on remote server (overwrite files).
2) Apply update:
   - Windows: powershell -ExecutionPolicy Bypass -File .\update_server.ps1 -Mode prod -SkipGit
   - Linux:   sudo bash ./update_server.sh --prod --skip-git

Notes:
- This bundle excludes local secrets/.env and instance/ by design.
- Includes upgrade/*.sh (apply/checkpoint scripts); excludes upgrade/*.zip archives.
- apply_bundle_on_server.sh also excludes .venv on the server (keeps your venv).
- Keep your existing .env, instance/, and database on remote server.
