RE: [PHP] Re: MySQL back up
| From: | John W. Holmes | Date: | Tue, 08 Oct 2002 11:37:10 +0000 |
| Subject: | RE: [PHP] Re: MySQL back up | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119229@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.
You'll have to shut down the database to do it this way, though.
---John Holmes...