/AutoBackupForX-UI

Primary LanguageC#GNU General Public License v3.0GPL-3.0

x-ui auto backup

An easy way to take a backup of x-ui.db and save it in the Telegram channel

C#

For C#, put the compiled file in the /etc/x-ui folder and run the program.

Replace the required values.

//Replace with your bot token and channel name
string botToken = "your bot token here";
string channelName = "@your channel name here";

Python

Do the same for Python

# Replace with your bot token and channel name
bot_token = "your bot token here"
channel_name = "@your channel name here"