Re: Database backup

From: Date: Wed, 27 Aug 2003 04:30:55 +0000
Subject: Re: Database backup
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-30107@lists.php.net to get a copy of this message
Chris Payne wrote:
Hi there everyone, Is there a quick way I can backup all my databases on Linux so I can download them to my HD/Burn them onto CD? I've started a very large travel project and there is going to be over 100 DB's in the end, each with who knows how many tables and going through PHPMyADMIN and exporting 1 DB at a time is going to take forever. My Server is the Rehat Linux 8.0 with Apache and MySQL and PHP. Thanks, any help would be really appreciated (And save me alot of headaches).
Quickest way is to shut down MySQL and just copy the data directory. Then restart MySQL. Or you can use mysqldump with the "--all-databases" flag. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.db (#30107) next »