Subject, is there such?

    2 answers 2

    Omniscient Google on the move offers a lot of options :) There are two main approaches (software):

    1. Reserve each table separately, performing a SELECT * ... query SELECT * ... and saving the result to a file, use LOAD DATA INFILE ... to restore it LOAD DATA INFILE ...
    2. Call mysqldump via system() or shell_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.