Description Usage Arguments Details Value
This function calls mysqldump
on a database connection described in a
cnf file. Consider reading the
documentation
of mysqldump.
1 | dump_database(cnf_file, backup_dir, db_name = "l2t")
|
cnf_file |
a MySQL config file |
backup_dir |
location where to save the backed up table |
db_name |
the name of the database to connect to. Defaults to "l2t". |
The command-line call uses the --single-transaction
flag because it
doesn't need LOCKED TABLES privilege.
Nothing. Information about the dump output is printed to the console
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.