View Single Post
Old 03-22-2007, 03:32 PM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
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 is offline   Reply With Quote