Akula_dude Posted September 25, 2006 Share Posted September 25, 2006 I've been looking through some open source forums/CMS's code looking for the database backup scripts, but unfortunately I cant find any well-commented ones...So, is there any way to write the entire MySQL database to a .sql file and dump it? Like what you can do with phpMyAdmin?Thanks in advance Link to comment Share on other sites More sharing options...
Cronthenoob Posted September 25, 2006 Share Posted September 25, 2006 in phpMyAdmin there should be a tab that says "export" You can just use the export, save it as a text document. Then when you want to rebuild the database, use import, or just copy and paste. Link to comment Share on other sites More sharing options...
Akula_dude Posted September 25, 2006 Author Share Posted September 25, 2006 Yeah, I know, I was looking for how to implement it into my own scripts. So far I've had no luck looking through php-fusion's scripts, so i might try phpBB next... Link to comment Share on other sites More sharing options...
justsomeguy Posted September 25, 2006 Share Posted September 25, 2006 Check here:http://www.php-mysql-tutorial.com/perform-...-backup-php.php Link to comment Share on other sites More sharing options...
Akula_dude Posted September 27, 2006 Author Share Posted September 27, 2006 Ah, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now