Page 1 of 1

Export Database to file

Posted: Sat Oct 29, 2005 3:18 pm
by Ralle
Hello!
I searched google for this but didn't find what I need.
I need a simple php script that exports a database to a file named 'prefix' . date YYYYMMDD
the file should be created in a folder on the server.

Posted: Sat Oct 29, 2005 3:51 pm
by timvw
Here is a little bash script that i use to make a database dump and backup my files. The result is a backup-2005-10-29.tgz archive...

http://timvw.madoka.be/programming/bash/backup.txt.

Posted: Sat Oct 29, 2005 5:05 pm
by Ralle
what script is this?? how do I run it???