Re: [PHP] MySQL Dump

2004-04-24 Thread Jordi Canals
I just tested it and yes, the Michal function runs on Windows and Linux. Just must write the path in the proper format for the OS you're using. Regards, Jordi. Matt Palermo wrote: Will this work on both a Windows and Unix server? Michal Migurski [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] MySQL Dump

2004-04-24 Thread Michal Migurski
I just tested it and yes, the Michal function runs on Windows and Linux. Just must write the path in the proper format for the OS you're using. Holy smokes, that's good news. :) Spreading dis-information is my price for not having the first clue about windows.

Re: [PHP] MySQL Dump

2004-04-23 Thread Matt Palermo
Will this work on both a Windows and Unix server? Michal Migurski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there an easy way to do a mysql dump routine written in php? I basically want to write a function to backup a database and have it create all the neccessary

Re: [PHP] MySQL Dump

2004-04-23 Thread Michal Migurski
Will this work on both a Windows and Unix server? No, it's most assuredly a unix-only thing. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List

[PHP] MySQL Dump

2004-04-22 Thread Matt Palermo
Is there an easy way to do a mysql dump routine written in php? I basically want to write a function to backup a database and have it create all the neccessary structures and data in the dump. I know phpMyAdmin will do this for me, but I want to write a function to do this incase the server

Re: [PHP] MySQL Dump

2004-04-22 Thread Michal Migurski
Is there an easy way to do a mysql dump routine written in php? I basically want to write a function to backup a database and have it create all the neccessary structures and data in the dump. I know phpMyAdmin will do this for me, but I want to write a function to do this incase the server

Re: [PHP] MySQL Dump using PHP

2003-12-07 Thread Cesar Aracena
Justin Patrin [EMAIL PROTECTED] wrote news:[EMAIL PROTECTED] Use mysqldump in a system() call, redirect it to a temp file, then read it back and out to the browser. Or, you could use popen to get the output piped back into php. Make sure to check the mysqldump options for things you need (I

[PHP] MySQL Dump using PHP

2003-12-06 Thread Cesar Aracena
Hi all, I am wondering if someone could point me to the right functions to use to make a script to dump all the tables in a specific MySQL DB. I need this to keep a daily backup from my site as the hackers are screwing up my site very often these days. Thanks in advanced,

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Ajai Khattri
On Sat, Dec 06, 2003 at 04:39:22PM -0300, Cesar Aracena wrote: I am wondering if someone could point me to the right functions to use to make a script to dump all the tables in a specific MySQL DB. I need this to keep a daily backup from my site as the hackers are screwing up my site very

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Cesar Aracena
The thing is that I don't have phisical access to the server and it doesn't have telnet access either. What I want to achieve is to make a password protected page inside my site were a button is kept to start a full backup of my MySQL DB and after clicking on it, be able to select the Internet

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Ajai Khattri
On Sat, Dec 06, 2003 at 06:02:40PM -0300, Cesar Aracena wrote: The thing is that I don't have phisical access to the server and it doesn't have telnet access either. What I want to achieve is to make a password protected page inside my site were a button is kept to start a full backup of my

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Justin Patrin
Cesar Aracena wrote: The thing is that I don't have phisical access to the server and it doesn't have telnet access either. What I want to achieve is to make a password protected page inside my site were a button is kept to start a full backup of my MySQL DB and after clicking on it, be able to

[PHP] mysql dump -- via php

2002-06-10 Thread Wilbert Enserink
Hi all, I have a .txt file containing a mysql dump. Normally when I would restore this dump I would go to the mysql 'prompt' and type something like: mysql dimpfile.txt. I would use SSH or telnet for this. Now I have this new problem: I cannot reach the sql pompt via SSH/telnet. Is there

Re: [PHP] mysql dump -- via php

2002-06-10 Thread Jason Wong
On Monday 10 June 2002 16:34, Wilbert Enserink wrote: Hi all, I have a .txt file containing a mysql dump. Normally when I would restore this dump I would go to the mysql 'prompt' and type something like: mysql dimpfile.txt. I would use SSH or telnet for this. Now I have this new

[PHP] MySQL Dump In PHP

2001-06-22 Thread Chris Anderson
I've been reading through the MySQL manual about backing up my database using mysql dump. I tried passing it as a Query in PHP but that doesn't seem to work. Does anyone know how to do this? Also does the dump back up the files into a directory I specify? I am on a virtual host and need to

RE: [PHP] MySQL Dump In PHP

2001-06-22 Thread Chadwick, Russell
rom: Chris Anderson [mailto:[EMAIL PROTECTED]]Sent: Friday, June 22, 2001 1:16 AMTo: [EMAIL PROTECTED]Subject: [PHP] MySQL Dump In PHP I've been reading through the MySQL manual about backing up my database using mysql dump. I tried passing it as a Query in PHP but that doesn't se

Re: [PHP] MySQL Dump In PHP

2001-06-22 Thread Aral Balkan
I use the mysqldump command line utility to do this and I don't know how to interface that from PHP. However: I just checked how phpMyAdmin does it and apparently it has functions that re-create the dump using queries. You might want to download it (http://www.phpwizard.net/projects/phpMyAdmin/)