Re: MySQL back up

From: Date: Tue, 08 Oct 2002 10:21:26 +0000
Subject: Re: MySQL back up
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119222@lists.php.net to get a copy of this message
Why don't you just do a hard backup of the files from the db. Find out the location of the data folder where thd db saves its tables, perform a tar cvzf data_folder and then pipe it directly to the user for download via http. Havent tryed it that way, but should work. Another thing would be reoback which is a perl script. You should be able to perform this backup via ftp controled by a daily cron job. Hope this helps, Andy -- ---------------------------------------------- http://www.globosapiens.net Worldwide Travel Community "Ken" <admin@kabwebs.com> schrieb im Newsbeitrag news:20021008020016.43118.qmail@pb1.pair.com... > Hi All! > > Anyone know how to code the MySQL command in PHP to make the database script > download to your local hard disk, without writing 100 lines of code? > > I tried the mysqldump without any luck, but I think there is an easy way to > do it, just not sure how to code it. > > Thanks in advance! > > >

« previous php.general (#119222) next »