Skip to content

Instantly share code, notes, and snippets.

View PatrissolJuns's full-sized avatar
👌
Speed and Efficiency

Patrissol Kenfack PatrissolJuns

👌
Speed and Efficiency
View GitHub Profile
@PatrissolJuns
PatrissolJuns / database_backup.sh
Created June 2, 2021 18:43
SQL Database automatic backup
#!/bin/sh
#################################################################
# Define your variables here:
#################################################################
FILESTOKEEP=8
BACKUP_DIR=/var/www/html/database_backup/
BMYSQL_USER=jhon