Re: backup and restore
Posted by: ALEXIS MENDEZ
Date: November 24, 2006 09:37PM

Hi,

I was wrong it doesn’t work. It run mysqldump and run the back up, but it doesn’t save the file:

If some body can helps.

This is the code that I’m using:
Dim result As Integer = Shell("""C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump"" --user=" & wContainer.Username & " --password=" & wContainer.Password & " --host=localhost --databases MySQL VideoDB > """ & SaveFileDialog1.FileName & """", AppWinStyle.Hide, True)

With this code you can see that mysqldump is running:
Dim result As Integer = Shell("""C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump"" --user=" & wContainer.Username & " --password=" & wContainer.Password & " --host=localhost --databases MySQL VideoDB > """ & SaveFileDialog1.FileName & """", , True)

Options: ReplyQuote


Subject
Written By
Posted
November 18, 2006 08:21PM
November 19, 2006 04:12PM
November 20, 2006 02:19AM
November 20, 2006 12:42PM
November 21, 2006 01:00AM
November 21, 2006 01:11AM
November 21, 2006 02:07AM
November 23, 2006 09:52PM
Re: backup and restore
November 24, 2006 09:37PM


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.