log file
I want to restore mysql database from a dump file.
mysql database restoration command is this : Quote: $mysql -u user -pserpassword database_name < dumpfilename.sql I want to log restoration. How do I log into a file ? At the start of restoration , log file will log text "restoration started on [date & time] " At the end of restoration , log file will capture text "restoration completed on [date & time]" |
Code:
#!/bin/bash -- |
All times are GMT -5. The time now is 07:52 AM. |