Skip navigation links

MySQL Forums :: Backup :: create dump without output console


Advanced Search

Re: create dump without output console
Posted by: ENNAJIHI Rachid ()
Date: February 07, 2012 11:43PM

thank you all,

Here is my final script, it works fine

#!/bin/bash
LOG_FILE=/dump/logs/`date +%Y-%m-%d-%H%M`.log
HOST=192.168.50.191
mysql -h $HOST -u *** -p*** baseName < baseRestore.sql 2>> $LOG_FILE

Options: ReplyQuote


Subject Views Written By Posted
create dump without output console 1385 ENNAJIHI Rachid 02/01/2012 07:29AM
Re: create dump without output console 590 Scott Nemes 02/01/2012 10:18AM
Re: create dump without output console 583 ENNAJIHI Rachid 02/01/2012 11:24AM
Re: create dump without output console 1075 Rick James 02/03/2012 04:18AM
Re: create dump without output console 597 Scott Nemes 02/03/2012 10:58AM
Re: create dump without output console 657 ENNAJIHI Rachid 02/07/2012 11:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.