Skip to content

x0sina/MirzaPanelBot_AutoBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MirzaPanelBot_AutoBackup

A tool for Backup .sql database file of MarzbanPanelBot

Installation guide

Run the following command

wget https://raw.githubusercontent.com/x0sina/MirzaPanelBot_AutoBackup/main/BackupMirzaPanel.sh | chmod +x BackupMirzaPanel.sh

Once the installation is complete run the command below

nano BackupMirzaPanel.sh

And change your database and telegram details in variables

To run the script run the following command

./BackupMirzaPanel.sh

Open the crontab for editing using the following command:

crontab -e

Add the Cron Job Entry

Add the following line to the crontab file to schedule the script to run every 6 hours

0 */6 * * * ./BackupMirzaPanel.sh

Finish it will sends you the .sql file in your Telegram bot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages