Re: create dump without output console
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
Subject
Views
Written By
Posted
3313
February 01, 2012 07:29AM
1321
February 01, 2012 10:18AM
1290
February 01, 2012 11:24AM
2733
February 03, 2012 04:18AM
1370
February 03, 2012 10:58AM
Re: create dump without output console
1462
February 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.