Browse Source

temp

pull/12/head
Steffan JJ 1 year ago
parent
commit
a1072b036c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      trias/DB/mysql_backup.sh

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

FILENAME="${DB_NAME}_${DATE}.sql" FILENAME="${DB_NAME}_${DATE}.sql"


# Create the backup # 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 $DB_USER -p$DB_PASS $DB_NAME > $BACKUP_DIR/$FILENAME
# mysqldump -u root -p 'root@123' triq_demo > ~/mysql_backup/temp_1

Loading…
Cancel
Save