Browse Source

Updated db restore script

pull/14/head
Steffan JJ 1 year ago
parent
commit
e19319d408
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      trias/Database/mysql_restore.sh

+ 11
- 0
trias/Database/mysql_restore.sh View File

# Set the database credentials # Set the database credentials
sudo apt-get update sudo apt-get update
sudo apt-get -y install cifs-utils sudo apt-get -y install cifs-utils
cd /
mkdir mysql_backup
sleep 2

sudo chmod 777 mysql_backup
sleep 2

sudo mount //10.10.5.26/trias /mysql_backup/ -o username='baptist',password='2021Bbh',domain='bbh' sudo mount //10.10.5.26/trias /mysql_backup/ -o username='baptist',password='2021Bbh',domain='bbh'
sleep 2

cd /mysql_backup/
ls


DB_USER="root" DB_USER="root"
DB_PASS="root@123" DB_PASS="root@123"

Loading…
Cancel
Save