Re: mysqldump

From: Date: Thu, 27 Feb 2003 10:10:35 +0000
Subject: Re: mysqldump
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137370@lists.php.net to get a copy of this message
just make a php file with system calls in it to do mysqldump how secure that is is a different question ----- Original Message ----- From: "John Taylor-Johnston" <taylorjo@collegesherbrooke.qc.ca> To: <php-general@lists.php.net> Sent: Wednesday, February 26, 2003 10:43 PM Subject: [PHP] mysqldump > Anyone do MySQLDump using PHP ? > > http://www.mysql.com/doc/en/mysqldump.html > > My code is: > mysqldump -u ****** -p ****** -A > /home/mybackups/dump_all.sql > > I would like to pull it off using PHP, remotely. > > $date = date ("Ymd"); > $to_path = "/home/MyBackups/$date/dump_all.sql"; > > mysqldump -u ****** -p ****** -A > $to_path; > > mysqldump is not PHP?! > > John > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003

« previous php.general (#137370) next »