English | فارسی
A simple Python-based backup tool for SoftEther VPN servers.
It fetches the current server config via SoftEther's JSON-RPC API, saves it locally, and optionally sends it to your Telegram bot for off-site backup.
You can run it manually or schedule it with cron.
- Auto-fetch config from multiple SoftEther servers
- Save decoded
.configfiles locally - Send backups to a Telegram bot (optional)
- Easy setup with an install script
- Runs on schedule via
cron
Run the following command in your terminal:
wget -O se-install https://raw.githubusercontent.com/Pink210/SoftEtherBackupBot/master/install-SoftEtherBackupBot.bash && chmod +x se-install && ./se-installTo change your server list, password, or Telegram settings, edit the config.py file:
sudo nano $HOME/SoftEtherBackupBot/config.pyTo modify the backup schedule:
crontab -eThen update the schedule line. For example, to run the backup every 3 hours:
0 */3 * * * /usr/bin/python3 $HOME/SoftEtherBackupBot/main.py >> $HOME/SoftEtherBackupBot/cron.log 2>&1