{Shell} Simple SQL Export
#1


Export your DB from Shell.

#!/bin/sh
echo "==============================================================="
echo -e " \033[31m1. Start SQL-Export\033[0m "
echo -e " \033[33mSQL-Export is Running.\033[0m "
echo "==============================================================="

cd /home/script/DB_Backups
mysql -h 127.0.0.1 -u root newproject_db_auth < newproject_db_auth.sql

echo "==============================================================="
echo -e " \033[31m2. SQL-Export.\033[0m "
echo -e " \033[36m DONE\033[0m "
echo "==============================================================="

 



Messages In This Thread
[No subject] - by Groby - 02-09-2016, 03:54 PM
[No subject] - by WorldOfWars - 02-09-2016, 04:10 PM
[No subject] - by Wizatek - 02-09-2016, 04:23 PM
[No subject] - by Groby - 02-09-2016, 04:35 PM
[No subject] - by Wizatek - 02-09-2016, 05:48 PM
[No subject] - by peter3301 - 02-09-2016, 10:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)