Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1000 Bytes

File metadata and controls

20 lines (17 loc) · 1000 Bytes

automatic_backup_YOUR_PROJECT_database_mysql.sh

Automatic backups YOUR PROJECT mysql Database that create by bash script using crontab on Linux Ubuntu.

How to add to your Linux Server

download file from web version this website, at Code > Download ZIP, using wget

root@ServerDesktopLinux # wget https://github.com/l3modz/automatic_backup_YOUR_PROJECT_database_mysql.sh/archive/refs/heads/main.zip

unzip it at /root or make own folder for automatic script
root@ServerDesktopLinux # unzip automatic_backup_YOUR_PROJECT_database_mysql.sh.zip

How to Add to cronjob

root@ServerDesktopLinux # crontab -e
*/30 * * * * ./bash.script/automatic_backup_YOUR_PROJECT_database_mysql.sh
:
w q
change to excecutable file
root@ServerDesktopLinux # chown root.root bash.script/automatic_backup_YOUR_PROJECT_database_mysql.sh
*
Open your FileZilla, backup it every week

ps : from man walk to best script, i mean bash script ^-^ ^-^ ^-^