Steffan JJ 1 anno fa
parent
commit
a1072b036c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      trias/DB/mysql_backup.sh

+ 2
- 0
trias/DB/mysql_backup.sh Vedi File

@@ -13,4 +13,6 @@ DATE=$(date +"%Y-%m-%d_%H-%M-%S")
FILENAME="${DB_NAME}_${DATE}.sql"

# Create the backup
echo mysqldump -u $DB_USER -p$DB_PASS $DB_NAME > $BACKUP_DIR/$FILENAME
mysqldump -u $DB_USER -p$DB_PASS $DB_NAME > $BACKUP_DIR/$FILENAME
# mysqldump -u root -p 'root@123' triq_demo > ~/mysql_backup/temp_1

Loading…
Annulla
Salva