DevOp - consultant - artisan

Qualité, amélioration continue, agilité, professionnalisme.

Un besoin ? Un projet ? Écrivez moi !

Using mylvmbackup, debian 9 with mariadb

Spread the love

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

mycnf=/etc/mysql/my.cnf

But it is a symlink pointing to :

/etc/alternatives/my.cnf

And mylvmbackup can’t work with that:

Could not copy /etc/mysql/my.cnf to /var/cache/mylvmbackup/mnt/backup-cnf-20171025_151739_mysql: File exists

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= ):

mycnf=/etc/mysql/mariadb.cnf

Done ! Now mylvmbackup stop complaining 🙂

 

 

Leave a reply

Your email address will not be published.