Artisan Développeur

Qualité, amélioration continue, agilité.

Using mylvmbackup, debian 9 with mariadb

If you run mylvmbackup with mariadb on debian9 with the defaults values, you will have this:

[pastacode lang= »bash » manual= »mycnf%3D%2Fetc%2Fmysql%2Fmy.cnf » message= » » highlight= » » provider= »manual »/]

But it is a symlink pointing to :

[pastacode lang= »bash » manual= »%2Fetc%2Falternatives%2Fmy.cnf » message= » » highlight= » » provider= »manual »/]

And mylvmbackup can’t work with that:

[pastacode lang= »bash » manual= »Could%20not%20copy%20%2Fetc%2Fmysql%2Fmy.cnf%20to%20%2Fvar%2Fcache%2Fmylvmbackup%2Fmnt%2Fbackup-cnf-20171025_151739_mysql%3A%20File%20exists » message= » » highlight= » » provider= »manual »/]

Here is a bug report mylvmbackup symlink my.cnf

 

You just need to setup the mycnf as follow, in the /etc/mylvmbackup.conf or directly in the command line (with –mycnf= ):

[pastacode lang= »bash » manual= »mycnf%3D%2Fetc%2Fmysql%2Fmariadb.cnf » message= » » highlight= » » provider= »manual »/]

Done ! Now mylvmbackup stop complaining 🙂

 

 

Leave a reply

Your email address will not be published.

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.