sunetdrive/templates/mariadb_backup/02-backup_user.sql.erb

3 lines
248 B
Plaintext
Raw Normal View History

2023-02-13 09:44:56 +00:00
CREATE USER 'backup'@'localhost' IDENTIFIED BY '<%= @backup_password %>';
GRANT SELECT, INSERT, CREATE, RELOAD, PROCESS, SUPER, LOCK TABLES, REPLICATION SLAVE, REPLICATION CLIENT, SHOW VIEW, EVENT, CREATE TABLESPACE ON *.* TO 'backup'@'localhost';