A simple script for managing backups of the S-UI panel. The backups are sent via a Telegram bot, and the backup cycle can be customized during the setup process.
To install the script, run the following command:
bash <(curl -Ls https://raw.githubusercontent.com/NimaTarlani/s-ui-backup/master/install.sh)
Once installed, you can run the script, and you will see the following menu:
S-UI Backup Management Script
————————————————————————————————
0. Exit
————————————————————————————————
1. Let's Config
————————————————————————————————
2. Start Cronjob (@daily)
3. Stop Cronjob
————————————————————————————————
4. Uninstall
————————————————————————————————
.env state: Existing configuration found
Cronjob state: Active
Please enter your selection [0-4]:
Menu Options:
- Let's Config: Configure the required settings (Telegram bot token, user ID, and backup cycle).
- Start Cronjob (@daily): Activate the cronjob for daily backups.
- Stop Cronjob: Deactivate the cronjob.
- Uninstall: Completely remove the script.
- Telegram Bot: You need the bot token and user ID for sending backups.
- Linux Server: This script is designed to run on Linux systems.
- Sends backups via Telegram.
- Allows scheduling automated backups.
- Easy installation and removal.
To remove the script, use this command:
bash <(curl -Ls https://raw.githubusercontent.com/NimaTarlani/s-ui-backup/master/install.sh) -u