You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678 |
- DB_USER="root"
- DB_PASS="root@123"
- DB_NAME="triq_demo"
- echo "Enter the name of backup file: "
- read folderName
- BACKUP_FILE="~/mysql_backup/$folderName"
- # Restore backup file
- mysql -u $DB_USER -p$DB_PASS $DB_NAME < $BACKUP_FILE
|