asmith20002
10-25-2008, 10:03 AM
hi
when I want to backup my databse, I go to cpanel and click on backup, it generates a .sql file (inside a zip file) , when I run that .sql file though phpmyadmin or mysql query browser, it updates my database (remove all tables and creates his own and insert rows again)
How can I do that manually? is there any function in mysql I could use so that it creates this file for me ?
P.S need to do a lot of things with this file, need to create it with an script.
when I want to backup my databse, I go to cpanel and click on backup, it generates a .sql file (inside a zip file) , when I run that .sql file though phpmyadmin or mysql query browser, it updates my database (remove all tables and creates his own and insert rows again)
How can I do that manually? is there any function in mysql I could use so that it creates this file for me ?
P.S need to do a lot of things with this file, need to create it with an script.