R
R
run1822017-02-20 15:34:54
PHP
run182, 2017-02-20 15:34:54

How to backup mysql database on hosting using php?

What are the possibilities on the hosting to backup the database to a file?
You need a script to do a dump "on the fly"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem, 2017-02-20
@run182

exec('mysqldump --user=... --password=... --host=... DB_NAME > /path/to/output/file.sql');
stackoverflow.com/questions/6750531/using-a-php-fi...

R
Ruslan Fedoseev, 2017-02-20
@martin74ua

https://sypex.net/
it's bad that your google is closed....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question