mysqlrestore_host | R Documentation |
restore an entire db system or several db-s
mysqlrestore_host(
cnf = config::get(),
backup,
wipe = FALSE,
restore_users = FALSE,
parallel = TRUE,
exclude,
host_is_set = FALSE
)
cnf |
configuration variables are obtained from an external file config file. default to config::get(). |
backup |
path to backup dir. if missing the last backup is used. |
restore_users |
restore mysql.user table |
parallel |
default to TRUE |
exclude |
db to exclude from restoring |
host_is_set |
default to FALSE |
... |
further options passed to mysqlrestore |
## Not run:
require(dup)
Sys.setenv(R_CONFIG_ACTIVE = "localhost")
mysqlrestore_host()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.