Thread
:
PHP:Save MySQL Database
View Single Post
03-22-2007, 03:32 PM
#
3
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,487
there's a system command to backup your database (not a mysql_query command)
Code:
mysqldump -u<username> -p<password> <dbname> > backupfile.sql
there's a tutorial in the php section on how to dynamically load a mysqldump file too.
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde