项目作者: jkfer

项目描述 :
Database restore to MySQL server on remote host using Ansible
高级语言:
项目地址: git://github.com/jkfer/ansible-database-restore.git
创建时间: 2019-06-11T22:26:29Z
项目社区:https://github.com/jkfer/ansible-database-restore

开源协议:

下载


Restoring DB to a remote host and providing specific user defined access

Files:

mysql_handle.yml

  • Define variables ‘db_name’, ‘restore_db’ and ‘client’ in the variable section.
  • DB is restored as root user and all permissions for the db is provided to user joseph

birdwatchers.sql

  • This is the sample backup database that is going to be restored.

Assumptions:

  • Remote host does not have mysql installed or configured.