Horst Azeglio Posted May 15, 2006 Share Posted May 15, 2006 Do you know a way to easily backup a MySQL database and/or table in PHP? I'm looking for something simmilar to what PHPMyAdmin does when it creates .SQL files. Thank you Link to comment https://forums.phpfreaks.com/topic/9740-mysql-table-backup/ Share on other sites More sharing options...
ikmyer Posted May 15, 2006 Share Posted May 15, 2006 try this...[a href=\"http://www.silisoftware.com/scripts/backupDB/backupDB.zip\" target=\"_blank\"]http://www.silisoftware.com/scripts/backupDB/backupDB.zip[/a]info ( [a href=\"http://www.silisoftware.com/scripts/index.php?scriptname=backupDB\" target=\"_blank\"]http://www.silisoftware.com/scripts/index....ptname=backupDB[/a] )it can do single DB's or a signle table in a DB. Will save the data on server and can also email you a zip file of the DB... Link to comment https://forums.phpfreaks.com/topic/9740-mysql-table-backup/#findComment-36094 Share on other sites More sharing options...
ryanlwh Posted May 15, 2006 Share Posted May 15, 2006 if you have access to the server command line, you can issue mysqldump to create .sql files, or mysqlhotcopy to quickly copy the MYI, MYD files to another location.you can also try SELECT INTO LOAD FILE syntax, if you have the permission on the mysql side. Link to comment https://forums.phpfreaks.com/topic/9740-mysql-table-backup/#findComment-36099 Share on other sites More sharing options...
Horst Azeglio Posted May 15, 2006 Author Share Posted May 15, 2006 thank you guys, I'll try your ideas Link to comment https://forums.phpfreaks.com/topic/9740-mysql-table-backup/#findComment-36108 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.