#!/bin/bash
for table in `ls /opt/databasebackup/ | grep sql`
do
echo "Importing $table"
/opt/lampp/bin/mysql -uroot -pPassword databasename < /opt/databasebackup/$table
done
echo "Press Any key to continue.."
read p
Thanks
nirmal Singh
Hi, I'm a linux system administrator / DevOps / Cloud Administrator with more than 10 years of experience in the industry. I have shared my real life knowledge and experience here.
Linux server hardening is the process of securing a Linux server by reducing its attack surface and mitigating security risks. The goal is ...
No comments:
Post a Comment