Re: Use PHP to copy MySQL tables

From: Date: Fri, 09 Apr 2004 11:41:20 +0000
Subject: Re: Use PHP to copy MySQL tables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182968@lists.php.net to get a copy of this message
it maybe too much work, but FirebirdDB + PHP5 allows the use of ibase_backup() & ibase_restore() - very nifty. otherwise maybe take a look at the phpMyAdmin source for how they handle such thing - Robb Kerr wrote:
Is there an easy way to create an HTML page that uses PHP to copy selected MySQL tables to backup copies on the same MySQL server? I want to create an administration page for my client to be able to "backup" their database whenever they see fit. But, I can't give them direct access to the MySQL server and don't want them backing up to their hard drive. I prefer to simply copy the tables to "backup" versions on the server so that if problems arise, I can log into the server and simply copy the "backups" to the originals. Thanx in advance.


« previous php.general (#182968) next »