Subject, is there such?
2 answers
Omniscient Google on the move offers a lot of options :) There are two main approaches (software):
- Reserve each table separately, performing a
SELECT * ...
querySELECT * ...
and saving the result to a file, useLOAD DATA INFILE ...
to restore itLOAD DATA INFILE ...
- Call
mysqldump
viasystem()
orshell_exec()
Both options with code examples are discussed in this article .
|
Such a function does not exist, use various utilities, for example: mysqldump, phpmyadmin or any other utility.
|