-
Notifications
You must be signed in to change notification settings - Fork 0
Task: Mysql
Jérôme Quéré edited this page Aug 14, 2015
·
2 revisions
This task use mysqldump command to backup mysql database. Each database will create a separate item on the storage named after the database name.
-
HOST: (optional) (default: "localhost")
The mysql server hostname -
PORT: (optional) (default: "3306")
The mysql server port - USER: (optional) (default: "root") The admin mysql user
-
PASSWORD: (optional) (default: "")
The mysql password -
DUMP_OPTS: (optional) (default: "--opts")
A list of options that will be passed to the mysqldump. -
DATABASE: (optional) (default: "__ALL__")
A list of database names separated by space that will be dump. If the value is __ALL__ the task will list database present on the server using aSHOW DATABASE
a dump them all.
IB_TASK_mysql_TYPE="mysql"
IB_TASK_mysql_USER="root"
IB_TASK_mysql_PASSWORD="password"
IB_TASK_mysql_DUMP_OPTS="--opt"
IB_TASK_mysql_DATABASES="my-database"
IB_TASK_mysql_STORAGE="myStorage"
Made with love by Indigen.