Re: [PHP] function for backing up mysql

2004-04-14 Thread Enrico Weigelt
* Victor Spång Arthursson <[EMAIL PROTECTED]> [2004-04-14 11:55:13 +0200]: > But? the database is on a hotel to which I have no remote access to > mysql? My client want to be able to click a link and get a "backup > file" in return? > > Is it possible to redirect the output from mysqldump usin

Re: [PHP] function for backing up mysql

2004-04-14 Thread John W. Holmes
From: "Victor Spång Arthursson" <[EMAIL PROTECTED]> > Wonder if anyone knows if there somewhere "out there" are any good > functions that streams out data from mysql as a sql-file, like > phpmyadmin does? > > The best would be one which I told which database and which tables to > dump, and which d

Re: [PHP] function for backing up mysql

2004-04-14 Thread Victor Spång Arthursson
2004-04-14 kl. 11.26 skrev Burhan Khalid: Just redirect the output from mysqldump. mysqldump -u username -ppassword database > dump.sql and then send that dump.sql file. Or, you can just read the output from the mysqldump command directly, using output buffering to make sure your script doesn'

Re: [PHP] function for backing up mysql

2004-04-14 Thread Burhan Khalid
Victor Spång Arthursson wrote: 2004-04-14 kl. 09.57 skrev Hawkes, Richard: PhpMyAdmin (www.phpmyadmin.net) is a great MySQL admin tool, and utilises the MySQL backup functions. Yes, and it is the same functionability I want. But I want a php-function to implement in various scripts I hav

Re: [PHP] function for backing up mysql

2004-04-14 Thread Victor Spång Arthursson
2004-04-14 kl. 09.57 skrev Hawkes, Richard: PhpMyAdmin (www.phpmyadmin.net) is a great MySQL admin tool, and utilises the MySQL backup functions. Yes, and it is the same functionability I want. But I want a php-function to implement in various scripts I have, and since I probably aint t

RE: [PHP] function for backing up mysql

2004-04-14 Thread Hawkes, Richard
PhpMyAdmin (www.phpmyadmin.net) is a great MySQL admin tool, and utilises the MySQL backup functions. Thanks Richard -Original Message- From: Victor Spång Arthursson [mailto:[EMAIL PROTECTED] Sent: 14 April 2004 08:52 To: [EMAIL PROTECTED] Subject: [PHP] function for backing up mysql

[PHP] function for backing up mysql

2004-04-14 Thread Victor Spång Arthursson
Hi! Wonder if anyone knows if there somewhere "out there" are any good functions that streams out data from mysql as a sql-file, like phpmyadmin does? The best would be one which I told which database and which tables to dump, and which directly stared streaming the data… Sincerely Victor --