MySQL Forums
Forum List  »  Backup

Does mysqldump return a status?
Posted by: hello321_1999
Date: September 18, 2005 08:05AM

I am creating a script that backups a mysql db using the mysqldump utility. I am writing this script in the shell "sh" and plan to run this on a SuSE linux machine. I would like to capture the output status of mysqldump in the script (i.e. if the mysqldump command failed or succeeded) so I can report if the script was successful or not. Does mysqldump return an output status? Can someone please give me instructions on how to do this?

I have checked the MySQL documentation, but could not find anything that describes how to do this.

Thanks in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
Does mysqldump return a status?
4462
September 18, 2005 08:05AM


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.