1
0
mirror of synced 2024-11-21 21:06:09 +03:00

fix rollback dump

This commit is contained in:
Akolzin Dmitry 2019-02-28 15:35:09 +03:00
parent 92ce32d8a0
commit 1a84e87e82

View File

@ -14,7 +14,7 @@ download() {
create_db() {
mysqladmin create $DB_BITRIX_NAME --user="$DB_BITRIX_LOGIN" --password="$DB_BITRIX_PASS"
mysql -user="$DB_BITRIX_LOGIN" -password="$DB_BITRIX_PASS" $DB_BITRIX_NAME < $BITRIX_PATH/dump.sql
mysql --user="$DB_BITRIX_LOGIN" --password="$DB_BITRIX_PASS" $DB_BITRIX_NAME < $BITRIX_PATH/dump.sql
}
download