Browse Source

Updated db restore script

production
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

@@ -1,7 +1,18 @@
# Set the database credentials
sudo apt-get update
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'
sleep 2

cd /mysql_backup/
ls

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

Loading…
Cancel
Save